/* ═══════════════════════════════════════════════
   ELECTRIC LETTER – MAIN STYLES
   Dark mode default · Light mode toggle
═══════════════════════════════════════════════ */

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

/* ── Design Tokens (always-fixed) ─────────── */
:root {
    --primary:       #FF6B9D;
    --primary-dark:  #E85784;
    --secondary:     #FFB3D9;
    --gradient:      linear-gradient(135deg, #FF6B9D 0%, #FF8E53 100%);
}

/* ── DARK MODE (default) ─────────────────── */
body.dark {
    --bg:           #1e1e1e;
    --card-bg:      #252525;
    --surface:      #2e2e2e;
    --nav-bg:       rgba(30, 30, 30, 0.97);
    --footer-bg:    #141414;
    --footer-text:  #cccccc;
    --footer-muted: rgba(255,255,255,0.4);
    --footer-border:rgba(255,255,255,0.08);
    --text:         #e2e2e2;
    --text-light:   #909090;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow:       0 10px 40px rgba(0,0,0,0.40);
    --shadow-lg:    0 20px 60px rgba(0,0,0,0.55);
    --accent:       #252525;
    --circle-color: #888888;
}

/* ── LIGHT MODE ──────────────────────────── */
body.light {
    --bg:           #FFFFFF;
    --card-bg:      #FFFFFF;
    --surface:      #FFF0F6;
    --nav-bg:       rgba(255, 255, 255, 0.95);
    --footer-bg:    #1a1a2e;
    --footer-text:  #ffffff;
    --footer-muted: rgba(255,255,255,0.5);
    --footer-border:rgba(255,255,255,0.08);
    --text:         #2d3748;
    --text-light:   #718096;
    --border-color: rgba(255, 107, 157, 0.15);
    --shadow:       0 10px 40px rgba(255,107,157,0.15);
    --shadow-lg:    0 20px 60px rgba(255,107,157,0.2);
    --accent:       #FFF0F6;
    --circle-color: #FF6B9D;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.main-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.35s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.nav-brand {
    font-size: 1rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}
.nav-tagline {
    font-size: 0.68rem;
    color: var(--text-light);
    white-space: nowrap;
    display: none;
}
@media (min-width: 640px) { .nav-tagline { display: block; } }

/* Desktop Links */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-link {
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.nav-link:hover { color: var(--primary); background: rgba(255,107,157,0.08); }
.nav-link.active { color: var(--primary); background: rgba(255,107,157,0.12); font-weight: 600; }

/* Right Controls */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Language Dropdown */
.lang-dropdown-wrapper {
    position: relative;
}
.lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.lang-trigger:hover { border-color: var(--primary); color: var(--primary); }
.lang-chevron {
    font-size: 0.65rem;
    transition: transform 0.25s;
    color: var(--text-light);
}
.lang-dropdown-wrapper.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 999;
}
.lang-dropdown-wrapper.open .lang-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}
.lang-option:hover { background: rgba(255,107,157,0.1); color: var(--primary); }
.lang-option.active { background: rgba(255,107,157,0.15); color: var(--primary); font-weight: 700; }

