/* ═══════════════════════════════════════════════════════════════════════════
   home.css — Echo Line Landing Page Styles (Clean, Bright & High Contrast)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────────────────── */
:root {
    --bg:        #f8fafc;
    --bg-2:      #ffffff;
    --bg-card:   #ffffff;
    --border:    #e2e8f0;
    --border-2:  #f1f5f9;
    --primary:   #6366f1;
    --primary-2: #4f46e5;
    --accent:    #0284c7;
    --accent-2:  #0369a1;
    --text:      #0f172a;
    --text-2:    #475569;
    --text-3:    #64748b;
    --success:   #10b981;
    --radius:    16px;
    --shadow:    0 4px 20px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

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

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

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
    font-weight: 800; font-size: 1.3rem; color: var(--text);
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
}
.logo-accent { color: var(--primary); }
.nav-links {
    display: flex; align-items: center; gap: 8px;
}
.nav-links a {
    color: var(--text-2);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.btn-nav-outline {
    border: 1px solid var(--border) !important;
    color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.btn-nav-outline:hover { background: rgba(99,102,241,0.06) !important; border-color: var(--primary) !important; }
.btn-nav-solid {
    background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
}
.btn-nav-solid:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(99,102,241,0.4) !important;
}
.nav-burger {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    color: var(--text); text-decoration: none;
    padding: 12px 0; border-bottom: 1px solid var(--border-2);
    font-size: 0.95rem; font-weight: 600;
    transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile .btn-nav-solid {
    margin-top: 12px; text-align: center;
    padding: 12px !important; border-radius: 10px !important;
    border-bottom: none !important;
    color: #ffffff !important;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
    overflow: hidden;
    background: #ffffff;
}
.hero-bg {
    position: absolute; inset: 0;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.12;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(248, 250, 252, 0.98) 100%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    animation: pulse-glow 6s ease-in-out infinite;
}
.hero-glow-1 { width: 600px; height: 600px; background: #6366f1; top: -100px; left: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: #38bdf8; bottom: 0; right: -50px; animation-delay: 2s; }
.hero-glow-3 { width: 300px; height: 300px; background: #8b5cf6; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 4s; }

@keyframes pulse-glow {
    0%, 100% { opacity: 0.12; transform: scale(1); }
    50%       { opacity: 0.22;  transform: scale(1.05); }
}

.hero-content {
    position: relative; z-index: 2;
    max-width: 760px;
    animation: fadeInUp 0.9s ease both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.25);
    color: var(--primary-2);
    padding: 6px 16px; border-radius: 100px;
    font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
    animation: fadeInUp 0.9s 0.1s ease both;
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: blink 2s infinite;
}
@keyframes blink {
    0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}
.hero-title {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--text);
    margin-bottom: 24px;
    animation: fadeInUp 0.9s 0.2s ease both;
}
.gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.9s 0.3s ease both;
}
.hero-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeInUp 0.9s 0.4s ease both;
}
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #ffffff !important; text-decoration: none;
    padding: 16px 32px; border-radius: 14px;
    font-size: 1rem; font-weight: 700;
    box-shadow: 0 6px 25px rgba(99,102,241,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(99,102,241,0.45);
}
.btn-hero-primary svg { transition: transform 0.2s; stroke: #ffffff; }
.btn-hero-primary:hover svg { transform: translateX(4px); }
.btn-hero-secondary {
    display: inline-flex; align-items: center;
    color: var(--text); text-decoration: none;
    padding: 16px 28px; border-radius: 14px;
    font-size: 1rem; font-weight: 600;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}
.btn-hero-secondary:hover { color: var(--primary); background: #f8fafc; border-color: var(--primary); }
.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 32px; flex-wrap: wrap;
    animation: fadeInUp 0.9s 0.5s ease both;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.78rem; color: var(--text-3); font-weight: 600; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 2;
}
.scroll-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--text-3);
    animation: bounce-dot 2s infinite;
}
@keyframes bounce-dot {
    0%,100% { transform: translateY(0); opacity: 0.5; }
    50%      { transform: translateY(-8px); opacity: 1; }
}

