/* ==========================================
   STROMATION - AI AUTOMATION AGENCY STYLES
   Premium Rebuild 2024
   ========================================== */

/* ==========================================
   CSS CUSTOM PROPERTIES
   ========================================== */
:root {
    --primary: #00D2C6;
    --dark: #0B0F19;
    --accent: #4AF2E8;
    --light-text: #E5E7EB;
    --white: #FFFFFF;

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(11, 15, 25, 0.6);

    --font-heading: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --font-body: 'Manrope', 'Inter', -apple-system, sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   GLASSMORPHIC HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 210, 198, 0.1);
    transition: var(--transition);
}

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

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

.logo-img {
    height: 200px;
    width: auto;
    object-fit: contain;
    margin: -5rem 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

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

.cta-nav {
    padding: 0.65rem 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50px;
    color: var(--dark) !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 210, 198, 0.3);
}

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

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 198, 0.4);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 2rem 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#gradientCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.75rem;
    background: rgba(0, 210, 198, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 210, 198, 0.7);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 12px rgba(0, 210, 198, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    color: var(--light-text);
    margin-bottom: 3.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 210, 198, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 210, 198, 0.55);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
}

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

.btn-secondary:hover {
    background: rgba(0, 210, 198, 0.15);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 210, 198, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1);
}

/* ==========================================
   CORE SERVICES SECTION (NEW LAYOUT)
   ========================================== */
.services {
    position: relative;
    padding: 8rem 0;
    z-index: 10;
    background: rgba(0, 210, 198, 0.02);
}

.services-grid-core {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-core {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 24px;
    padding: 3rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card-core::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card-core:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 210, 198, 0.4);
    border-color: var(--primary);
}

.service-card-core:hover::before {
    opacity: 1;
}

.service-icon-core {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(0, 210, 198, 0.2), rgba(74, 242, 232, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card-core:hover .service-icon-core {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 20px 50px rgba(0, 210, 198, 0.6);
}

.service-icon-core svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.service-title-core {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.service-desc-core {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
}

/* ==========================================
   DEMO VIDEOS GROUPED BY SERVICE
   ========================================== */
.demo-videos-main {
    position: relative;
    padding: 8rem 0;
    z-index: 10;
    background: var(--dark);
}

.service-demo-group {
    margin-bottom: 6rem;
}

.service-demo-group:last-child {
    margin-bottom: 0;
}

.demo-group-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-align: center;
}

.demo-group-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.demo-video-item {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

.demo-video-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.demo-video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 210, 198, 0.4);
    border-color: var(--primary);
}

.demo-video-item:hover::before {
    opacity: 1;
}

.demo-video-featured {
    max-width: 800px;
    margin: 0 auto;
}

.demo-video-frame {
    width: 100%;
    height: 400px;
    background: #0B0F19;
    overflow: hidden;
    position: relative;
}

.demo-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-video-caption {
    padding: 1.5rem 2rem;
    font-size: 1rem;
    color: var(--light-text);
    text-align: center;
    line-height: 1.6;
}

.demo-group-description {
    font-size: 1.15rem;
    color: var(--light-text);
    text-align: center;
    margin-top: 2rem;
    font-weight: 500;
}

/* ==========================================
   NEW DEMO LAYOUT - GRID SYSTEM
   ========================================== */

/* Service Block Styling */
.service-block {
    margin-bottom: 5rem;
}

.service-block h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.service-subtitle {
    color: #9ca3af;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Grid for All Demo Sections */
.demo-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1000px) {
    .demo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 999px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .demo-grid {
        grid-template-columns: 1fr;
    }
}

/* 2-Column Grid for Short-Form Content (2 demos) */
.demo-grid-dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem auto;
    max-width: 1200px;
}

/* Single Featured Layout for AI Chatbot (1 demo) */
.demo-single-featured {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

/* Individual Demo Card */
.demo-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.demo-card h4 {
    color: #00D2C6;
    font-size: 18px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.demo-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 210, 198, 0.4);
    border-color: var(--primary);
}

.demo-card:hover::before {
    opacity: 1;
}

/* Featured Card Variant */
.demo-card-featured {
    max-width: 900px;
    width: 100%;
}

/* Demo Frame Wrapper */
.demo-frame-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
}

/* Demo Iframe Container */
.demo-frame {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 16px;
    background: #0B0F19;
    display: block;
}

/* Clickable overlay for fullscreen */
.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.demo-frame-featured {
    height: 500px;
}

