/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #06b6d4;
    --primary-dark: #0ea5e9;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --text-dark: #ffffff;
    --text-light: #cccccc;
    --bg-light: #1a1a1a;
    --bg-black: #000000;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --gradient-accent: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #000000;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        #000000;
    z-index: -2;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
            #000000;
    }
    50% { 
        background: 
            radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 30% 30%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
            #000000;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.slogan {
    color: var(--primary-color);
    margin-left: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}
/* Mobile-first responsive container */
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* Responsive video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile menu styles */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    
    .hero-image .desktop-hero {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .mobile-menu-btn,
    .mobile-menu-overlay {
        display: none;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.show {
    display: flex;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-menu-content a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.mobile-logo {
    display: none;
    max-height: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn.secondary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}
/* Hero section responsive styles */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
}

/* Hero image container for SVG */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-image svg {
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

/* Mobile-specific hero image sizing */
@media (max-width: 767px) {
    .hero-image {
        min-height: 300px;
        max-height: 400px;
    }
    
    .hero-image svg {
        width: 100%;
        max-width: 400px;
        max-height: 400px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
}

/* Tablet-specific hero image sizing */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-image {
        min-height: 400px;
        max-height: 500px;
    }
    
    .hero-image svg {
        width: 100%;
        max-width: 600px;
        max-height: 600px;
    }
}

/* Desktop-specific hero image sizing */
@media (min-width: 1024px) {
    .hero-image {
        min-height: 500px;
        max-height: none;
    }
    
    .hero-image svg {
        width: 1024px;
        height: 1024px;
        max-width: none;
        max-height: none;
    }
}

/* Large desktop screens */
@media (min-width: 1200px) {
    .hero-image svg {
        width: 1024px;
        height: 1024px;
    }
}

/* Ensure SVG maintains quality on high-DPI screens */
.hero-image svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Hover effect for desktop */
@media (hover: hover) and (min-width: 1024px) {
    .hero-image svg:hover {
        transform: scale(1.02);
    }
}

/* Container adjustments to accommodate large SVG */
@media (min-width: 1024px) {
    .hero .container {
        max-width: 1200px;
        gap: 80px;
    }
}

/* Features Section */
.features-overview {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Demo Video */
.demo-video {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonial {
    background: var(--bg-black);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-style: italic;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author h4 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.author p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    font-style: normal;
}

/* Call to Action */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.cta .btn {
    font-size: 1.2rem;
    padding: 18px 36px;
}

/* Footer */
footer {
    background: #111111;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-logo {
        display: inline-block;
    }
    
    .slogan {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 100px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 2rem;
    }
    
    .author {
        flex-direction: column;
        text-align: center;
    }
    
    /* CTA */
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.no-scroll { overflow: hidden; }