/* ===== CSS Variables ===== */
:root {
    --primary: #00D4FF;
    --primary-dark: #00A8CC;
    --secondary: #1a1a2e;
    --accent: #16213e;
    --dark: #0f0f1a;
    --light: #ffffff;
    --gray: #8b8b9a;
    --gradient: linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
    --gradient-text: linear-gradient(135deg, #00D4FF 0%, #00FF88 100%);
    --glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    padding: 12px 24px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
}

.float-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 10%;
    animation: float-1 8s ease-in-out infinite;
}

.float-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: 5%;
    animation: float-2 10s ease-in-out infinite;
}

.float-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
    animation: float-3 6s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 20px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.camera-3d {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 280px;
    height: 350px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;
}


.camera-body {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 120px;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
    animation: camera-float 4s ease-in-out infinite;
}

@keyframes camera-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.camera-lens {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #1a1a2e 40%, #0f0f1a 100%);
    border-radius: 50%;
    border: 4px solid #3a3a4e;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 212, 255, 0.2);
}

.camera-glow {
    z-index: 1;
}

.camera-3d {
    z-index: 5;
}

.lens-ring {
    position: absolute;
    inset: 10px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: lens-rotate 8s linear infinite;
}

@keyframes lens-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lens-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

.recording-indicator {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff4444;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.camera-leds {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.led-red {
    background: #ff4444;
    box-shadow: 0 0 10px #ff4444;
    animation: led-blink 0.5s infinite;
}

.led-blue {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

@keyframes led-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.camera-base {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 30px;
    background: linear-gradient(to bottom, #2a2a3e, #1a1a2e);
    border-radius: 0 0 10px 10px;
}

.camera-mount {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: linear-gradient(to bottom, #3a3a4e, #2a2a3e);
    border-radius: 5px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan 3s linear infinite;
    opacity: 0.5;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

.camera-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.feature-badges {
    position: absolute;
    width: 100%;
    height: 100%;
}

.feature-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: badge-float 4s ease-in-out infinite;
}

.feature-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.fb-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.fb-2 {
    top: 45%;
    right: 0;
    animation-delay: 1s;
}

.fb-3 {
    bottom: 25%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--gray);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== Products Section ===== */
.products {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--secondary) 100%);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

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

.product-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card.featured {
    border-color: rgba(0, 212, 255, 0.5);
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.1), rgba(26, 26, 46, 0.5));
}

.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: var(--primary);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-badge.popular {
    background: linear-gradient(135deg, #00D4FF, #00FF88);
}

.product-badge.new {
    background: #ff4444;
}

.product-visual {
    position: relative;
    width: 150px;
    height: 150px;
}

.cam-mini, .cam-bullet, .cam-ptz {
    position: relative;
    width: 100%;
    height: 100%;
}

.cam-body-mini {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #3a3a4e, #1a1a2e);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cam-lens-mini {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #1a1a2e 30%, var(--primary) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.cam-body-bullet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 60px;
    background: linear-gradient(145deg, #3a3a4e, #1a1a2e);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cam-lens-bullet {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #1a1a2e 30%, var(--primary) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.cam-ptz {
    animation: ptz-rotate 6s ease-in-out infinite;
}

@keyframes ptz-rotate {
    0%, 100% { transform: rotateY(0deg); }
    25% { transform: rotateY(15deg); }
    75% { transform: rotateY(-15deg); }
}

.cam-body-ptz {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 120px;
    background: linear-gradient(145deg, #3a3a4e, #1a1a2e);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cam-arm-ptz {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 50px;
    background: #3a3a4e;
}

.cam-head-ptz {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #1a1a2e 40%, var(--primary) 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-features {
    margin-bottom: 20px;
}

.product-features li {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-card {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-card:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-card.primary {
    background: var(--gradient);
    border: none;
}

.btn-card.primary:hover {
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--secondary);
}

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

.feature-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--light);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.feature-visual {
    height: 120px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* AI Detection Animation */
.ai-detection {
    position: relative;
    width: 180px;
    height: 100px;
}

.detection-box {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: detection-pulse 1.5s ease-in-out infinite;
}

@keyframes detection-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 15px rgba(0, 212, 255, 0);
    }
}

.ai-label {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: var(--primary);
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Phone Mockup */
.phone-mockup {
    padding: 20px;
}

.phone {
    width: 100px;
    height: 160px;
    background: #1a1a2e;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f0f1a;
    border-radius: 12px;
    overflow: hidden;
}

.cam-feed {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
    position: relative;
}

.feed-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    padding: 8px;
}

.live-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: #ff4444;
    animation: blink 1s infinite;
}

/* Cloud Animation */
.cloud-container {
    position: relative;
    width: 150px;
    height: 80px;
}

.cloud {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: cloud-float 3s ease-in-out infinite;
}

@keyframes cloud-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.cloud-circle {
    position: absolute;
    background: white;
    border-radius: 50%;
}

.cc1 { width: 40px; height: 40px; bottom: 0; left: 20px; }
.cc2 { width: 50px; height: 50px; bottom: 0; left: 40px; }
.cc3 { width: 35px; height: 35px; bottom: 0; left: 65px; }

.cloud-base {
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 80px;
    height: 20px;
    background: white;
    border-radius: 10px;
}

.upload-arrows {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.arrow {
    color: var(--primary);
    font-size: 1rem;
    animation: upload 1s infinite;
}

.a1 { animation-delay: 0s; }
.a2 { animation-delay: 0.3s; }
.a3 { animation-delay: 0.6s; }

@keyframes upload {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

.storage-bars {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 5px;
}

.storage-bar {
    width: 8px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transform-origin: bottom;
}

.sb1 { animation: bar-grow 1.5s ease-in-out infinite 0s; }
.sb2 { animation: bar-grow 1.5s ease-in-out infinite 0.2s; }
.sb3 { animation: bar-grow 1.5s ease-in-out infinite 0.4s; }

@keyframes bar-grow {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* Smart Home Icons */
.smart-icons {
    display: flex;
    gap: 30px;
}

.smart-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: smart-pulse 2s ease-in-out infinite;
}

.smart-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.si1 { animation-delay: 0s; }
.si2 { animation-delay: 0.5s; }
.si3 { animation-delay: 1s; }

@keyframes smart-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.connection-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cl {
    position: absolute;
    background: var(--primary);
    opacity: 0.3;
}

.cl1 { width: 30px; height: 2px; top: 50%; left: 25%; }
.cl2 { width: 30px; height: 2px; top: 50%; right: 25%; }
.cl3 { width: 2px; height: 20px; top: 30%; left: 50%; }

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
}

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

.testimonial-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--gray);
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.1));
}

