/* CódigoQR Maestro - Modern Red & Yellow Theme */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.logo {
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.brand-text {
    background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.nav-link {
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.12);
    font-weight: 700;
}

.nav-link.active::before {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

.nav-toggle:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    margin: 2.5px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle:hover span {
    background: linear-gradient(135deg, #1e40af, #7c3aed);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
    animation: parallaxFloat 25s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    animation: slideUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.15));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 60px;
    padding: 1rem 2rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
    animation: scaleIn 0.8s ease-out 0.2s both;
    transition: all 0.3s ease;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    animation: slideUp 1s ease-out 0.3s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06d6a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.title-main {
    display: block;
    color: white;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 1s ease-out 0.4s both;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle strong {
    color: #fbbf24;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4.5rem;
    animation: slideUp 1s ease-out 0.5s both;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 1;
    animation: slideUp 1s ease-out 0.6s both;
    padding: 0 1rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.feature-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero-actions {
     display: flex;
     justify-content: center;
     gap: 2rem;
     flex-wrap: wrap;
     animation: slideUp 1s ease-out 0.7s both;
     padding: 0 2rem;
 }
 
 .button-text {
     position: relative;
     z-index: 2;
 }
 
 .button-icon {
     width: 20px;
     height: 20px;
     transition: transform 0.3s ease;
     position: relative;
     z-index: 2;
 }
 
 .cta-button:hover .button-icon {
     transform: translateX(4px);
 }
 
 .feature-icon-wrapper {
     width: 72px;
     height: 72px;
     margin: 0 auto 2rem;
     background: linear-gradient(135deg, #3b82f6, #8b5cf6);
     border-radius: 24px;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
     transition: all 0.4s ease;
     border: 2px solid rgba(255, 255, 255, 0.1);
 }
 
 .feature-item:hover .feature-icon-wrapper {
     transform: scale(1.15) rotate(8deg);
     box-shadow: 0 16px 45px rgba(59, 130, 246, 0.5);
     border-color: rgba(255, 255, 255, 0.3);
 }
 
 .feature-content {
     position: relative;
     z-index: 2;
 }
 
 .feature-desc {
     color: rgba(255, 255, 255, 0.8);
     line-height: 1.6;
     font-size: 0.95rem;
 }

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06d6a0 100%);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    animation: none;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px) scale(1.08);
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Generator Section */
.generator-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.generator-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.input-panel, .preview-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.input-panel::before, .preview-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c, #991b1b);
}

.input-panel:hover, .preview-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.panel-header {
    margin-bottom: 2.5rem;
    padding-top: 0.5rem;
}

.panel-header h3 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.panel-header p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

#qr-data {
    width: 100%;
    min-height: 160px;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Fira Code', 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    font-size: 0.9rem;
    resize: vertical;
    transition: all 0.3s ease;
    background: #fafbfc;
    line-height: 1.6;
}

#qr-data:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    background: #ffffff;
    transform: translateY(-1px);
}

.input-actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: scale(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #f8fafc;
    color: #374151;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
}

/* Tabs */
.settings-tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #f3f4f6;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.setting-group {
    margin-bottom: 1.5rem;
}

.setting-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.setting-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.setting-group select:focus {
    outline: none;
    border-color: #3b82f6;
}

