/* ═══════════════════════════════════════════════════════
   Exoda Mail Manager – Website Styles
   Dark + Blue 3D theme, Inter font
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --bg-dark: #060810;
    --bg-section: #0a0d14;
    --bg-card: #0f1420;
    --bg-card-hover: #141a28;

    --accent: #2196F3;
    --accent-light: #64B5F6;
    --accent-dark: #1565C0;
    --accent-cyan: #00BCD4;
    --accent-glow: rgba(33, 150, 243, 0.12);
    --accent-glow-strong: rgba(33, 150, 243, 0.25);

    --text-primary: #e8ecf4;
    --text-secondary: rgba(232, 236, 244, 0.65);
    --text-muted: rgba(232, 236, 244, 0.4);

    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(33, 150, 243, 0.25);

    --gradient-hero: linear-gradient(155deg, #060810 0%, #0c1628 40%, #080c18 100%);
    --gradient-accent: linear-gradient(135deg, #1565C0 0%, #2196F3 40%, #00BCD4 100%);
    --gradient-card: linear-gradient(145deg, rgba(33, 150, 243, 0.04) 0%, rgba(0, 188, 212, 0.02) 100%);
    --gradient-download: linear-gradient(135deg, #0c1628 0%, #0e1a30 50%, #0c1628 100%);

    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .35);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .45);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .55);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, .65);
    --shadow-accent: 0 4px 30px rgba(33, 150, 243, 0.15);

    --section-py: 100px;
    --container-max: 1200px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;

    --transition: 0.35s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section Helpers ── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn .material-icons-outlined {
    font-size: 20px;
}

.btn--accent {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn--accent:hover {
    box-shadow: 0 6px 40px rgba(33, 150, 243, 0.35);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn--ghost {
    background: transparent;
    color: var(--accent-light);
    border: 1.5px solid var(--border-accent);
}

.btn--ghost:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 8px 20px;
    font-size: .875rem;
}

.btn--lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 8, 16, .92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

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

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.navbar__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-accent);
}

.navbar__brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

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

.navbar__links a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.navbar__links a:not(.btn):hover {
    color: var(--accent-light);
}

.navbar__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.navbar__links a:not(.btn):hover::after {
    width: 100%;
}

/* Hamburger */
.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
    background: var(--gradient-hero);
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__title--accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 520px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.12) 0%, rgba(0, 188, 212, 0.06) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero__app-icon {
    width: 260px;
    height: 260px;
    border-radius: 56px;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(33, 150, 243, 0.15), 0 0 0 1px rgba(255, 255, 255, .06);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.hero__app-icon:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: var(--shadow-xl), 0 0 100px rgba(33, 150, 243, 0.25);
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ══════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════ */
.features {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(33, 150, 243, 0.06);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card__desc {
    font-size: .925rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   HIGHLIGHT / SHOWCASE
   ══════════════════════════════════════════════════════ */
.showcase {
    padding: var(--section-py) 0;
    background: var(--bg-section);
}

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

.showcase__text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.showcase__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.showcase__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
    color: var(--text-secondary);
}

.showcase__list .material-icons-outlined {
    font-size: 22px;
    color: var(--accent);
}

.showcase__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.showcase__icon-large {
    width: 320px;
    height: 320px;
    border-radius: 64px;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(33, 150, 243, 0.1);
    border: 1px solid var(--border-accent);
}

/* ══════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════ */
.how-it-works {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 260px;
    padding: 0 20px;
    position: relative;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
    box-shadow: var(--shadow-accent);
}

.step__icon {
    margin-bottom: 12px;
}

.step__icon .material-icons-outlined {
    font-size: 36px;
    color: var(--accent);
}

.step__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step__desc {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step__connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-accent), transparent);
    margin-top: 72px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   DOWNLOAD CTA
   ══════════════════════════════════════════════════════ */
.download {
    padding: var(--section-py) 0;
    background: var(--gradient-download);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.06) 0%, transparent 70%);
}

.download__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.download__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.download__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
}

.download__badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-badge {
    transition: var(--transition);
    display: inline-block;
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
}

