/* ==========================================================================
   Blue EdgeZ - Consolidated Modern CSS
   ========================================================================== */

/* Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --darker: #020617;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Theme Colors (used by different pages) */
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --purple: #a855f7;
    --cyan: #06b6d4;
    --orange: #fb923c;
    --yellow: #fbbf24;
    --green: #10b981;
    --teal: #14b8a6;
    --red: #f43f5e;
    --slate: #64748b;
    
    /* Gradients */
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-pink: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-orange: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-slate: linear-gradient(135deg, #64748b 0%, #475569 100%);
    --gradient-warm: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    --gradient-rainbow: linear-gradient(135deg, #f43f5e 0%, #fb923c 25%, #fbbf24 50%, #14b8a6 75%, #6366f1 100%);
    
    /* Status Colors */
    --success: #10b981;
    --error: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

nav.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropbtn {
    background: var(--gradient);
    color: white;
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    min-width: 200px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text);
    padding: 1rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: rgba(99, 102, 241, 0.2);
    padding-left: 2rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

.floating {
    position: absolute;
    animation: float 20s ease-in-out infinite;
}

.float-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 30%;
    right: 15%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    animation-delay: 5s;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content .tagline {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.app-stores {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.store-badge {
    height: 50px;
    transition: transform 0.3s;
}

.store-badge:hover {
    transform: scale(1.05);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-preview {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Titles
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Features & Cards
   ========================================================================== */
.features,
.benefits,
.apps-section {
    padding: 6rem 2rem;
}

.features-grid,
.benefits-grid,
.apps-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card,
.benefit-card,
.app-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card:hover,
.benefit-card:hover,
.app-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon,
.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3,
.benefit-card h3,
.app-card h2 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p,
.benefit-card p,
.app-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* App Cards (Home Page) */
.app-card {
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.app-card:hover::before {
    opacity: 0.05;
}

.app-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.app-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.app-content {
    padding: 2rem;
    position: relative;
}

.app-tagline {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.app-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.app-link:hover {
    gap: 1rem;
}

.app-link::after {
    content: '→';
    transition: transform 0.3s;
}

.app-link:hover::after {
    transform: translateX(5px);
}

/* Highlights & Use Cases
   ========================================================================== */
.highlights,
.use-cases {
    padding: 6rem 2rem;
    background: var(--dark);
}

.highlights-content,
.use-cases-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.highlight-box,
.use-case-box {
    background: rgba(168, 85, 247, 0.1);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.highlight-box h3,
.use-case-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.highlight-box p,
.use-case-box p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Screenshots Gallery
   ========================================================================== */
.gallery {
    padding: 6rem 2rem;
}

.screenshots-grid {
    max-width: 1400px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.screenshot-item {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* CTA Section
   ========================================================================== */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.cta-button::after {
    content: '→';
    transition: transform 0.3s;
}

.cta-button:hover::after {
    transform: translateX(5px);
}

/* Contact Page
   ========================================================================== */
.contact-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-section {
    padding: 4rem 2rem 6rem;
    background: var(--darker);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.info-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.required {
    color: var(--error);
    margin-left: 0.25rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer
   ========================================================================== */
footer {
    background: var(--dark-light);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid var(--primary);
    font-weight: 600;
    transition: all 0.3s;
}

.footer-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }
.app-card:nth-child(4) { animation-delay: 0.4s; }
.app-card:nth-child(5) { animation-delay: 0.5s; }
.app-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design
   ========================================================================== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .app-stores {
        justify-content: center;
    }
    
    .features-grid,
    .benefits-grid,
    .apps-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .highlight-box,
    .use-case-box {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .hero-content h1 {
        letter-spacing: -1px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Page-Specific Theme Overrides
   ========================================================================== 
   Add these classes to <body> tag:
   - .theme-purple (Finger Maestro, Tactile Paint)
   - .theme-pink (Image Painter)
   - .theme-orange (Math Rocket)
   - .theme-slate (Ink Sketch)
   - .theme-blue (Blur Guard)
   - .theme-rainbow (Trans Color)
*/

/* Purple Theme */
.theme-purple .hero-content h1 {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-purple .hero-content .tagline,
.theme-purple .feature-card h3,
.theme-purple .footer-section h4 {
    color: var(--purple);
}

.theme-purple .feature-card:hover,
.theme-purple .benefit-card:hover {
    border-color: var(--purple);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.theme-purple .feature-icon,
.theme-purple .benefit-icon {
    background: var(--gradient-purple);
}

/* Pink Theme */
.theme-pink .hero-content h1 {
    background: linear-gradient(135deg, #fff 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-pink .hero-content .tagline,
.theme-pink .feature-card h3,
.theme-pink .footer-section h4 {
    color: var(--secondary);
}

.theme-pink .feature-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.2);
}

.theme-pink .feature-icon {
    background: var(--gradient-pink);
}

/* Orange Theme */
.theme-orange .hero-content h1 {
    background: linear-gradient(135deg, #fff 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-orange .hero-content .tagline,
.theme-orange .benefit-card h3,
.theme-orange .footer-section h4 {
    color: var(--orange);
}

.theme-orange .benefit-card:hover {
    border-color: var(--orange);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.2);
}

.theme-orange .benefit-icon {
    background: var(--gradient-orange);
}

.theme-orange .feature-card h3 {
    color: var(--green);
}

.theme-orange .feature-card:hover {
    border-color: var(--green);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
}

.theme-orange .feature-icon {
    background: var(--gradient-green);
}

/* Slate Theme */
.theme-slate .hero-content h1 {
    background: linear-gradient(135deg, #fff 0%, #64748b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-slate .hero-content .tagline,
.theme-slate .feature-card h3,
.theme-slate .footer-section h4 {
    color: var(--slate);
}

.theme-slate .feature-card:hover {
    border-color: var(--slate);
    box-shadow: 0 10px 40px rgba(100, 116, 139, 0.2);
}

.theme-slate .feature-icon {
    background: var(--gradient-slate);
}

/* Blue Theme */
.theme-blue .hero-content h1 {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-blue .hero-content .tagline {
    color: var(--primary);
}

.theme-blue .feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

/* Rainbow Theme */
.theme-rainbow .hero-content h1 {
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-rainbow .hero-content .tagline,
.theme-rainbow .feature-card h3,
.theme-rainbow .footer-section h4 {
    color: var(--red);
}

.theme-rainbow .feature-card:hover {
    border-color: var(--red);
    box-shadow: 0 10px 40px rgba(244, 63, 94, 0.2);
}

.theme-rainbow .feature-icon {
    background: var(--gradient-warm);
}

.theme-rainbow .highlight-box,
.theme-rainbow .use-case-box {
    background: rgba(244, 63, 94, 0.1);
    border: 2px solid rgba(244, 63, 94, 0.3);
}

.theme-rainbow .highlight-box h3,
.theme-rainbow .use-case-box h3 {
    color: var(--red);
}

/* Utility Classes
   ========================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Background Variations
   ========================================================================== */
.bg-dark {
    background: var(--dark);
}

.bg-dark-light {
    background: var(--dark-light);
}

.bg-darker {
    background: var(--darker);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
}

.bg-gradient-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(99, 102, 241, 0.1));
}

.bg-gradient-blue {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.bg-gradient-slate {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), rgba(14, 165, 233, 0.1));
}

.bg-gradient-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
}

.bg-gradient-rainbow {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(20, 184, 166, 0.1));
}

/* Radial Background Effects
   ========================================================================== */
.bg-radial-purple {
    background: 
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.15), transparent 50%);
}

.bg-radial-orange {
    background: 
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.15), transparent 50%);
}

.bg-radial-pink {
    background: 
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 50%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.1), transparent 50%);
}

.bg-radial-slate {
    background: 
        radial-gradient(circle at top right, rgba(100, 116, 139, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.15), transparent 50%);
}

.bg-radial-blue {
    background: 
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 50%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.1), transparent 50%);
}

.bg-radial-rainbow {
    background: 
        radial-gradient(circle at top right, rgba(244, 63, 94, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.15), transparent 50%),
        radial-gradient(circle at center, rgba(251, 146, 60, 0.1), transparent 60%);
}

/* Pattern Overlays
   ========================================================================== */
.pattern-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(99,102,241,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

/* Print Styles
   ========================================================================== */
@media print {
    nav,
    .mobile-menu,
    .cta-section,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .features,
    .gallery {
        page-break-inside: avoid;
    }
}

/* Accessibility
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}