/* ========================================
   AdCreativeLab.tech - Liquid Glass Design
   ======================================== */

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* AdTech Color Palette */
    --color-orange-start: #FF6B35;
    --color-orange-end: #FF8C42;
    --color-purple-start: #8B5CF6;
    --color-purple-end: #A78BFA;
    --color-dark: #0A0E27;
    --color-dark-secondary: #141933;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
    
    /* Radii - Only 2 values allowed */
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-dark);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== Container ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Background Shapes ========== */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--color-purple-start), var(--color-purple-end));
    top: 50%;
    right: -150px;
    animation-delay: 7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-orange-end), var(--color-purple-start));
    bottom: -100px;
    left: 30%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* ========== Navigation ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: #ffffff;
}

.cta-button-nav {
    padding: 12px 24px !important;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end)) !important;
    border-radius: var(--radius-2xl) !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-purple-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.cta-button {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-2xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.cta-primary {
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.5);
}

.cta-secondary {
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #ffffff;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-purple-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* ========== Section Headers ========== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== Features Section ========== */
.features {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-orange-start);
}

/* ========== How It Works Section ========== */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--color-dark-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.step-card {
    position: relative;
    padding: 48px 32px;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-purple-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.3;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.step-icon {
    font-size: 64px;
    text-align: right;
}

/* ========== Use Cases Section ========== */
.use-cases {
    padding: var(--section-padding) 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.use-case-card {
    padding: 40px;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.12);
}

.use-case-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.use-case-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.use-case-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.use-case-benefit {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

/* ========== Pricing Section ========== */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--color-dark-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: start;
}

.pricing-card {
    padding: 48px 32px;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border: 2px solid var(--color-orange-start);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.3);
}

.pricing-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-badge.featured {
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
}

.pricing-price {
    margin-bottom: 16px;
}

.currency {
    font-size: 32px;
    font-weight: 700;
    vertical-align: super;
}

.amount {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-purple-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
}

.pricing-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-2xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

/* ========== CTA Section ========== */
.cta-section {
    padding: var(--section-padding) 0;
}

.cta-content {
    text-align: center;
    padding: 80px 40px;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-form {
    display: flex;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto 24px;
}

.cta-input {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    color: #ffffff;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-orange-start);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== Footer ========== */
.footer {
    padding: 80px 0 40px;
    background: var(--color-dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== Modal ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 500px;
    padding: 60px 40px;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.modal-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.modal-button {
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    color: #ffffff;
    border: none;
    border-radius: var(--radius-2xl);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

/* ========== Animations ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive Design ========== */
@media (max-width: 968px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        width: 100%;
        padding: 40px 24px;
        backdrop-filter: blur(var(--glass-blur)) saturate(180%) brightness(120%);
        background: var(--glass-bg);
        border-bottom: 1px solid var(--glass-border);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .amount {
        font-size: 56px;
    }
}
