/* ============================================
   AINZ WEB DESIGN — Dark premium theme
   ============================================ */

:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --border: #2a2a2a;
    --border-light: #333333;
    --text: #f5f5f5;
    --text-dim: #a0a0a0;
    --text-muted: #707070;
    --gold: #d4af37;
    --gold-bright: #f0c850;
    --gold-dark: #a8862a;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.15);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.1em;
}

.logo-mark {
    color: var(--gold);
    font-size: 20px;
    text-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: var(--bg) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--gold-bright) !important;
    color: var(--bg) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ============================================
   Hero
   ============================================ */

.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gold {
    color: var(--gold);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-subtitle strong {
    color: var(--gold);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-head p {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Services
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-dim);
    font-size: 15px;
}

/* ============================================
   Pricing
   ============================================ */

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.pricing-featured {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, var(--bg-card) 100%);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.pricing-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}

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

.pricing-features li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    margin-right: 8px;
}

.pricing-note {
    text-align: center;
    color: var(--text-dim);
    font-size: 15px;
    margin-top: 24px;
}

/* ============================================
   Examples
   ============================================ */

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

.example-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.example-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.example-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-card) 100%);
    justify-content: center;
}

.example-mock {
    background: #1a1a1a;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 8px;
    flex: 1;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-after {
    background: #1f1810;
    border-color: var(--gold-dark);
}

.mock-bar {
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin-bottom: 4px;
}

.mock-bar.gold {
    background: var(--gold);
}

.mock-line {
    height: 3px;
    background: #2a2a2a;
    border-radius: 2px;
}

.mock-line.gold {
    background: var(--gold-dark);
}

.w40 { width: 40%; }
.w50 { width: 50%; }
.w70 { width: 70%; }
.w90 { width: 90%; }

.example-arrow {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
}

.example-info {
    padding: 24px;
}

.example-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.example-info p {
    color: var(--text-dim);
    font-size: 14px;
}

/* ============================================
   Process
   ============================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-step {
    text-align: center;
}

.process-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-dim);
    font-size: 14px;
}

/* ============================================
   About
   ============================================ */

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

.about-icon {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 24px rgba(212, 175, 55, 0.4);
}

.about h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about p {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-meta {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 15px;
}

.about-meta a {
    color: var(--gold);
    transition: var(--transition);
}

.about-meta a:hover {
    color: var(--gold-bright);
}

/* ============================================
   CTA section
   ============================================ */

.section-cta {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   Fade-in animation
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ============================================
   Demo (Maison Verte live link)
   ============================================ */

.demo-cta {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
}

.demo-cta:hover {
    border-color: var(--gold);
}

.demo-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.demo-info p {
    color: var(--text-dim);
    margin-bottom: 8px;
    line-height: 1.7;
}

.demo-tech {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 24px;
}

.demo-tech h4 {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.demo-tech ul {
    list-style: none;
}

.demo-tech li {
    color: var(--text-dim);
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.demo-tech li:last-child {
    border-bottom: none;
}

.demo-tech li::before {
    content: "→";
    color: var(--gold);
    margin-right: 8px;
}

@media (max-width: 768px) {
    .demo-cta {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* ============================================
   Mobile responsive
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 140px 0 80px;
    }

    .section {
        padding: 64px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-num {
        font-size: 22px;
    }

    .about-meta {
        gap: 16px;
        flex-direction: column;
    }

    .footer-links {
        gap: 20px;
    }
}