/* Mode Toggle */
.mode-toggle-nav {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mode-toggle-nav:hover { border-color: var(--primary); color: var(--primary); }

/* CTA */
.nav-cta {
    display: none;
    padding: 0.5rem 1.1rem;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
@media (min-width: 640px) { .nav-cta { display: inline-block; } }

/* Hamburger */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 7px;
    transition: border-color 0.2s;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger:hover { border-color: var(--primary); }
@media (min-width: 900px) { .nav-hamburger { display: none; } }

/* Mobile Menu */
.nav-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px solid var(--border-color);
    gap: 0.25rem;
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}
.nav-mobile-link:hover { color: var(--primary); background: rgba(255,107,157,0.08); }
.nav-mobile-cta {
    margin-top: 0.4rem;
    background: var(--gradient);
    color: white !important;
    text-align: center;
    font-weight: 700;
}
.nav-mobile-cta:hover { opacity: 0.88; background: var(--gradient); }

/* Mobile Language Row */
.mobile-lang-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}
.mobile-lang-btn {
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.mobile-lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.mobile-lang-btn.active { background: var(--gradient); color: white; border-color: transparent; }

/* ══════════════════════════════════════════
   FLOATING BACKGROUND DECORATION
══════════════════════════════════════════ */
.bg-decoration {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.float-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.22;
    animation: float 20s infinite ease-in-out;
}
body.light .float-circle { opacity: 0.12; }
.circle-1 { width:300px; height:300px; background:var(--circle-color); top:-100px; left:-100px; animation-delay:0s; }
.circle-2 { width:200px; height:200px; background:var(--circle-color); top:40%; right:-50px; animation-delay:5s; }
.circle-3 { width:250px; height:250px; background:var(--circle-color); bottom:-100px; left:20%; animation-delay:10s; }
@keyframes float {
    0%,100% { transform:translateY(0) rotate(0deg); }
    50%      { transform:translateY(-30px) rotate(180deg); }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text);
}
.hero-content h2 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p { font-size: 1rem; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.7; }
.cta-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary { background: var(--gradient); color: white; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--card-bg); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: rgba(255,107,157,0.08); transform: translateY(-2px); }

/* Hero Image */
.hero-image { position:relative; border-radius:20px; overflow:hidden; box-shadow:var(--shadow-lg); height:280px; width:100%; }
.image-slider { position:relative; width:100%; height:100%; }
.slide { position:absolute; width:100%; height:100%; opacity:0; transition:opacity 1s ease-in-out; }
.slide.active { opacity:1; }
.slide img { width:100%; height:100%; object-fit:cover; }
.slider-dots { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:6px; z-index:10; }
.dot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.5); cursor:pointer; transition:all .3s; }
.dot.active { background:white; width:24px; border-radius:4px; }

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.features { padding:3rem 1.5rem; background:var(--accent); }
.features-content { max-width:1200px; margin:0 auto; }
.section-title { text-align:center; font-size:1.75rem; font-weight:800; margin-bottom:2rem; color:var(--text); }
.features-grid { display:grid; grid-template-columns:1fr; gap:1.25rem; }
.feature-card { background:var(--card-bg); padding:1.5rem; border-radius:16px; box-shadow:var(--shadow); transition:all .3s; border:1px solid var(--border-color); }
.feature-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.feature-icon { font-size:2.5rem; margin-bottom:.75rem; }
.feature-card h3 { font-size:1.1rem; margin-bottom:.5rem; color:var(--text); }
.feature-card p { color:var(--text-light); line-height:1.6; font-size:.95rem; }

/* ══════════════════════════════════════════
   PRICING — CAPABILITIES (no prices)
══════════════════════════════════════════ */
.pricing { padding:3rem 1.5rem; max-width:1200px; margin:0 auto; }
.section-subtitle { text-align:center; color:var(--text-light); font-size:.95rem; margin-top:-.75rem; margin-bottom:2rem; line-height:1.6; }

.pricing-grid { display:grid; grid-template-columns:1fr; gap:1.5rem; margin-top:2rem; }

.tier-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all .3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.tier-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.tier-card.featured {
    background: var(--gradient);
    border-color: transparent;
}
.tier-card.featured .tier-name,
.tier-card.featured .tier-desc,
.tier-card.featured .tier-features li { color: white; }
.tier-card.featured .tier-features li::before { color: rgba(255,255,255,.8); }

