/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4aa;      /* Teal - main brand color */
    --primary-dark: #00b894; /* Darker teal for hover states */
    --primary-light: #e8faf6; /* Light teal background */
    --secondary: #df2935;    /* Scarlet Rush - accent/important elements */
    --accent: #00d4aa;       /* Teal accent */
    --accent-text: #00d4aa;  /* Teal accent text */
    --dark: #1a1a2e;         /* Dark text color */
    --light-bg: #f8fafc;     /* Light backgrounds */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #1a1a2e;     /* Dark text */
    --text-dark: #1a1a2e;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-accent: #f0fdf9;
    --border-light: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #2561ff;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(55, 114, 255, 0.3);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

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

.btn-white:hover {
    background: var(--gray-100);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--accent);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 0.5rem;
}

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

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--gray-100);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: white;
    font-weight: 600;
    background: var(--primary);
    border-radius: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--gray-700);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 7, 8, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(8, 7, 8, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero .accent-text {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.stars {
    color: #facc15;
    display: flex;
    gap: 0.125rem;
}

.phone-mockup {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    margin: 0 auto;
    color: var(--gray-900);
}

.call-interface {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 0.75rem;
    padding: 1rem;
    color: white;
    margin-bottom: 1rem;
}

.call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.status-indicator {
    width: 0.75rem;
    height: 0.75rem;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    padding: 5rem 0;
    background: white;
}

.pain-points {
    max-width: 800px;
    margin: 0 auto;
}

.pain-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.pain-point-icon {
    color: #ef4444;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-medium);
}

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

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gray-300);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.15);
    margin-top: 1.5rem;
}

.popular-badge {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    white-space: nowrap;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.check-icon {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: white;
}

.footer-section a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    color: var(--gray-400);
}

/* Particle Background */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
}

@keyframes particleRising {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift));
        opacity: 0;
    }
}

@keyframes particleHorizontalLeft {
    0% {
        transform: translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0.8;
    }
}

@keyframes particleHorizontalRight {
    0% {
        transform: translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-100vw);
        opacity: 0.8;
    }
}

@keyframes confettiBurst {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--confetti-x), var(--confetti-y)) scale(0.3) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    /* iOS App Section Mobile Fixes */
    #ios-app > .container > div {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    #ios-app .container > div > div:last-child {
        max-height: 400px;
        overflow: hidden;
    }
    
    #ios-app .container > div > div:last-child > div {
        transform: scale(0.7);
        transform-origin: center top;
    }
    
    /* Container padding adjustments */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Navigation fixes */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        padding: 0 0.5rem;
    }
    
    /* Navigation buttons responsiveness */
    nav > div:last-child {
        gap: 0.5rem !important;
    }
    
    nav .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    /* Hero section fixes */
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    /* Video demo section - stack videos on mobile */
    #video-demo > .container > div:first-of-type {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    /* Phone mockup responsiveness */
    .phone-mockup {
        max-width: 100%;
        margin: 0;
        padding: 1rem;
    }
    
    /* Grid layouts - prevent overflow */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Feature cards responsive adjustments */
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Pricing cards responsive fixes */
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card.popular {
        transform: none;
        margin-top: 1rem;
    }
    
    /* Contact form responsiveness */
    .contact-form {
        margin: 0 0.5rem;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer responsiveness */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Section padding adjustments */
    .features,
    .social-proof,
    .testimonials,
    .pricing,
    .contact {
        padding: 3rem 0;
    }
    
    /* Typography adjustments */
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    /* Pain points section */
    .pain-points {
        padding: 0 0.5rem;
    }
    
    /* Toast notification positioning */
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        margin: 0 auto;
        max-width: calc(100vw - 2rem);
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    /* Even smaller padding for very small screens */
    .container {
        padding: 0 0.5rem;
    }
    
    /* Navigation adjustments */
    .logo {
        font-size: 1.125rem;
    }
    
    .logo-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    nav .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Hero typography for very small screens */
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Card padding reductions */
    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 0.25rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Pricing card prices */
    .plan-price {
        font-size: 2.5rem;
    }
}

/* Prevent horizontal scrolling */
body, html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all elements respect container boundaries */
* {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix potential image overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure grids don't overflow */
.features-grid,
.testimonials-grid,
.pricing-grid {
    width: 100%;
    overflow: hidden;
}

/* Fix form elements */
.form-group input,
.form-group textarea {
    box-sizing: border-box;
    max-width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--primary);
    background: var(--gray-50);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    animation: slideIn 0.3s ease-out;
    z-index: 100;
    color: var(--gray-900);
}