.range-input {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.range-input input[type="range"] {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.range-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

.range-value {
    font-weight: 600;
    color: #3b82f6;
    min-width: 60px;
    text-align: right;
}

.color-input {
    display: flex;
    gap: 0.5rem;
}

.color-input input[type="color"] {
    width: 50px;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.color-input input[type="text"] {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: monospace;
}

/* Preview Panel */
.preview-container {
    text-align: center;
    margin-bottom: 2rem;
}

.preview-qr {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.preview-text {
    color: #6b7280;
    font-size: 0.9rem;
}

.preview-info {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* Content Templates */
.content-template {
    margin-top: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.template-field {
    margin-bottom: 1.25rem;
}

.template-field:last-child {
    margin-bottom: 0;
}

.template-field label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.template-field input,
.template-field textarea,
.template-field select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.template-field input:focus,
.template-field textarea:focus,
.template-field select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.template-field textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
}

.template-field input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    transform: scale(1.1);
}

.template-field label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

#qr-type {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

#qr-type:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #6b7280;
    font-weight: 500;
}

/* Results Section */
.results-section {
    padding: 80px 0;
    background: #f9fafb;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.results-actions {
    display: flex;
    gap: 1rem;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.qr-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-item:hover {
    transform: translateY(-2px);
}

.qr-item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.qr-item-content {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 1rem;
    word-break: break-all;
}

.qr-item-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-card .feature-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f9fafb;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #22c55e;
    display: block;
}

.stat-label {
    color: #6b7280;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    pointer-events: none;
}

.pricing-section .section-title {
    color: #1f2937;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.pricing-section .section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1f2937;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #3b82f6;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.popular {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.03));
    border: 2px solid #3b82f6;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.pricing-card.best-value {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.03));
    border: 2px solid #f59e0b;
}

.popular-badge,
.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.popular-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.best-value-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.pricing-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1f2937;
    letter-spacing: -0.02em;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0.25rem;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.savings {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:hover {
    color: #1f2937;
    transform: translateX(5px);
}

.pricing-features li::before {
    content: '✓';
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 800;
    margin-right: 1rem;
    font-size: 0.875rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pricing-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 1rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.pricing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.pricing-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.pricing-btn:hover::before {
    left: 100%;
}

.pricing-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.pricing-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.pricing-btn.primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.pricing-note {
    text-align: center;
    margin-top: 30px;
}

.pricing-note p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22c55e;
}

.footer-text {
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.preview-example {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #22c55e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .generator-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 80px;
        min-height: 90vh;
    }
    
    .hero-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 3.25rem;
        margin-bottom: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        gap: 2.5rem;
        margin-bottom: 3.5rem;
        padding: 0 1rem;
    }
    
    .stat-item {
        padding: 1.25rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3.5rem;
        padding: 0 1rem;
    }
    
    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon-wrapper {
        width: 64px;
        height: 64px;
        margin-bottom: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-desc {
        font-size: 0.875rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1.25rem 2.5rem;
    }
    
    .generator-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 3rem;
    }
    
    .generator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .input-panel, .preview-panel {
        padding: 2rem;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .results-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .pricing-card {
        margin: 0 auto;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-section .section-title {
        font-size: 2.25rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .currency {
        font-size: 1.25rem;
    }
    
    .period {
        font-size: 1rem;
    }
    
    .pricing-btn {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-badge {
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }
    
    .badge-icon {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.75rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
        padding: 0 0.5rem;
    }
    
    .stat-item {
        padding: 1rem;
        min-width: 90px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }
    
    .feature-item {
        padding: 1.75rem 1.25rem;
    }
    
    .feature-icon-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
        border-radius: 18px;
    }
    
    .feature-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .cta-button {
        padding: 1.125rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        border-radius: 50px;
    }
    
    .button-icon {
        width: 18px;
        height: 18px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .input-panel, .preview-panel {
        padding: 1.75rem;
        border-radius: 16px;
    }
    
    .panel-header h3 {
        font-size: 1.375rem;
    }
    
    #qr-data {
        min-height: 140px;
        padding: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .input-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .qr-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Enhanced Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth scrolling improvements */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Focus improvements for accessibility */
*:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection styling */
::selection {
    background: rgba(59, 130, 246, 0.2);
    color: #1f2937;
}

/* Improved loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Enhanced hover effects for interactive elements */
a, button, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle parallax effect for hero background */
@media (prefers-reduced-motion: no-preference) {
    .hero::before {
        animation: float 6s ease-in-out infinite;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}