/* ── Tools Showcase & Grid Section ───────────────────────────────────────── */
.tools-showcase-section {
    padding: 100px 0 60px;
    background: var(--bg);
}
.tool-card {
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.tool-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}
.tool-card.flagship-card {
    border: 2px solid rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.08) !important;
}
.tool-card h3, .tool-card .tool-title {
    color: var(--text) !important;
}
.tool-card p, .tool-card .tool-desc {
    color: var(--text-2) !important;
}

/* ── Features Section ───────────────────────────────────────────────────── */
.features-section {
    padding: 100px 0;
    background: var(--bg);
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-badge {
    display: inline-block;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: var(--accent);
    padding: 5px 14px; border-radius: 100px;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.1);
}
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 10px; color: var(--text);
}
.feature-card p {
    font-size: 0.9rem; color: var(--text-2); line-height: 1.7;
}
.feature-card strong { color: var(--accent); }

/* ── How It Works ───────────────────────────────────────────────────────── */
.how-section {
    padding: 100px 0;
    background: #ffffff;
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}
.step-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.step-num {
    font-size: 3rem; font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: 16px;
}
.step-content h3 {
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 10px; color: var(--text);
}
.step-content p {
    font-size: 0.88rem; color: var(--text-2); line-height: 1.7;
}
.step-content strong { color: var(--accent); }
.step-arrow {
    font-size: 1.8rem; color: #cbd5e1;
    font-weight: 300;
}

/* ── CTA Section ────────────────────────────────────────────────────────── */
.cta-section {
    padding: 100px 0;
    background: var(--bg);
}
.cta-card {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(99,102,241,0.07), rgba(56,189,248,0.05));
    border: 1px solid rgba(99,102,241,0.22);
    border-radius: 24px;
    padding: 72px 48px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(99,102,241,0.08);
}
.cta-glow {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}
.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 16px;
}
.cta-subtitle {
    font-size: 1.05rem; color: var(--text-2);
    margin-bottom: 40px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}
.footer-inner {
    display: flex; justify-content: space-between; gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.footer-brand p {
    color: var(--text-3); font-size: 0.88rem;
    margin-top: 12px; line-height: 1.7;
}
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text); margin-bottom: 16px;
}
.footer-col a {
    display: block; color: var(--text-2);
    text-decoration: none; font-size: 0.88rem;
    margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom p {
    text-align: center; color: var(--text-3);
    font-size: 0.82rem;
}

/* ── Animations ─────────────────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card.fade-up.visible:nth-child(2) { transition-delay: 0.1s; }
.feature-card.fade-up.visible:nth-child(3) { transition-delay: 0.2s; }
.feature-card.fade-up.visible:nth-child(4) { transition-delay: 0.3s; }
.feature-card.fade-up.visible:nth-child(5) { transition-delay: 0.4s; }
.feature-card.fade-up.visible:nth-child(6) { transition-delay: 0.5s; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .step-arrow { display: none; }
    .nav-links { display: none; }
    .nav-burger { display: flex; }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .cta-card { padding: 48px 24px; }
}
/* --- Professional Nav Dropdown Styles --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-main-link {
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-main-link:hover {
    color: #4f46e5;
}
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropbtn {
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}
.nav-dropbtn .arrow {
    font-size: 0.7em;
    transition: transform 0.3s;
}
.nav-dropdown:hover .nav-dropbtn {
    color: #4f46e5;
}
.nav-dropdown:hover .arrow {
    transform: rotate(180deg);
}
.nav-dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    z-index: 100;
    padding: 10px;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dropdown:hover .nav-dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.nav-dropdown-content a {
    color: #475569;
    padding: 10px 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown-content a:hover {
    background-color: #f8fafc;
    color: #0f172a;
}
.badge-new {
    background:#fe2c55; 
    color:white; 
    font-size:0.6rem; 
    padding:2px 6px; 
    border-radius:6px; 
    margin-left:auto;
}
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
}