.tier-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: #FFD700;
    color: #1a1a2e;
    padding: .35rem .8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .04em;
}
.tier-icon { font-size: 2.25rem; margin-bottom: .6rem; }
.tier-name { font-size: 1.35rem; font-weight: 800; margin-bottom: .35rem; color: var(--text); }
.tier-desc { font-size: .88rem; color: var(--text-light); margin-bottom: 1.25rem; }
.tier-features { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.tier-features li {
    padding: .35rem 0;
    color: var(--text-light);
    font-size: .9rem;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.tier-features li::before { content:"✓"; color:var(--primary); font-weight:700; flex-shrink:0; }

.tier-cta {
    display: block;
    text-align: center;
    padding: .75rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: all .25s;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    margin-top: auto;
}
.tier-cta:hover { opacity: .85; transform: translateY(-2px); }
.tier-card.featured .tier-cta {
    background: white;
    color: var(--primary);
}
.tier-cta-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.tier-cta-outline:hover { background: rgba(255,107,157,.08); }

/* Pricing notice box */
.pricing-notice {
    margin: 2rem 0 0;
    padding: 1.5rem 1.75rem;
    background: var(--card-bg);
    border: 1px dashed var(--primary);
    border-radius: 16px;
    text-align: center;
}
.pricing-notice p { color: var(--text-light); font-size: .95rem; margin-bottom: 1rem; }
.pricing-notice-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.notice-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    transition: all .2s;
}
.notice-link:hover { border-color: var(--primary); color: var(--primary); background: rgba(255,107,157,.06); }
.notice-link i { font-size: 1rem; }

/* Promo Box */
.promo-box {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}
.promo-box h4 { font-size: 1.2rem; margin-bottom: .5rem; color: var(--text); }
.promo-box p { color: var(--text-light); font-size: .95rem; }
.promo-box strong { color: var(--primary); }

/* ══════════════════════════════════════════
   VIDEO SHOWCASE
══════════════════════════════════════════ */
.video-showcase { padding:3rem 1.5rem; background:var(--accent); overflow:hidden; }
.video-showcase-content { max-width:1200px; margin:0 auto; }
.video-carousel-wrapper { overflow:hidden; margin-top:1.5rem; cursor:grab; }
.video-carousel-wrapper:active { cursor:grabbing; }
.video-carousel { display:flex; gap:1.5rem; }
.video-item { min-width:300px; width:300px; flex-shrink:0; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); cursor:pointer; transition:transform .3s,box-shadow .3s; position:relative; user-select:none; }
.video-item:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.video-item video { width:100%; height:400px; object-fit:cover; display:block; pointer-events:none; }
.video-overlay { position:absolute; inset:0; background:rgba(0,0,0,.4); display:flex; align-items:center; justify-content:center; color:white; font-size:3rem; transition:all .3s; pointer-events:none; }
.video-item:hover .video-overlay { background:rgba(0,0,0,.6); }

/* ══════════════════════════════════════════
   TEMPLATE 3D CAROUSEL
══════════════════════════════════════════ */
.template-showcase { padding:4rem 1.5rem; background:var(--accent); overflow:hidden; }
.template-showcase-content { max-width:1200px; margin:0 auto; text-align:center; }
.template-banner { position:relative; width:100%; height:400px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.template-slider { position:relative; width:120px; height:200px; margin-top:-50px; transform-style:preserve-3d; transform:perspective(1000px) rotateX(-17deg) rotateY(0deg); animation:templateAutoRun 25s linear infinite; cursor:grab; }
.template-slider:active { cursor:grabbing; animation-play-state:paused; }
.template-slider .template-item { position:absolute; inset:0; transform:rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(200px); overflow:hidden; transition:filter .3s,transform .3s; }
.template-slider .template-item img { width:100%; height:100%; object-fit:cover; border-radius:12px; box-shadow:0 10px 25px rgba(0,0,0,.25); }
.template-slider .template-item:hover { transform:rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(220px) scale(1.25); }
.template-center-logo { position:absolute; top:25%; left:50%; transform:translate(-50%,-50%); width:90px; height:90px; background:white; border-radius:50%; box-shadow:0 8px 30px rgba(255,107,157,.4); display:flex; align-items:center; justify-content:center; z-index:100; pointer-events:none; animation:logoCounterRotate 25s linear infinite; }
.template-center-logo img { width:90px; height:90px; object-fit:cover; border-radius:50%; }
@keyframes logoCounterRotate { from { transform:translate(-50%,-50%) rotateY(0deg); } to { transform:translate(-50%,-50%) rotateY(-360deg); } }
@keyframes templateAutoRun { from { transform:perspective(1000px) rotateX(-17deg) rotateY(0deg); } to { transform:perspective(1000px) rotateX(-17deg) rotateY(360deg); } }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials { padding:3rem 1.5rem; background:var(--accent); }
.testimonials-content { max-width:1200px; margin:0 auto; }
.testimonial-slider { max-width:700px; margin:2rem auto; position:relative; min-height:180px; }
.testimonial-card { background:var(--card-bg); border:1px solid var(--border-color); border-radius:20px; padding:2rem; box-shadow:var(--shadow); opacity:0; transition:opacity .5s; position:absolute; width:100%; }
.testimonial-card.active { opacity:1; position:relative; }
.testimonial-content { display:flex; flex-direction:column; gap:1.25rem; align-items:center; text-align:center; }
.testimonial-avatar { width:64px; height:64px; border-radius:50%; overflow:hidden; flex-shrink:0; box-shadow:var(--shadow); }
.testimonial-avatar img { width:100%; height:100%; object-fit:cover; }
.testimonial-text p { font-size:1rem; font-style:italic; color:var(--text); margin-bottom:.75rem; line-height:1.7; }
.testimonial-author { font-weight:700; color:var(--primary); }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq { padding:3rem 1.5rem; }
.faq-content { max-width:700px; margin:0 auto; }
.faq-item { background:var(--card-bg); border:1px solid var(--border-color); border-radius:14px; padding:1.25rem; margin-bottom:.75rem; cursor:pointer; transition:all .3s; }
.faq-item:hover { box-shadow:var(--shadow); }
.faq-question { display:flex; justify-content:space-between; align-items:center; font-weight:600; color:var(--text); font-size:.95rem; }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .3s ease; color:var(--text-light); padding-top:0; font-size:.95rem; }
.faq-item.active .faq-answer { max-height:200px; padding-top:1rem; }
.faq-icon { transition:transform .3s; font-size:.8rem; color:var(--text-light); }
.faq-item.active .faq-icon { transform:rotate(180deg); }