.cta-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.p1 { top: 20%; left: 10%; animation: particle-float 6s infinite; }
.p2 { top: 60%; left: 20%; animation: particle-float 8s infinite 1s; }
.p3 { top: 30%; right: 15%; animation: particle-float 7s infinite 2s; }
.p4 { top: 70%; right: 25%; animation: particle-float 5s infinite 3s; }
.p5 { top: 50%; left: 50%; animation: particle-float 9s infinite 4s; }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.5); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-white {
    background: var(--light);
    color: var(--dark);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.cta-trust {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-trust span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
}

.contact-item .value {
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--secondary);
    color: var(--light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--gray);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .cta-btn.nav-cta {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-visual {
        height: 300px;
    }

    .feature-badges {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-trust {
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .contact-form {
        padding: 24px;
    }
}.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links.active {
    display: flex;
}

.menu-toggle.active {
    display: flex;
}

/* Asegurarse que las imágenes se muestren correctamente */
.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
}

/* Animaciones para los elementos */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-visual .camera-3d {
    animation: camera-float 4s ease-in-out infinite;
}

@keyframes camera-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Fixes ===== */
.nav-links.active { display: flex; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15,15,26,0.55) 100%);
}

/* Animations visibility */
.product-card, .feature-card, .testimonial-card {
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible, .feature-card.visible, .testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    .cta-btn.nav-cta { display: none; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-buttons, .cta-buttons { flex-direction: column; }
    .products-grid, .features-grid, .testimonials-slider, .contact-grid { grid-template-columns: 1fr; }
}
