/* ❤️myPDF.AI - Main Stylesheet */

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E5E5;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    padding: 16px 48px;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-nav a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-nav a:hover {
    color: #000;
}

.navbar-cta {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.navbar-cta:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #E5E5E5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
}

.mobile-menu-nav a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #F8F8F8;
}

.mobile-menu-nav a:hover {
    color: #000;
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 16px 24px;
    }

    .navbar-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Floating Documents Animation */
.floating-docs {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 80px;
    white-space: nowrap;
    will-change: transform;
}

.floating-docs.row-1 {
    top: 8%;
    animation: moveLeft 40s linear infinite;
    animation-delay: 0s;
}

.floating-docs.row-2 {
    top: 22%;
    animation: moveRight 45s linear infinite;
    animation-delay: -10s;
}

.floating-docs.row-3 {
    top: 36%;
    animation: moveLeft 35s linear infinite;
    animation-delay: -20s;
}

.floating-docs.row-4 {
    top: 50%;
    animation: moveRight 50s linear infinite;
    animation-delay: -15s;
}

.floating-docs.row-5 {
    top: 64%;
    animation: moveLeft 42s linear infinite;
    animation-delay: -5s;
}

.floating-docs.row-6 {
    top: 78%;
    animation: moveRight 38s linear infinite;
    animation-delay: -25s;
}

.floating-docs.row-7 {
    top: 92%;
    animation: moveLeft 48s linear infinite;
    animation-delay: -12s;
}

.doc-icon {
    width: 45px;
    height: 55px;
    flex-shrink: 0;
    opacity: 1;
    stroke-width: 1.2;
    filter: blur(0px);
    transition: all 0.3s ease;
}

.doc-icon:nth-child(odd) {
    opacity: 0.8;
    transform: rotate(5deg);
}

.doc-icon:nth-child(even) {
    opacity: 1;
    transform: rotate(-3deg);
}

@keyframes moveLeft {
    0% {
        transform: translateX(120vw) rotate(0deg);
    }
    50% {
        transform: translateX(10vw) rotate(2deg);
    }
    100% {
        transform: translateX(-120vw) rotate(-2deg);
    }
}

@keyframes moveRight {
    0% {
        transform: translateX(-120vw) rotate(0deg);
    }
    50% {
        transform: translateX(-10vw) rotate(-2deg);
    }
    100% {
        transform: translateX(120vw) rotate(2deg);
    }
}

/* Floating Papers */
.floating-paper {
    position: absolute;
    opacity: 0.3;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

.paper-1 {
    top: 15%;
    left: -100px;
    animation: floatAcross 60s linear infinite;
    animation-delay: -5s;
}

.paper-2 {
    top: 45%;
    right: -100px;
    animation: floatAcrossReverse 55s linear infinite;
    animation-delay: -15s;
}

.paper-3 {
    top: 75%;
    left: -100px;
    animation: floatAcross 65s linear infinite;
    animation-delay: -30s;
}

@keyframes floatAcross {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateX(25vw) translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateX(50vw) translateY(10px) rotate(-3deg);
    }
    75% {
        transform: translateX(75vw) translateY(-15px) rotate(2deg);
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(0px) rotate(0deg);
    }
}

@keyframes floatAcrossReverse {
    0% {
        transform: translateX(100px) translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateX(-25vw) translateY(15px) rotate(-5deg);
    }
    50% {
        transform: translateX(-50vw) translateY(-10px) rotate(3deg);
    }
    75% {
        transform: translateX(-75vw) translateY(20px) rotate(-2deg);
    }
    100% {
        transform: translateX(calc(-100vw - 100px)) translateY(0px) rotate(0deg);
    }
}

