:root {
    --bg-main: #0B0E14;
    --bg-secondary: #121822;
    --bg-tertiary: #0e1219;
    --text-main: #FFFFFF;
    --text-muted: #8B9BB4;
    --accent-primary: #00d4aa;
    --accent-secondary: #008f73;
    --border-color: rgba(0, 212, 170, 0.12);
    --glass-bg: rgba(11, 14, 20, 0.85);
}

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

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

/* ═══ Typography ═══ */
h1 { font-size: 3.75rem; line-height: 1.08; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
p { color: var(--text-muted); font-size: 1.1rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), #00ffd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 170, 0.08);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent-primary);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }

/* ═══ Buttons ═══ */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000; padding: 12px 28px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    text-decoration: none; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent-primary); }

.btn-secondary {
    background: transparent; color: var(--accent-primary); padding: 12px 28px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    text-decoration: none; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--accent-primary);
    transition: background 0.2s, color 0.2s;
    text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem;
}
.btn-secondary:hover { background: var(--accent-primary); color: #000; }

.btn-primary.large, .btn-secondary.large { padding: 16px 36px; font-size: 1rem; }

/* ═══ Navbar ═══ */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 5%; position: fixed; top: 0; left: 0; right: 0;
    background: rgba(11, 14, 20, 0.85); backdrop-filter: blur(16px);
    z-index: 1000; border-bottom: 1px solid var(--border-color);
}
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -0.05em; display: flex; align-items: center; gap: 8px; }
.logo-icon { flex-shrink: 0; }
.logo-accent { color: var(--accent-primary); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-primary); }

/* ═══ Hero ═══ */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 120px 5% 60px; position: relative;
}
.hero-content { flex: 1; max-width: 620px; position: relative; z-index: 2; }

.badge {
    display: inline-block; padding: 6px 14px;
    background: rgba(0, 212, 170, 0.1); color: var(--accent-primary);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-primary);
}

.hero-stats {
    display: flex; align-items: center; gap: 2rem;
    margin-top: 2rem; padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--accent-primary); }
.hero-stat span { font-size: 0.85rem; color: var(--text-muted); }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border-color); }

.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; }

.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; perspective: 1000px; }
.glow-orb { position: absolute; width: 350px; height: 350px; border-radius: 50%; filter: blur(100px); z-index: 0; }
.glow-orb.primary { background: var(--accent-primary); top: -80px; right: -30px; opacity: 0.15; }
.glow-orb.secondary { background: var(--accent-secondary); bottom: -80px; left: 60px; opacity: 0.15; }

.dashboard-mockup {
    width: 115%; max-width: 750px;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    box-shadow: 0 30px 60px -15px rgba(0,212,170,0.15);
    border: 1px solid rgba(0, 212, 170, 0.2);
    transform: rotateY(-8deg) rotateX(4deg);
    z-index: 1; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dashboard-mockup:hover { transform: rotateY(-3deg) rotateX(1deg) translateY(-8px); }

/* ═══ Trusted By ═══ */
.trusted-by {
    padding: 40px 5%; text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}
.trusted-by > p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.trust-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { color: var(--text-muted); font-weight: 600; font-size: 1rem; opacity: 0.7; }
.trust-divider { color: var(--accent-primary); opacity: 0.3; }

/* ═══ Features ═══ */
.features { padding: 100px 5%; background: var(--bg-secondary); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }

.feature-card {
    background: var(--bg-main); border: 1px solid var(--border-color);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    padding: 2rem; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,212,170,0.15); border-color: var(--accent-primary); }
.f-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; display: inline-block; }
.anim-icon { width: 100%; height: 100%; fill: var(--accent-primary); filter: drop-shadow(0 0 8px rgba(0,212,170,0.4)); overflow: visible; }
.feature-card:hover .anim-pulse { animation: icon-pulse 2s infinite ease-in-out; transform-origin: center; }
.feature-card:hover .anim-float { animation: icon-float 3s infinite ease-in-out; }
.feature-card:hover .anim-grow-1 { animation: icon-grow 1.5s infinite alternate ease-in-out; transform-origin: bottom; }
.feature-card:hover .anim-grow-2 { animation: icon-grow 1.5s infinite alternate ease-in-out 0.2s; transform-origin: bottom; }
.feature-card:hover .anim-grow-3 { animation: icon-grow 1.5s infinite alternate ease-in-out 0.4s; transform-origin: bottom; }
.feature-card:hover .anim-balance { animation: icon-balance 3s infinite ease-in-out; transform-origin: center; }
.feature-card:hover .anim-fade { animation: icon-fade 2s infinite alternate ease-in-out; }
.feature-card:hover .anim-fade-alt { animation: icon-fade 2s infinite alternate ease-in-out 1s; }
.feature-card:hover .anim-spin-slow { animation: icon-spin 4s infinite linear; transform-origin: center; }
.feature-card:hover .anim-flash { animation: icon-flash 1.5s infinite ease-in-out; transform-origin: bottom left; }

@keyframes icon-pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 12px var(--accent-primary)); } }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes icon-grow { 0% { transform: scaleY(0.7); opacity: 0.6; } 100% { transform: scaleY(1.1); opacity: 1; } }
@keyframes icon-balance { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(8deg); } 75% { transform: rotate(-8deg); } }
@keyframes icon-fade { 0% { opacity: 0.3; } 100% { opacity: 1; } }
@keyframes icon-spin { 100% { transform: rotate(360deg); } }
@keyframes icon-flash { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; } 50% { transform: scale(1.15) rotate(5deg); opacity: 1; filter: drop-shadow(0 0 15px var(--accent-primary)); } }