/* Demo Title Label */
.demo-card .demo-title {
    padding: 1.25rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(0, 210, 198, 0.05);
    text-align: left;
    margin: 0;
    letter-spacing: normal;
}

/* Demo Caption for Featured Items */
.demo-caption {
    margin-top: 0.75rem;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

/* Responsive Demo Grids */
@media (min-width: 900px) {
    .demo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .demo-grid-dual {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .demo-grid-dual {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .demo-grid,
    .demo-grid-dual {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .demo-frame {
        height: 350px;
    }
    .demo-frame-featured {
        height: 400px;
    }
    .demo-card .demo-title {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
    }
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-section {
    position: relative;
    padding: 8rem 0;
    z-index: 10;
    background: rgba(0, 210, 198, 0.02);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 24px;
    padding: 3rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 210, 198, 0.35);
    border-color: var(--primary);
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Featured Plan Styling */
.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 40px rgba(0, 210, 198, 0.4);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 50px rgba(0, 210, 198, 0.6);
}

.pricing-card.featured::before {
    opacity: 1;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.pricing-plan-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.pricing-period {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--light-text);
}

.pricing-description {
    font-size: 1.05rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 280px;
    text-align: left;
}

.pricing-features li {
    font-size: 1rem;
    color: var(--light-text);
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.pricing-btn {
    display: inline-block;
    width: 100%;
    margin-top: 2rem;
    padding: 1.15rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.pricing-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 210, 198, 0.5);
}

.pricing-btn:active {
    transform: translateY(-1px) scale(1);
}

.pricing-btn.featured {
    box-shadow: 0 10px 30px rgba(0, 210, 198, 0.4);
}

.pricing-btn.featured:hover {
    box-shadow: 0 20px 50px rgba(0, 210, 198, 0.6);
}

/* Pricing Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 6rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }

    .pricing-card {
        padding: 2.5rem 2rem;
    }

    .pricing-icon {
        font-size: 3rem;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 5rem 0;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .pricing-plan-name {
        font-size: 1.25rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .pricing-period {
        font-size: 1rem;
    }

    .pricing-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .pricing-features {
        max-width: 100%;
    }

    .pricing-features li {
        font-size: 0.95rem;
        padding: 0.6rem 0;
    }

    .pricing-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .pricing-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        top: 15px;
        right: 15px;
    }
}

/* ==========================================
   CONTACT + BOOK A CALL SECTION
   ========================================== */
.contact-section {
    position: relative;
    padding: 8rem 0;
    z-index: 10;
    background: var(--dark);
    text-align: center;
}

.cta-call-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 14px;
    text-decoration: none;
    margin-bottom: 3.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 210, 198, 0.4);
    letter-spacing: 0.01em;
}

.cta-call-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 210, 198, 0.6);
    background: linear-gradient(135deg, #0ff5e6, #5ffff0);
}

.cta-call-btn:active {
    transform: translateY(-1px) scale(1);
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    padding: 1.15rem 1.5rem;
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 210, 198, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--light-text);
    opacity: 0.7;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    border: none;
    padding: 1.15rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    box-shadow: 0 10px 30px rgba(0, 210, 198, 0.3);
    letter-spacing: 0.01em;
}

.contact-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 210, 198, 0.5);
    background: linear-gradient(135deg, #0ff5e6, #5ffff0);
}

.contact-submit:active {
    transform: translateY(-1px) scale(1);
}

/* Contact Section Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 6rem 0;
    }

    .cta-call-btn {
        width: 100%;
        max-width: 100%;
        padding: 1.15rem 2rem;
        font-size: 1.05rem;
        margin-bottom: 3rem;
    }

    .contact-form {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .contact-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 5rem 0;
    }

    .cta-call-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.95rem 1.15rem;
        font-size: 0.9rem;
    }

    .contact-submit {
        padding: 0.95rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ==========================================
   OLD SERVICES SECTION (Preserved but hidden)
   ========================================== */

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card-large {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 24px;
    padding: 3rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card-large::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 210, 198, 0.35);
    border-color: var(--primary);
}

.service-card-large:hover::before {
    opacity: 1;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(0, 210, 198, 0.2), rgba(74, 242, 232, 0.2));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card-large:hover .service-icon-large {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 210, 198, 0.5);
}

.service-icon-large svg {
    width: 42px;
    height: 42px;
    color: var(--primary);
}

.service-title-large {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.service-subtitle-large {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-desc-large {
    font-size: 1.05rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 1rem;
    color: var(--light-text);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 210, 198, 0.3);
    border-color: var(--primary);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, rgba(0, 210, 198, 0.2), rgba(74, 242, 232, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 210, 198, 0.4);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--white);
}