/* Hero Content */
.hero .container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    max-width: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 48px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 48px;
    max-width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.cta-primary {
    background: #000;
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.hero-note {
    font-size: 14px;
    color: #999;
    margin-top: 16px;
    text-align: center;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 48px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features {
    padding: 96px 0;
    background: #F8F8F8;
}

.features h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.feature-card {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card p {
    color: #666;
    font-size: 16px;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */

.calculator {
    padding: 96px 0;
    background: #F8F8F8;
}

.calculator h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}

.calculator .subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-widget {
    max-width: 700px;
    margin: 0 auto;
    padding: 64px 48px;
    background: #fff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E5E5;
    position: relative;
    overflow: hidden;
}

.calculator-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000 0%, #333 100%);
}

.calculator-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #000;
}

.slider-container {
    margin: 32px 0;
    position: relative;
}

.price-slider {
    width: 100%;
    height: 2px;
    background: #E5E5E5;
    border-radius: 1px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.slider-value {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    color: #000;
}

.price-display {
    font-size: 48px;
    font-weight: 800;
    margin: 40px 0 16px;
    color: #000;
}

.savings-display {
    font-size: 18px;
    color: #16A34A;
    margin-bottom: 40px;
    min-height: 24px;
    font-weight: 600;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #16A34A, #15803D);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enterprise Card */
.enterprise-card {
    max-width: 700px;
    margin: 48px auto 0;
    padding: 48px 32px;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.enterprise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    pointer-events: none;
}

.enterprise-card-content {
    position: relative;
    z-index: 2;
}

.enterprise-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enterprise-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.enterprise-card p {
    color: #D1D5DB;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.enterprise-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.enterprise-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #D1D5DB;
    font-size: 14px;
}

.enterprise-feature-icon {
    width: 20px;
    height: 20px;
    color: #10B981;
    flex-shrink: 0;
}

.enterprise-cta {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.enterprise-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .enterprise-card {
        margin: 32px auto 0;
        padding: 32px 24px;
    }
    
    .enterprise-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works {
    padding: 96px 0;
    background: #F8F8F8;
}

.how-it-works h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 64px;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-step {
    text-align: center;
    flex: 1;
}

.step-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    line-height: 48px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.timeline-arrow {
    font-size: 24px;
    color: #ccc;
}

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        gap: 32px;
    }
    .timeline-arrow {
        transform: rotate(90deg);
    }
}

/* ==========================================================================
   HOW TO BUY SECTION
   ========================================================================== */

.how-to-buy {
    padding: 96px 0;
    background: #fff;
}

.how-to-buy h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.how-to-buy .subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.buy-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.buy-step {
    text-align: center;
    padding: 48px 32px;
    background: #F8F8F8;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.buy-step:hover {
    transform: translateY(-8px);
    border-color: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.buy-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.buy-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #000;
}

.buy-step h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.buy-step p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.buy-step-details {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 24px;
    border-left: 4px solid #000;
}

.buy-step-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.buy-step-details p {
    margin: 0;
    font-size: 14px;
}

/* Token Highlight */
.token-highlight {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.token-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.token-highlight h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.token-highlight p {
    color: #E5E5E5;
    margin-bottom: 24px;
    font-size: 16px;
}

.token-example {
    background: #111;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    color: #00FF88;
    margin-top: 16px;
    border: 1px solid #333;
}

@media (max-width: 768px) {
    .buy-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .buy-step {
        padding: 32px 24px;
    }
    
    .token-highlight {
        padding: 24px;
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
    padding: 96px 0;
}

.about h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.about .subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
}

.about-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-highlight {
    background: #F8F8F8;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #000;
}

.about-highlight h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-highlight p {
    color: #666;
    margin: 0;
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.api-feature {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.api-feature:hover {
    border-color: #000;
    transform: translateY(-4px);
}

.api-feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: #000;
}

.api-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.api-feature p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   INTEGRATIONS SECTION
   ========================================================================== */

.integrations {
    padding: 96px 0;
    overflow: hidden;
}

.integrations h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 64px;
}

.logos-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.logos-carousel {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scrollLeft 30s linear infinite;
    width: max-content;
}

.logos-carousel:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logos-carousel-duplicate {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scrollLeft 30s linear infinite;
    width: max-content;
    position: absolute;
    top: 0;
    left: 100%;
}

@media (max-width: 768px) {
    .logos-carousel {
        gap: 60px;
        animation-duration: 25s;
    }
    
    .logos-carousel-duplicate {
        gap: 60px;
        animation-duration: 25s;
    }
    
    .logo-item {
        width: 100px;
        height: 50px;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq {
    padding: 96px 0;
    background: #F8F8F8;
}

.faq h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 64px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #F8F8F8;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta {
    padding: 96px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: #000;
    color: #fff;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-brand {
    grid-column: 1;
}

.footer-brand .logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.footer-brand p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 8px;
    color: #999;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #555;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .contact-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #F5F5F5;
    color: #000;
}

.modal-header {
    margin-bottom: 32px;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.modal-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
    font-size: 14px;
}

.form-label.required::after {
    content: ' *';
    color: #EF4444;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #fff;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #000;
}

.form-input.error, .form-textarea.error {
    border-color: #EF4444;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #EF4444;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.form-submit {
    background: #000;
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.form-submit:hover {
    background: #333;
    transform: translateY(-1px);
}

.form-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    background: #10B981;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 24px;
    display: none;
}

@media (max-width: 768px) {
    .contact-modal {
        padding: 32px 24px;
        margin: 20px;
        width: calc(100% - 40px);
    }

    .modal-header h3 {
        font-size: 24px;
    }
}

/* ==========================================================================
   SUBSCRIPTION MODAL
   ========================================================================== */

.subscription-modal {
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.price-summary {
    background: #F8F8F8;
    padding: 20px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid #000;
}

.price-breakdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.price-amount {
    font-size: 24px;
    font-weight: 800;
    color: #000;
}

.payment-btn {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.payment-btn:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.payment-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.payment-icon {
    width: 20px;
    height: 20px;
}

.stripe-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #666;
}

.stripe-logo {
    height: 20px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.stripe-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .subscription-modal {
        padding: 32px 24px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .price-breakdown {
        font-size: 16px;
    }
    
    .price-amount {
        font-size: 20px;
    }
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}