/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fefefe;
    color: #1e2a3e;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: bold;
}

.logo-icon {
    font-size: 2rem;
}

.nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: #1e2a3e;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    color: #4f46e5;
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* scroll reveal base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Hero */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.badge {
    background: #e0e7ff;
    color: #4f46e5;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}
.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.btn-primary {
    background: #4f46e5;
    color: white;
    box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}
.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-3px);
}
.btn-outline {
    border: 2px solid #4f46e5;
    color: #4f46e5;
    background: transparent;
}
.btn-outline:hover {
    background: #4f46e5;
    color: white;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Mockup device */
.device-mockup {
    width: 260px;
    height: 260px;
    background: #1e293b;
    border-radius: 48px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.device-circle {
    width: 140px;
    height: 140px;
    background: #2d3a4a;
    border-radius: 50%;
    position: relative;
}
.device-led {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 30px;
}
.red { background: #ef4444; box-shadow: 0 0 8px red; animation: pulse 1s infinite; }
.green { background: #10b981; top: 50px; right: 30px; animation: none; }
.pulse-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, rgba(79,70,229,0) 70%);
    animation: ping 2s infinite;
}
.sound-waves {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 6px;
}
.sound-waves span {
    width: 4px;
    height: 20px;
    background: #a5b4fc;
    animation: wave 1s infinite ease alternate;
}
.sound-waves span:nth-child(2) { animation-delay: 0.2s; height: 30px; }
.sound-waves span:nth-child(3) { animation-delay: 0.5s; height: 15px; }

@keyframes wave { from { height: 8px; } to { height: 28px; } }
@keyframes pulse { 0% { opacity: 0.4; } 100% { opacity: 1; } }
@keyframes ping { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.3); opacity: 0; } }

/* Features */
.features, .how-it-works, .pricing, .contact {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 32px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}
.feature-card:hover { transform: translateY(-8px); }
.feature-icon { font-size: 3rem; margin-bottom: 16px; }

/* Product Showcase */
.product-showcase {
    background: #f8fafc;
    padding: 80px 0;
}
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.product-list {
    margin: 24px 0;
    list-style: none;
}
.product-list li {
    margin: 12px 0;
}
.glass-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    height: 300px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.3);
}
.inner-leds {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, #a5b4fc, #4f46e5);
    border-radius: 48px;
    opacity: 0.7;
}

/* Steps */
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}
.step {
    background: white;
    border-radius: 32px;
    padding: 32px;
    flex: 1;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.step-number {
    width: 48px;
    height: 48px;
    background: #4f46e5;
    color: white;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

/* Pricing */
.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 48px;
    padding: 40px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    text-align: center;
}
.price span {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4f46e5;
}
.btn-block {
    display: block;
    width: 100%;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
input, select, textarea {
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    font-size: 1rem;
    width: 100%;
}
textarea {
    border-radius: 24px;
}
.form-status {
    margin-top: 8px;
    font-size: 0.9rem;
}
.footer {
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
    padding: 32px 0;
}
.social-icons a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav ul.show {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-grid, .product-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}
/* محصول تصویری */
.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-img {
    max-width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.product-img:hover {
    transform: scale(1.02);
}
/* حذف استایل‌های قبلی که مربوط به glass-card بودند (اختیاری) */
/* .glass-card, .inner-leds, .mic-animation دیگر استفاده نمی‌شوند */


/* تصویر هدر (Hero) */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 48px;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}
.hero-img:hover {
    transform: scale(1.02);
}


.what-is-it-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.description {
    flex: 1;
    min-width: 250px;
}

.video-container {
    width: 100%;
    max-width: 400px;      /* rectangle width limit – adjust as needed */
    margin: 0 auto;        /* center it */
}

.video-container video {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;   /* change to 16/9 if you prefer widescreen */
    object-fit: cover;     /* fills the rectangle, cropping edges if needed */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-container.fixed-size {
    width: 480px;      /* fixed width */
    height: 270px;     /* fixed height (16:9 aspect ratio, but you can change) */
    overflow: hidden;
    border-radius: 12px;
    background-color: #000; /* fallback while loading */
    flex-shrink: 0;    /* prevent shrinking in flex layouts */
}

.video-container.fixed-size video {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* fills the box without distortion, cropping if needed */
    /* Alternative: object-fit: contain; – shows whole video with black bars */
}




/* حذف یا غیرفعال کردن استایل‌های قبلی مربوط به device-mockup */
/* دیگر نیازی به .device-mockup, .device-circle و ... نیست */