.service-desc {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
}

/* ==========================================
   DEMO VIDEOS SECTION
   ========================================== */
.demo-videos {
    position: relative;
    padding: 8rem 0;
    z-index: 10;
    background: var(--dark);
}

.demo-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.demo-video-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

.demo-video-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.demo-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 210, 198, 0.4);
    border-color: var(--primary);
}

.demo-video-card:hover::before {
    opacity: 1;
}

.demo-video-frame {
    width: 100%;
    height: 400px;
    background: #0B0F19;
    overflow: hidden;
    position: relative;
}

.demo-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-video-info {
    padding: 2rem;
}

.demo-video-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.demo-video-caption {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
}

/* ==========================================
   LIVE INTERACTIVE DEMOS
   ========================================== */
.live-demos {
    position: relative;
    padding: 8rem 0;
    background: rgba(0, 210, 198, 0.02);
    z-index: 10;
}

.live-demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(900px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.live-demo-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.live-demo-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 210, 198, 0.25);
}

.live-demo-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.live-demo-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.live-demo-header p {
    font-size: 1rem;
    color: var(--light-text);
}

.live-demo-frame {
    width: 100%;
    height: 500px;
    background: #0B0F19;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 198, 0.2);
}

.live-demo-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   DEMO SECTIONS
   ========================================== */
.demo-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.demo-section:nth-child(even) {
    background: rgba(0, 210, 198, 0.02);
}

.demo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.demo-header {
    text-align: center;
    margin-bottom: 5rem;
}

.demo-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.demo-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.demo-video {
    width: 100%;
    max-width: 950px;
    height: 500px;
    background: #0B0F19;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 198, 0.2);
    margin: 0 auto 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.demo-step {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.demo-step::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.demo-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.demo-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 210, 198, 0.35);
    border-color: var(--primary);
}

.demo-step:hover::before {
    opacity: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(0, 210, 198, 0.2), rgba(74, 242, 232, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
}

.step-icon svg {
    width: 36px;
    height: 36px;
}

.step-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 198, 0.5), transparent 70%);
    opacity: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

.demo-step:hover .step-icon::after {
    opacity: 1;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.85rem;
}

.step-desc {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
}

.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits {
    position: relative;
    padding: 8rem 0;
    background: rgba(0, 210, 198, 0.02);
    z-index: 10;
}

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

.benefit-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 210, 198, 0.3);
    border-color: var(--primary);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, rgba(0, 210, 198, 0.2), rgba(74, 242, 232, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 210, 198, 0.4);
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--white);
}

.benefit-desc {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
}

/* ==========================================
   STATS BANNER
   ========================================== */
.stats-banner {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 210, 198, 0.3);
    border-color: var(--primary);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 500;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    position: relative;
    padding: 8rem 0;
    background: rgba(0, 210, 198, 0.02);
    z-index: 10;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 210, 198, 0.3);
    border-color: var(--primary);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--light-text);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.95rem;
    color: var(--primary);
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */
.final-cta {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-text);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    position: relative;
    padding: 8rem 0;
    z-index: 10;
    background: rgba(0, 210, 198, 0.02);
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    padding: 2rem 2.25rem;
    border-radius: 16px;
    text-align: left;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 210, 198, 0.3);
    transform: translateY(-3px);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.faq-answer {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 6rem 0;
    }

    .faq-container {
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.75rem 1.5rem;
    }

    .faq-question {
        font-size: 1.15rem;
    }

    .faq-answer {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 5rem 0;
    }

    .faq-container {
        gap: 1.25rem;
    }

    .faq-item {
        padding: 1.5rem 1.25rem;
    }

    .faq-question {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }

    .faq-answer {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.whyus-section {
    position: relative;
    padding: 8rem 0;
    z-index: 10;
    background: var(--dark);
    text-align: center;
}

.whyus-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.whyus-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 198, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.whyus-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.whyus-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 50px rgba(0, 210, 198, 0.3);
    transform: translateY(-5px);
}

.whyus-card:hover::before {
    opacity: 1;
}

.whyus-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.whyus-card-desc {
    font-size: 1.05rem;
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
}