.toast.show {
    display: block;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Features Page Specific Styles */
.features-hero {
    padding: 8rem 0 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.features-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.features-hero .subtitle {
    font-size: 1.25rem;
    text-align: left;
    max-width: 800px;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.features-hero .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.security-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-icon {
    font-size: 2.5rem;
    color: #10b981;
}

/* About Page Specific Styles */
.mission {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 3rem;
    margin: 2rem 0;
}

.mission h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.mission p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(55, 114, 255, 0.3);
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.team-role {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Additional Features Page Grid Styles */
.language-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.language-flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    transition: all 0.2s;
    color: var(--text-dark);
}

.language-flag:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

.metric-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-testimonial {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
}

/* ========================================
   FEATURES PAGE STYLES
   ======================================== */

/* Feature Sections */
.feature-section {
    padding: 5rem 0;
    background: white;
    position: relative;
}

.feature-section:nth-child(even) {
    background: var(--bg-light);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-section:nth-child(even) .feature-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.feature-section:nth-child(even) .feature-content > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-text .accent {
    color: var(--primary);
}

.feature-text p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feature-list-icon {
    color: var(--primary);
    margin-right: 0.75rem;
    margin-top: 0.125rem;
}

.feature-visual {
    position: relative;
}

.feature-demo {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.demo-header h3 {
    color: var(--text-dark);
}

/* Voice AI Demo */
.voice-demo {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: white;
}

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    height: 60px;
    margin: 1.5rem 0;
}

.wave-bar {
    width: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 45px; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 35px; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 25px; animation-delay: 0.7s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* Language Grid */
.language-flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
    color: var(--text-dark);
}

.language-flag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.flag-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.flag-name {
    font-size: 0.75rem;
}

/* Analytics Demo */
.metric-card {
    background: white;
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.chart-container {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
}

.chart-bar {
    width: 30px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s;
}

/* Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.comparison-section .section-title {
    color: var(--text-dark);
    font-weight: 700;
}

.comparison-section .section-subtitle {
    color: var(--text-medium);
}

.modphone-column {
    background: var(--primary-light);
    font-weight: 600;
    color: var(--text-dark);
}

.check-mark {
    color: #10b981;
    font-weight: bold;
}

.x-mark {
    color: #ef4444;
    font-weight: bold;
}

/* Security Features */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.badge-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.badge-description {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* API Section */
.code-block {
    background: var(--gray-900);
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.code-comment {
    color: #6b7280;
}

.code-string {
    color: #86efac;
}

.code-keyword {
    color: #c084fc;
}

/* Testimonials */
.feature-testimonials {
    padding: 5rem 0;
    background: white;
}

.feature-testimonials .section-title {
    color: var(--text-dark);
    font-weight: 700;
}

.feature-testimonial p {
    color: var(--text-medium);
}

.testimonial-author {
    color: var(--text-dark);
}

.testimonial-feature {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Demo Video */
.video-container {
    position: relative;
    background: var(--gray-900);
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 25px solid var(--primary);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

/* ========================================
   PRICING PAGE STYLES
   ======================================== */

/* ROI Calculator */
.roi-calculator {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.calculator-input {
    margin-bottom: 1.5rem;
}

.calculator-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.calculator-input input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
}

.calculator-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.calculator-value span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.125rem;
}

.roi-results {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.roi-stat {
    margin-bottom: 1rem;
}

.roi-stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.roi-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.roi-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 1rem;
}

/* Comparison Table */
.comparison {
    padding: 5rem 0;
    background: white;
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--gray-100);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--gray-200);
}

.comparison-table th:first-child {
    width: 40%;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table tr:hover {
    background: var(--gray-50);
}

.feature-check {
    color: var(--primary);
    font-weight: 600;
}

.feature-x {
    color: var(--gray-400);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    color: var(--gray-900) !important;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-arrow {
    transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 1.5rem;
    color: var(--gray-700) !important;
}

.faq-answer p {
    color: var(--gray-700) !important;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Guarantee Section */
.guarantee {
    padding: 5rem 0;
    background: white;
}

.guarantee-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guarantee-box h2,
.guarantee-box h3 {
    color: var(--gray-900) !important;
}

.guarantee-box p,
.guarantee-box ul,
.guarantee-box li {
    color: var(--gray-700) !important;
}

.guarantee-badge {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: var(--primary);
    transform: rotate(45deg);
}

.guarantee-text {
    position: absolute;
    top: 20px;
    right: 5px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    transform: rotate(45deg);
}

/* ========================================
   CASE STUDIES PAGE STYLES
   ======================================== */

/* Overview Section */
.overview {
    padding: 5rem 0;
    background: var(--gray-50);
}

.overview .section-title,
.overview .section-subtitle {
    color: var(--gray-900);
}

.overview .section-subtitle {
    color: var(--gray-600);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.overview-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.overview-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.overview-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.overview-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Filter Section */
.filter-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-light);
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--text-medium);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

/* Case Studies Grid */
.case-studies {
    padding: 5rem 0;
    background: white;
}

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

.case-study-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.case-study-industry {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.case-study-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.case-study-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.case-study-content {
    padding: 2rem;
}

.case-study-challenge {
    margin-bottom: 2rem;
}

.case-study-challenge h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.case-study-challenge p {
    color: var(--text-medium);
    line-height: 1.6;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.case-study-quote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.quote-text {
    font-style: italic;
    color: var(--text-medium);
}

.case-study-expand {
    padding: 0 2rem 2rem;
}

.expand-btn {
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.expand-content {
    display: none;
    padding: 2rem 0 0;
}

.case-study-card.expanded .expand-content {
    display: block;
}

/* Before/After Sections */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.before-after-item {
    text-align: center;
}

.before-after-item h5 {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.before-item {
    color: var(--error);
}

.after-item {
    color: var(--success);
}

/* Industry Benefits */
.industry-benefits {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.industry-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.industry-benefits-list {
    list-style: none;
}

.industry-benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.industry-benefits-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
}

/* Download Section */
.download-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-section h2 {
    margin-bottom: 1rem;
}

.download-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE STYLES FOR NEW LAYOUTS
   ======================================== */

@media (max-width: 768px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-section:nth-child(even) .feature-content {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FIX: Missing Hero Stats Styles for Case Studies
   ======================================== */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

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

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* ========================================
   FIX: White Text on White Background Issues
   ======================================== */

/* Fix comparison table text colors */
.comparison-table th {
    color: var(--gray-900) !important;
}

.comparison-table td {
    color: var(--gray-700) !important;
}

/* Ensure features-hero section has proper background */
.features-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 50%, var(--dark) 100%);
}

/* ========================================
   FIX: Case Studies Grid to Vertical Stack
   ======================================== */

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   FIX: CTA Section Text Alignment  
   ======================================== */

.cta-section h2,
.cta-section p,
.cta-section .cta-buttons {
    text-align: center;
}

.cta-section .cta-buttons {
    justify-content: center;
}

/* ========================================
   FIX: Features Hero Highlights Grid
   ======================================== */

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .feature-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   DEMO PAGE STYLES
   ======================================== */

.demo-interface {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.demo-header h3 {
    color: var(--gray-900) !important;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-status span {
    color: #374151 !important;
}

.status-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

.demo-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.stat-card {
    background: rgba(249, 250, 251, 0.95);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.stat-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

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

.demo-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

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

.demo-feature {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.demo-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.demo-feature.active {
    border-color: var(--primary);
    background: rgba(55, 114, 255, 0.05);
}

.demo-walkthrough {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
}

.demo-steps {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.step-list {
    list-style: none;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.step-item:hover {
    background: var(--bg-light);
}

.step-item.active {
    background: var(--primary);
    color: white;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    flex-shrink: 0;
    color: var(--text-dark);
}

.step-item.active .step-number {
    background: white;
    color: var(--primary);
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.step-item.active .step-title {
    color: white;
}

.step-description {
    font-size: 0.875rem;
    color: var(--text-light);
}

.demo-visualization {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--gray-900);
}

.demo-visualization h4 {
    color: var(--gray-900) !important;
    margin-bottom: 1rem;
}

.demo-visualization p {
    color: var(--gray-700) !important;
}

.demo-testimonials {
    padding: 5rem 0;
    background: white;
}

.demo-testimonials .section-title {
    color: var(--gray-900) !important;
}

.demo-testimonials .section-subtitle {
    color: var(--gray-600) !important;
}

.demo-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.demo-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.demo-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Demo Styles */
@media (max-width: 768px) {
    .demo-features {
        grid-template-columns: 1fr;
    }

    .demo-steps {
        grid-template-columns: 1fr;
    }

    .demo-stats {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CITY PAGES STYLES (Light Mode)
   ======================================== */

.city-hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.city-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.city-hero .accent-text {
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.city-hero .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.city-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.city-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.city-stat .label {
    color: rgba(255, 255, 255, 0.8);
}

.industries-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.industries-section .section-title {
    color: var(--text-dark);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.industries-grid .industry-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.industries-grid .industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.industries-grid .industry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.industries-grid .industry-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.local-section {
    padding: 4rem 0;
    background: white;
}

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

.local-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.local-content p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-section .section-title {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

    .city-stats {
        gap: 1.5rem;
    }
}

/* Cities Index Page Styles */
.cities-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cities-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cities-hero .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.region-section {
    padding: 3rem 0;
    background: white;
}

.region-section:nth-child(even) {
    background: var(--bg-light);
}

.region-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.region-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.city-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
}

.city-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.city-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.city-card h3 svg {
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.2s, transform 0.2s;
    color: var(--primary);
}

.city-card:hover h3 svg {
    opacity: 1;
    transform: translateX(0);
}

.city-card .state {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.city-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.city-card .industries {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-card .industry-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 9999px;
}

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

/* ========================================
   NAV BUTTONS & SIMPLE FOOTER STYLES
   ======================================== */

/* Nav buttons container */
.nav-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Logo styles for header */
.logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
}

/* Simple footer pattern (used on pricing, about, cities pages) */
.footer {
    padding: 3rem 2rem;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.footer-logo img {
    width: 24px;
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA section buttons container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA section text styles */
.cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    color: white;
    margin-bottom: 1rem;
}

/* Button variants for CTA sections */
.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .nav-buttons {
        gap: 0.5rem;
    }
}
