:root {
    --primary-color: #01d277;
    --primary-glow: rgba(1, 210, 119, 0.4);
    --bg-dark: #050505;
    --bg-surface: #0f0f0f;
    --bg-card: #151515;
    --text-white: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.highlight {
    color: var(--primary-color);
}

/* Base Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Header */
header {
    padding: 1.5rem 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 8%;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.logo img {
    height: 42px;
    border-radius: 8px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo span {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-download {
    background: var(--primary-color);
    color: #000;
    padding: 10px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-download:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    z-index: -1;
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 18px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background: #00ea83;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-outline {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.hero-images {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-images .main-img {
    width: 85%;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    border: 1px solid var(--glass-border);
    animation: float 6s ease-in-out infinite;
}

.hero-images .secondary-img {
    position: absolute;
    width: 50%;
    bottom: -40px;
    left: -20px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    animation: float 6s ease-in-out infinite reverse;
}

/* Stats Section */
.stats {
    padding: 60px 8%;
    background: var(--bg-surface);
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features */
.section-padding {
    padding: 120px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: #1c1c1c;
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.feature-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(1, 210, 119, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-dim);
}

/* Gallery Slider */
.gallery {
    padding: 120px 0;
    overflow: hidden;
}

.slider-container {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.slider-container img {
    height: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.slider-container img:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Installation */
.installation {
    padding: 100px 8%;
    background: var(--bg-surface);
}

.install-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 250px;
    display: flex;
    gap: 20px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* CTA */
.cta-section {
    padding: 120px 8%;
}

.cta-card {
    background: linear-gradient(135deg, #101010 0%, #050505 100%);
    padding: 100px;
    border-radius: 48px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 100px rgba(1, 210, 119, 0.05);
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 80px 8% 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.footer-nav a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #555;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 968px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 80px; }
    .hero-btns { justify-content: center; }
    .hero-content h1 { font-size: 3rem; }
}