.store-badge__svg {
    height: 52px;
    width: auto;
}

.download__image img {
    width: 180px;
    height: 180px;
    border-radius: 36px;
    box-shadow: var(--shadow-xl), var(--shadow-accent);
    border: 1px solid var(--border-accent);
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
    background: #040608;
    color: var(--text-muted);
    padding: 64px 0 0;
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer__brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer__tagline {
    font-size: .925rem;
    margin-bottom: 8px;
}

.footer__version {
    font-size: .8rem;
    color: var(--text-muted);
}

.footer__heading {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer__nav ul li,
.footer__legal ul li,
.footer__contact ul li {
    margin-bottom: 10px;
}

.footer__nav a,
.footer__legal a,
.footer__contact a {
    font-size: .9rem;
    transition: var(--transition);
}

.footer__nav a:hover,
.footer__legal a:hover,
.footer__contact a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer__bottom {
    border-top: 1px solid var(--border);
    margin-top: 48px;
    padding: 24px 0;
    text-align: center;
    font-size: .85rem;
}

/* ══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.features__grid .animate-on-scroll:nth-child(2) {
    transition-delay: .06s;
}

.features__grid .animate-on-scroll:nth-child(3) {
    transition-delay: .12s;
}

.features__grid .animate-on-scroll:nth-child(4) {
    transition-delay: .18s;
}

.features__grid .animate-on-scroll:nth-child(5) {
    transition-delay: .24s;
}

.features__grid .animate-on-scroll:nth-child(6) {
    transition-delay: .30s;
}

.features__grid .animate-on-scroll:nth-child(7) {
    transition-delay: .36s;
}

.features__grid .animate-on-scroll:nth-child(8) {
    transition-delay: .42s;
}

.features__grid .animate-on-scroll:nth-child(9) {
    transition-delay: .48s;
}

.features__grid .animate-on-scroll:nth-child(10) {
    transition-delay: .54s;
}

/* Floating particles */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    15% {
        opacity: 0.5;
    }

    85% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* ══════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════ */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--bg-dark);
}

.legal-page h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.legal-page h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-page h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-page p,
.legal-page ul,
.legal-page li {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page ul {
    padding-left: 24px;
    list-style: disc;
}

.legal-page a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--accent-light);
}

.navbar--solid {
    background: rgba(6, 8, 16, .95) !important;
    box-shadow: 0 1px 0 var(--border) !important;
}

/* ══════════════════════════════════════════════════════
   SUPPORT PAGE
   ══════════════════════════════════════════════════════ */
.support-section {
    padding: var(--section-py) 0;
}

.support-section:nth-child(even) {
    background: var(--bg-section);
}

.support-section:nth-child(odd) {
    background: var(--bg-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.faq-card__question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-card__question .material-icons-outlined {
    color: var(--accent);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-card__answer {
    font-size: .925rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 32px;
}

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

.support-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.support-step:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}

.support-step__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.support-step__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.support-step__desc {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root {
        --section-py: 80px;
    }

    .hero__inner {
        gap: 40px;
    }

    .showcase__inner {
        gap: 40px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .steps {
        flex-wrap: wrap;
        gap: 32px;
    }

    .step__connector {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 64px;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        border-left: 1px solid var(--border);
    }

    .navbar__links.active {
        right: 0;
    }

    .navbar__links a {
        color: var(--text-primary) !important;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__app-icon {
        width: 180px;
        height: 180px;
        border-radius: 40px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .showcase__inner {
        grid-template-columns: 1fr;
    }

    .showcase__text .section-title {
        text-align: center;
    }

    .showcase__text {
        text-align: center;
    }

    .showcase__list {
        align-items: center;
    }

    .showcase__icon-large {
        width: 220px;
        height: 220px;
        border-radius: 48px;
    }

    .download__inner {
        flex-direction: column;
        text-align: center;
    }

    .download__badges {
        justify-content: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .support-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.85rem;
    }

    .hero__subtitle {
        font-size: .95rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn--lg {
        padding: 12px 24px;
        justify-content: center;
    }

    .features__grid {
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .download__badges {
        flex-direction: column;
        align-items: center;
    }
}