/* ═══ Product Showcase ═══ */
.product-showcase { padding: 100px 5%; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; }
.showcase-item {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    overflow: hidden; transition: transform 0.3s;
}
.showcase-item:hover { transform: translateY(-4px); }
.showcase-label {
    padding: 12px 24px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--accent-primary);
    border-bottom: 1px solid var(--border-color);
}
.showcase-img { width: 100%; display: block; }
.showcase-item > p { padding: 20px 24px; font-size: 0.95rem; }

/* ═══ How It Works ═══ */
.how-it-works { padding: 100px 5%; background: var(--bg-secondary); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.step-card {
    padding: 2rem; border: 1px solid var(--border-color);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    background: var(--bg-main); transition: border-color 0.3s;
}
.step-card:hover { border-color: var(--accent-primary); }
.step-number { font-size: 3rem; font-weight: 900; color: var(--accent-primary); opacity: 0.3; line-height: 1; margin-bottom: 1rem; }

/* ═══ Tech Stack ═══ */
.tech-section { padding: 100px 5%; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.tech-card {
    padding: 2rem; background: var(--bg-secondary); border: 1px solid var(--border-color);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    text-align: center; transition: border-color 0.3s;
}
.tech-card:hover { border-color: var(--accent-primary); }
.tech-card h3 { color: var(--accent-primary); }

/* ═══ Solution / Why ═══ */
.solution { padding: 100px 5%; background: var(--bg-secondary); }
.solution-container { display: flex; align-items: center; gap: 4rem; max-width: 1200px; margin: 0 auto; }
.solution-text { flex: 1; }
.solution-text p { margin-bottom: 2rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 500; }
.check-icon {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; flex-shrink: 0;
    background: rgba(0, 212, 170, 0.1); color: var(--accent-primary);
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
    font-size: 0.75rem; border: 1px solid var(--accent-primary);
}
.solution-image { flex: 1; position: relative; min-height: 350px; }
.glass-panel {
    background: var(--glass-bg); border: 1px solid var(--accent-secondary);
    clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
    padding: 3rem; position: relative; backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 30px 60px rgba(0,212,170,0.08);
}
.pulse-ring {
    position: absolute; width: 120px; height: 120px;
    background: var(--accent-primary); filter: blur(60px); opacity: 0.2;
    animation: pulse 4s infinite alternate;
}
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.1; } 100% { transform: scale(1.2); opacity: 0.25; } }
.stat-card {
    background: var(--bg-main); border: 1px solid var(--accent-primary); padding: 2rem;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    text-align: center; z-index: 2; min-width: 220px;
}
.stat-label { display: block; color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.stat-value { display: block; font-size: 3rem; font-weight: 900; color: var(--accent-primary); line-height: 1; margin-bottom: 1.5rem; }
.stat-chart { display: flex; align-items: flex-end; gap: 8px; height: 50px; justify-content: center; }
.bar { width: 18px; background: var(--border-color); clip-path: polygon(3px 0, 100% 0, 100% 100%, 0 100%, 0 3px); }
.bar.h1 { height: 30%; } .bar.h2 { height: 50%; } .bar.h3 { height: 70%; }
.bar.h4 { height: 100%; background: var(--accent-primary); }

/* ═══ Pricing ═══ */
.pricing { padding: 100px 5%; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.pricing-card {
    padding: 2.5rem; background: var(--bg-secondary); border: 1px solid var(--border-color);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    position: relative; display: flex; flex-direction: column;
}
.pricing-card.featured { border-color: var(--accent-primary); background: linear-gradient(180deg, rgba(0,212,170,0.05), var(--bg-secondary)); }
.popular-tag {
    position: absolute; top: 16px; right: -1px;
    background: var(--accent-primary); color: #000;
    padding: 4px 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.price { font-size: 2.5rem; font-weight: 900; margin: 0.5rem 0; color: var(--text-main); }
.price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; margin-bottom: 2rem; flex: 1; }
.pricing-card ul li { padding: 8px 0; font-size: 0.95rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.04); }

/* ═══ Footer ═══ */
footer { background: var(--bg-secondary); padding: 80px 5% 40px; text-align: center; border-top: 1px solid var(--border-color); }
.footer-content { max-width: 600px; margin: 0 auto 60px; }
.footer-content h2 { font-size: 2.5rem; }
.footer-content p { margin-bottom: 2rem; }
.contact-form { display: flex; gap: 12px; max-width: 450px; margin: 0 auto; }
.contact-form input {
    flex: 1; padding: 14px 20px;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    border: 1px solid var(--border-color); background: var(--bg-main);
    color: white; font-size: 1rem; outline: none; transition: border-color 0.2s;
}
.contact-form input:focus { border-color: var(--accent-primary); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; color: var(--text-muted);
    font-size: 0.85rem; border-top: 1px solid var(--border-color); padding-top: 2rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-primary); }

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
    .feature-grid, .steps-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { margin-bottom: 3rem; }
    .hero-actions, .hero-stats { justify-content: center; flex-wrap: wrap; }
    .solution-container { flex-direction: column; text-align: center; }
    .check-list li { justify-content: center; }
    .nav-links { display: none; }
    .feature-grid, .steps-grid, .tech-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* ═══ Scroll Animations ═══ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
