/* ==========================================================================
   Echosocial Website — Premium Dark Design
   ========================================================================== */

:root {
    --bg: #060d06;
    --surface: #0d1a0d;
    --surface-light: #162216;
    --surface-card: #111e11;
    --primary: #46EC13;
    --primary-glow: rgba(70, 236, 19, 0.15);
    --primary-dim: #2ea30e;
    --accent: #a0f080;
    --text: #eaf5e6;
    --text-secondary: #b8d4ac;
    --text-muted: #7a9d6e;
    --border: #1e361e;
    --border-glow: rgba(70, 236, 19, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---- Particles ---- */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFade linear infinite;
}

@keyframes particleFade {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 0.4;
    }

    80% {
        opacity: 0.1;
    }

    100% {
        opacity: 0;
        transform: translateY(-120vh) scale(1.2);
    }
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 13, 6, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(70, 236, 19, 0.4);
    transition: box-shadow 0.3s;
}

.logo:hover img {
    box-shadow: 0 0 30px rgba(70, 236, 19, 0.6);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

select#lang-selector {
    background: var(--surface-light);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
}

select#lang-selector:hover,
select#lang-selector:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 32px 100px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    animation: slideUp 0.8s ease-out both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    background: var(--primary-glow);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent), #60ff60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    animation: slideUp 0.8s ease-out 0.3s both;
}

/* ---- Download Buttons ---- */
.download-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 14px 24px;
    border-radius: 14px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-store i {
    font-size: 26px;
    color: var(--primary);
}

.btn-store .btn-text span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1;
}

.btn-store .btn-text strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
    margin-top: 2px;
}

.btn-store:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(70, 236, 19, 0.15);
    background: var(--surface-light);
}

.btn-cta .btn-text span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

/* ---- Stats Row ---- */
.stats-row {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: slideUp 0.8s ease-out 0.5s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.stat span {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ---- Phone Mockup ---- */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: slideUp 1s ease-out 0.3s both;
}

.phone-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(70, 236, 19, 0.25), transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.phone-mockup {
    width: 300px;
    height: 640px;
    background: #0a0a0a;
    border: 4px solid #333;
    border-radius: 40px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(70, 236, 19, 0.15),
        0 0 60px rgba(70, 236, 19, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.phone-notch {
    display: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 36px;
    background: #0a0a0a;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 36px;
}

/* ---- Features ---- */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-glow);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: linear-gradient(160deg, var(--surface-card), var(--surface));
    border: 1px solid var(--border);
    padding: 36px 28px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(70, 236, 19, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--primary-glow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-glow);
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: rgba(70, 236, 19, 0.25);
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ---- CTA Section ---- */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 32px;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(70, 236, 19, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 36px;
}

.cta-buttons {
    justify-content: center;
}

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 32px 40px;
    background: var(--surface);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.footer-logo p {
    width: 100%;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ---- Scroll Animations ---- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.animate-on-scroll:nth-child(1) {
    transition-delay: 0s;
}

.feature-card.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-card.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.feature-card.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* ---- Privacy Page Styles ---- */
.privacy-container {
    max-width: 860px;
    margin: 130px auto 80px;
    padding: 48px;
    background: linear-gradient(160deg, var(--surface-card), var(--surface));
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    z-index: 1;
}

.privacy-container h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

.privacy-container h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 44px;
    margin-bottom: 16px;
    color: var(--primary);
}

.privacy-container h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
}

.privacy-container p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.75;
    font-size: 15px;
}

.privacy-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.privacy-container li {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 15px;
}

.last-updated {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
    font-size: 14px;
}

.contact-box {
    background: var(--surface-light);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-top: 40px;
    text-align: center;
}

.contact-box a {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-box a:hover {
    opacity: 0.8;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 36px;
    }

    .download-buttons {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .phone-mockup {
        width: 260px;
        height: 540px;
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .privacy-container {
        margin: 100px 16px 40px;
        padding: 28px;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }
}