/* Why Choose Us Responsive Design */
@media (max-width: 900px) {
    .whyus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .whyus-section {
        padding: 6rem 0;
    }

    .whyus-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .whyus-card {
        padding: 2rem;
    }

    .whyus-card-title {
        font-size: 1.2rem;
    }

    .whyus-card-desc {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .whyus-section {
        padding: 5rem 0;
    }

    .whyus-grid {
        gap: 1.25rem;
    }

    .whyus-card {
        padding: 1.75rem;
    }

    .whyus-card-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .whyus-card-desc {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
    position: relative;
    background: rgba(11, 15, 25, 0.95);
    padding: 5rem 0 2rem;
    border-top: 2px solid rgba(0, 210, 198, 0.2);
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Brand Area */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.footer-tagline {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Quick Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Social Icons */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 210, 198, 0.1);
    border: 1px solid rgba(0, 210, 198, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: rgba(0, 210, 198, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 210, 198, 0.3);
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Copyright */
.footer-copy {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 599px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

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

    .footer-brand,
    .footer-links,
    .footer-social,
    .footer-contact {
        align-items: center;
    }

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

    .footer-links a:hover {
        transform: none;
    }
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .services-grid,
    .services-grid-new,
    .services-grid-core,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .demo-group-videos {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .demo-videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }

    .demo-video-frame {
        height: 350px;
    }

    .live-demos-grid {
        grid-template-columns: 1fr;
    }

    .live-demo-frame {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.25rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .hero {
        padding: 120px 1.5rem 80px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: clamp(1.05rem, 4vw, 1.25rem);
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 1.15rem 2rem;
        font-size: 1.05rem;
    }

    .services-grid,
    .services-grid-new,
    .services-grid-core,
    .demo-steps,
    .demo-videos-grid,
    .demo-group-videos,
    .benefits-grid,
    .pricing-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .service-card-large {
        padding: 2rem;
    }

    .service-card-core {
        padding: 2.5rem 2rem;
    }

    .service-demo-group {
        margin-bottom: 4rem;
    }

    .demo-group-title {
        font-size: 1.75rem;
    }

    .demo-video-frame {
        height: 300px;
    }

    .demo-video-info {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 1rem 70px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

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

    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .demo-section,
    .services,
    .demo-videos,
    .demo-videos-main,
    .benefits,
    .pricing,
    .testimonials,
    .stats-banner,
    .final-cta {
        padding: 5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .demo-header {
        margin-bottom: 3rem;
    }

    .service-card-large {
        padding: 1.5rem;
    }

    .service-card-core {
        padding: 2rem 1.5rem;
    }

    .service-icon-large {
        width: 70px;
        height: 70px;
    }

    .service-icon-core {
        width: 75px;
        height: 75px;
    }

    .service-icon-core svg {
        width: 40px;
        height: 40px;
    }

    .service-title-core {
        font-size: 1.5rem;
    }

    .service-desc-core {
        font-size: 1rem;
    }

    .demo-group-title {
        font-size: 1.5rem;
    }

    .demo-video-frame {
        height: 280px;
    }

    .demo-videos-grid {
        gap: 1.5rem;
    }

    .service-demo-group {
        margin-bottom: 3rem;
    }

    .demo-group-description {
        font-size: 1rem;
    }
}

/* ==========================================
   DEMO MODAL FOR FULLSCREEN VIEWING
   ========================================== */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.demo-modal.active {
    display: block;
}

.demo-modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1400px;
    height: 90vh;
    animation: modalSlideIn 0.4s ease-out;
}

.demo-modal-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    background: #0B0F19;
    box-shadow: 0 30px 80px rgba(0, 210, 198, 0.5);
    pointer-events: auto; /* Re-enable interactions in fullscreen */
}

.demo-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
    background: rgba(255, 0, 0, 0.8);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #ffffff;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.demo-modal-close:hover,
.demo-modal-close:focus {
    color: #ffffff;
    background: rgba(255, 0, 0, 1);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.6);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Make demo overlays show click indicator */
.demo-overlay::after {
    content: '🔍 Click to expand';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 210, 198, 0.9);
    color: var(--dark);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.demo-card:hover .demo-overlay::after {
    opacity: 1;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .demo-modal-content {
        width: 95%;
        height: 85vh;
        margin: 5% auto;
    }

    .demo-modal-close {
        top: 15px;
        right: 15px;
        font-size: 40px;
        width: 50px;
        height: 50px;
        border: 2px solid #ffffff;
    }

    .demo-frame::after {
        font-size: 10px;
        padding: 6px 10px;
        bottom: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .demo-modal-content {
        width: 98%;
        height: 80vh;
        margin: 8% auto;
    }

    .demo-modal-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
        width: 45px;
        height: 45px;
        border: 2px solid #ffffff;
    }

    .demo-modal-frame {
        border-radius: 8px;
    }

    .demo-frame::after {
        font-size: 9px;
        padding: 5px 8px;
    }
}
