:root {
    --primary-hue: 200;
    /* Electric Blue */
    --primary: linear-gradient(135deg, #0ea5e9, #6366f1);
    /* Cyan to Indigo */
    --primary-solid: #3b82f6;

    --accent-hue: 180;
    --accent: #06b6d4;
    /* Cyan */

    --dark-bg: #f0f7ff;
    /* Very light cool blue */
    --dark-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(59, 130, 246, 0.3);
    /* Tech Blue Border */
    --tech-border: rgba(6, 182, 212, 0.5);
    /* Cyan Accent Border */

    --radius-lg: 4px;
    /* Sharp tech corners */
    --radius-md: 2px;
    --radius-full: 4px;
    /* Buttons slightly rounded but techy */

    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-tech: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 4px 20px rgba(14, 165, 233, 0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Outfit', sans-serif;
    --font-tech: 'Courier New', monospace;
    /* Fallback for tech labels */
}

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

/* Glassmorphism Utilities - Crystalline Tech */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-tech);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

/* Tech Grid Overlay */
.glass-panel::before,
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Corner Accents */
.glass-panel::after,
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    background:
        linear-gradient(to right, var(--tech-border) 2px, transparent 2px) top left,
        linear-gradient(to bottom, var(--tech-border) 2px, transparent 2px) top left,
        linear-gradient(to left, var(--tech-border) 2px, transparent 2px) bottom right,
        linear-gradient(to top, var(--tech-border) 2px, transparent 2px) bottom right;
    background-size: 10px 10px;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.glass-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.glass-card:hover {
    background: #ffffff;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
    border-color: #fff;
    z-index: 10;
}

.glass-card:hover::after {
    opacity: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    /* Ensure content stacks relative to body */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Tech aesthetic */
}

p,
span,
li {
    letter-spacing: 0.5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card,
.glass-panel {
    animation: fadeInUp 0.8s ease-out forwards;
}

.comparison-card:nth-child(2) {
    animation-delay: 0.2s;
}

.comparison-card:nth-child(3) {
    animation-delay: 0.3s;
}

.comparison-card:nth-child(4) {
    animation-delay: 0.4s;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: inline-block;
    /* Fix for transform animations on links */
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mt-4 {
    margin-top: 2rem;
}

.section-padding {
    padding: 80px 0;
}

.gradient-text {
    background: var(--primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.3));
    text-shadow: none;
}

/* Cursor & Interactive Effects */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--tech-border);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #22d3ee, #0ea5e9);
    /* Reverse gradient */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--primary-solid);
    color: var(--primary-solid);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.btn-white {
    background: #fff;
    color: var(--primary-solid);
}

.btn-white:hover {
    background: #f0f9ff;
    transform: scale(1.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
    /* Increased font size for better visibility */

}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.15), transparent 70%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    text-align: center;
    justify-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-glass-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    /* Emerald 400 */
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.device-mockup {
    position: relative;
    width: 100%;
    /* Makes container responsive */
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.device-icon {
    font-size: 6rem;
    color: var(--primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--primary));
}

.device-status {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    box-shadow: 0 0 8px #06b6d4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.device-info h3,
.device-info p {
    font-family: var(--font-tech);
    text-transform: none;
    letter-spacing: normal;
}

/* Stats Bar */
.stats-bar {
    background: var(--dark-card);
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item h4 {
    font-size: 1.5rem;
    color: var(--text-main);
}

.stat-item p {
    color: var(--text-muted);
}

/* Features */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.comparison-card {
    background: var(--dark-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
}

.smart-device {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 255, 0.9));
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.25);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.smart-device .card-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary);
}

.card-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.feature-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
    font-weight: 500;
}

.negative i {
    color: #ef4444;
}

.positive i {
    color: #10b981;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 40px;
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Section */
.product-layout {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.f-icon {
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.product-visual {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.visual-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.2;
    position: absolute;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px 40px;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 10;
}


/* Footer */
.footer {
    background: transparent;
    /* Changed from dark #020617 to let glass-panel work */
    padding-top: 60px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    color: var(--text-main);
    /* Ensure text is visible on light glass */
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.contact-link {
    display: inline-block;
    color: #fff;
    margin-top: 10px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {

    .hero-container,
    .stats-grid,
    .comparison-grid,
    .product-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: 100dvh;
        align-items: center;
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-glass-box {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin: 0 10px;
        width: calc(100% - 20px);
    }

    .nav-list {
        display: none;
        /* Mobile menu implementation usually requires JS toggle */
    }

    .mobile-toggle {
        display: block;
    }

    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-card);
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
}

/* =========================================
   Water Animation Enhancements
   ========================================= */

/* --- Waves Animation --- */
.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.waves {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* --- Video Background --- */
.hero-bg-video {
    position: fixed;
    /* Global Fixed Background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    /* Full visibility, handled by overlay if needed, but we want it visible */
    z-index: -2;
    /* Behind everything */
    filter: none;
    /* Clear video */
}

/* Global Overlay to ensure text readability everywhere */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    /* Light overlay tint */
    backdrop-filter: blur(5px);
    /* Soft blur for depth */
    z-index: -1;
    pointer-events: none;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

/* --- Ripple Button Effect --- */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple-btn:active::after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

/* --- Section Dividers --- */
.wave-divider {
    position: relative;
    top: -1px;
    /* fix sub-pixel render gap */
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider.inverse {
    transform: rotate(180deg);
}