/* ══════════════════════════════════════════
   PARTNERS
══════════════════════════════════════════ */
.section-partners { padding:2rem 1.5rem; }
.partners-section-content { max-width:900px; margin:0 auto; padding:0 2rem; text-align:center; }
.partners-carousel { overflow:hidden; padding:1.5rem 0; mask-image:linear-gradient(to right,transparent 0%,black 12%,black 88%,transparent 100%); -webkit-mask-image:linear-gradient(to right,transparent 0%,black 12%,black 88%,transparent 100%); }
.partners-track { display:flex; align-items:center; gap:80px; width:max-content; list-style:none; animation:partners-scroll 18s linear infinite; }
.partners-track:hover { animation-play-state:paused; }
.partners-track li { flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.partners-track li img { max-height:100px; max-width:240px; object-fit:contain; opacity:.85; transition:opacity .5s,transform .5s; }
.partners-track li:hover img { opacity:1; transform:scale(1.1); }
@keyframes partners-scroll { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
/* tint images in dark mode */
body.dark .partners-track li img { filter:brightness(.85) invert(0); opacity:.7; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { background: var(--footer-bg); color:var(--footer-text); padding:2.5rem 1.5rem 1.5rem; transition: background 0.35s ease; }

.footer-content { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:1.5rem; margin-bottom:1.5rem; }
.footer-section h4 { margin-bottom:.75rem; font-size:1.1rem; }
.footer-section p, .footer-section a { color:var(--footer-muted); text-decoration:none; display:block; margin-bottom:.4rem; font-size:.95rem; }
.footer-section a:hover { color:var(--primary); }
.footer-bottom { max-width:1200px; margin:0 auto; padding-top:1.5rem; border-top:1px solid var(--footer-border); text-align:center; color:var(--footer-muted); font-size:.85rem; }

/* ══════════════════════════════════════════
   HEADER (legacy — used in some pages)
══════════════════════════════════════════ */
header {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    padding: .75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.header-content { max-width:1200px; margin:0 auto; padding:0 1rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.logo-section { display:flex; align-items:center; gap:.75rem; }
.logo { width:40px; height:40px; border-radius:10px; overflow:hidden; }
.logo img { width:100%; height:100%; object-fit:contain; }
.brand-text h1 { font-size:1rem; font-weight:700; background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.social-links { display:flex; gap:.5rem; }
.social-btn { width:38px; height:38px; border-radius:10px; background:var(--surface); display:flex; align-items:center; justify-content:center; transition:all .3s; text-decoration:none; color:var(--primary); }
.social-btn svg { width:20px; height:20px; }
.social-btn:hover { background:var(--gradient); color:white; transform:translateY(-3px); }

/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.modal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:2000; align-items:center; justify-content:center; padding:1.5rem; }
.modal.show { display:flex; }
.modal-content { max-width:90%; max-height:90%; position:relative; }
.modal-content img, .modal-content video { max-width:100%; max-height:85vh; border-radius:12px; }
.modal-close { position:absolute; top:-40px; right:0; background:white; border:none; width:40px; height:40px; border-radius:50%; cursor:pointer; font-size:1.5rem; color:#1a1a2e; }
.modal-close:hover { background:var(--primary); color:white; }

/* ══════════════════════════════════════════
   TEMPLATE MODAL
══════════════════════════════════════════ */
.template-modal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.75); z-index:2001; align-items:center; justify-content:center; padding:1rem; backdrop-filter:blur(4px); }
.template-modal.show { display:flex; }
.template-modal-content { background:var(--card-bg); border-radius:20px; width:100%; max-width:400px; max-height:70vh; display:flex; flex-direction:column; overflow:hidden; animation:modalPop .25s ease; border:1px solid var(--border-color); }
@keyframes modalPop { from{opacity:0;transform:scale(.9);} to{opacity:1;transform:scale(1);} }
.template-modal-header { padding:1.25rem 1.5rem; border-bottom:1px solid var(--border-color); display:flex; justify-content:space-between; align-items:center; }
.template-modal-header h3 { font-size:1.1rem; color:var(--text); margin:0; }
.template-modal-close { background:var(--surface); border:none; width:32px; height:32px; border-radius:50%; cursor:pointer; font-size:1.1rem; color:var(--text-light); transition:all .2s; }
.template-modal-close:hover { background:var(--primary); color:white; }
.template-modal-list { overflow-y:auto; padding:.5rem; flex:1; }
.template-modal-item { display:block; padding:1rem 1.25rem; margin:.25rem 0; border-radius:12px; text-decoration:none; color:var(--text); font-size:.95rem; transition:all .2s; background:var(--surface); }
.template-modal-item:hover { color:var(--primary); transform:translateX(4px); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (min-width:640px) {
    .hero-content h2 { font-size:2rem; }
    .hero-image { height:350px; }
    .features-grid { grid-template-columns:repeat(2,1fr); }
    .pricing-grid { grid-template-columns:repeat(2,1fr); }
    .footer-content { grid-template-columns:repeat(3,1fr); }
    .testimonial-content { flex-direction:row; text-align:left; }
    .template-banner { height:450px; }
    .template-slider { width:150px; height:240px; }
    .template-slider .template-item { transform:rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(280px); }
    .template-center-logo { width:110px; height:110px; top:30%; }
    .template-center-logo img { width:110px; height:110px; }
}
@media (min-width:1024px) {
    .hero-grid { grid-template-columns:1fr 1fr; gap:3rem; }
    .hero-content h2 { font-size:2.5rem; }
    .hero-image { height:400px; }
    .section-title { font-size:2.25rem; }
    .features-grid { grid-template-columns:repeat(3,1fr); gap:2rem; }
    .pricing-grid { grid-template-columns:repeat(4,1fr); gap:1.5rem; }
    .tier-card.featured { transform:scale(1.03); }
    .tier-card.featured:hover { transform:scale(1.06) translateY(-6px); }
    .video-item { min-width:350px; width:350px; }
    .video-item video { height:450px; }
    .template-banner { height:500px; }
    .template-slider { width:180px; height:280px; margin-top:-100px; }
    .template-slider .template-item { transform:rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(380px); }
    .template-center-logo { width:140px; height:140px; top:30%; }
    .template-center-logo img { width:140px; height:140px; }
    .testimonial-card { padding:3rem; }
    .testimonial-avatar { width:80px; height:80px; }
}

/* ── Legacy .minimalist mode compat ── */
body.minimalist { --primary:#2d3748; --gradient:linear-gradient(135deg,#2d3748,#4a5568); }