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

:root {
    /* Primary Brand Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    
    /* Neutral Colors */
    --dark-bg: #0f0f23;
    --darker-bg: #080817;
    --card-bg: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Accent Colors */
    --gold: #fbbf24;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile viewport fix */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    * {
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: var(--font-size-base);
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section with Parallax */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    overflow: hidden;
}

/* Parallax Background Layer */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: -20%;
    background: url('img/Foggy Room BG.png') center/cover;
    opacity: 0.15;
    z-index: 1;
    will-change: transform;
    transition: transform 0.1s ease-out;
    transform: translateY(var(--hero-scroll, 0));
}

/* Animated Star Field */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

@keyframes sparkle {
    from { transform: translateX(0); }
    to { transform: translateX(200px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    z-index: 2;
    will-change: transform;
}

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 3;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section with Parallax */
.about {
    padding: var(--section-padding);
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -20px) rotate(1deg); }
    50% { transform: translate(20px, -10px) rotate(-1deg); }
    75% { transform: translate(-10px, 20px) rotate(0.5deg); }
}

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

.about-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.8s ease;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover::after {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: var(--font-size-xl);
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.about-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Services Section with Parallax */
.services {
    padding: var(--section-padding);
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(99, 102, 241, 0.02) 49%, rgba(99, 102, 241, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(139, 92, 246, 0.02) 49%, rgba(139, 92, 246, 0.02) 51%, transparent 52%);
    background-size: 60px 60px;
    animation: slide 25s linear infinite;
    z-index: 1;
}

@keyframes slide {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

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

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 30%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

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

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: var(--font-size-2xl);
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

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

.service-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Philosophy Section */
.philosophy {
    padding: var(--section-padding);
    background: var(--darker-bg);
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.philosophy-content {
    position: relative;
    z-index: 2;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.philosophy-header h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

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

.philosophy-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-xl);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: var(--font-size-xl);
    color: white;
}

.philosophy-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.philosophy-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--font-size-sm);
}

.philosophy-quote {
    text-align: center;
    margin-top: 3rem;
}

.philosophy-quote blockquote {
    font-size: var(--font-size-xl);
    font-style: italic;
    color: var(--text-primary);
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--darker-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-text {
    text-align: right;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    max-width: 70%;
    line-height: 1.4;
}

.footer-copyright {
    margin-bottom: 1.5rem;
}

.copyright-main {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.copyright-warning {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-style: italic;
}

.copyright-year {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.dmca-protection, .phonetic-protection {
    margin-bottom: 0.75rem;
}

.dmca-notice, .phonetic-notice {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    line-height: 1.4;
}

.dmca-notice strong, .phonetic-notice strong {
    color: var(--primary-color);
    font-weight: 600;
}

.dmca-notice a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dmca-notice a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-xl);
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        padding: 1.25rem 2rem;
        font-size: var(--font-size-lg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Mobile Hero Section */
    .hero {
        padding: 0 1rem;
        min-height: 100vh;
    }

    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: var(--font-size-base);
    }

    .hero-stats {
        position: static;
        transform: none;
        margin-top: 2rem;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .stat {
        min-width: 80px;
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    /* Mobile Sections */
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: var(--font-size-3xl);
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: var(--font-size-base);
        padding: 0 0.5rem;
    }

    /* Mobile Grids */
    .about-grid,
    .services-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Mobile Cards */
    .about-card,
    .service-card,
    .philosophy-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .card-icon,
    .service-icon,
    .philosophy-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
        margin-bottom: 1rem;
    }

    .about-card h3,
    .service-card h3,
    .philosophy-card h3 {
        font-size: var(--font-size-lg);
        margin-bottom: 0.75rem;
    }

    .about-card p,
    .service-card p,
    .philosophy-card p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }

    /* Mobile Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    /* Mobile Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .footer-text {
        text-align: center;
        max-width: 100%;
    }

    .footer-copyright {
        margin-bottom: 1rem;
    }

    .copyright-main {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }

    .dmca-notice, .phonetic-notice {
        font-size: 0.625rem;
        line-height: 1.3;
    }

    .footer-legal {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    /* Mobile Philosophy Quote */
    .philosophy-quote blockquote {
        font-size: var(--font-size-lg);
        padding: 1.5rem;
        margin: 0 1rem;
    }

    /* Reduce parallax effects on mobile for performance */
    .hero::after,
    .about::before,
    .services::before {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
        --container-padding: 0 12px;
    }

    /* Extra small mobile adjustments */
    .navbar {
        padding: 0 12px;
    }

    .nav-container {
        padding: 0 12px;
    }

    .hero {
        padding: 0 12px;
    }

    .hero-content {
        padding: 1.5rem 0.5rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: 1.5rem;
        padding: 0;
    }

    .hero-buttons {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        max-width: 240px;
        padding: 12px 20px;
        font-size: var(--font-size-sm);
    }

    .hero-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat-number {
        font-size: var(--font-size-xl);
    }

    .stat-label {
        font-size: 0.625rem;
    }

    /* Section adjustments */
    .section-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .section-header h2 {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-sm);
    }

    /* Card adjustments */
    .about-grid,
    .services-grid,
    .philosophy-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .about-card,
    .service-card,
    .philosophy-card {
        padding: 1.25rem;
        margin: 0 0.25rem;
    }

    .card-icon,
    .service-icon,
    .philosophy-icon {
        width: 45px;
        height: 45px;
        font-size: var(--font-size-base);
    }

    .about-card h3,
    .service-card h3,
    .philosophy-card h3 {
        font-size: var(--font-size-base);
    }

    .service-features li {
        font-size: var(--font-size-xs);
    }

    /* Contact form adjustments */
    .contact-content {
        padding: 0 0.5rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: var(--font-size-sm);
    }

    /* Philosophy quote */
    .philosophy-quote blockquote {
        font-size: var(--font-size-base);
        padding: 1.25rem;
        margin: 0 0.5rem;
    }

    /* Footer adjustments */
    .footer-content {
        padding: 0 0.5rem;
    }

    .logo {
        height: 35px;
    }

    .logo-text {
        font-size: var(--font-size-lg);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes drift {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(10px) translateY(-10px); }
    50% { transform: translateX(-5px) translateY(-20px); }
    75% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(0) translateY(0); }
}

.about-card,
.service-card,
.philosophy-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Stellar particle effects */
.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background-image: 
        radial-gradient(1px 1px at 10px 10px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 30px 50px, rgba(99,102,241,0.6), transparent),
        radial-gradient(1px 1px at 70px 20px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 90px 80px, rgba(139,92,246,0.5), transparent);
    background-size: 100px 100px;
    animation: twinkle 4s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* Enhanced glow effects */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    border-radius: inherit;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 0.7;
}

/* Parallax effect for hero background */
@media (prefers-reduced-motion: no-preference) {
    .hero::before {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #ffffff;
        --text-muted: #cccccc;
    }
    
    .about-card,
    .service-card,
    .philosophy-card,
    .contact-form {
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* Careers Page Styles */
.careers-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/Foggy Room BG.png') center/cover;
    opacity: 0.08;
    z-index: 1;
}

.careers-hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 2rem;
}

.careers-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.careers-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.careers-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Benefits Section */
.why-work-with-us {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

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

.benefit-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: var(--font-size-xl);
    color: white;
}

.benefit-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Open Positions */
.open-positions {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

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

.position-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.position-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-xl);
}

.position-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.position-header h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.position-type {
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.position-description {
    padding: 1.5rem 2rem;
}

.position-description p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.position-requirements {
    list-style: none;
    color: var(--text-muted);
}

.position-requirements li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: var(--font-size-sm);
}

.position-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.position-footer {
    padding: 1rem 2rem 2rem;
}

.apply-btn {
    background: var(--gradient-1);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Company Culture */
.company-culture {
    padding: var(--section-padding);
    background: var(--darker-bg);
}

.culture-content {
    max-width: 1000px;
    margin: 0 auto;
}

.culture-text {
    text-align: center;
    margin-bottom: 3rem;
}

.culture-text h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.culture-text p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.culture-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.culture-value {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.culture-value i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.culture-value span {
    color: var(--text-primary);
    font-weight: 500;
}

.culture-quote {
    text-align: center;
}

.culture-quote blockquote {
    font-size: var(--font-size-xl);
    font-style: italic;
    color: var(--text-primary);
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

/* Application Section */
.application-section {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.application-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.application-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.application-form h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.application-form .form-group {
    margin-bottom: 1.5rem;
}

.application-form input[type="file"] {
    padding: 0.5rem 0;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
}

.application-form small {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    margin-top: 0.5rem;
    display: block;
}

/* Mobile Responsiveness for Careers */
@media (max-width: 768px) {
    .careers-hero {
        min-height: 70vh;
        padding: 2rem 1rem;
    }

    .careers-stats {
        gap: 1.5rem;
    }

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

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

    .culture-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps {
        gap: 1.5rem;
    }

    .application-form {
        padding: 2rem 1.5rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: var(--section-padding);
    background: var(--dark-bg);
    min-height: 80vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header .subtitle {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-header .last-updated {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-style: italic;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.highlight-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
}

.highlight-section h2,
.highlight-section h3 {
    color: var(--primary-light);
}

.important-notice {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.trademark-list {
    background: rgba(251, 191, 36, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.trademark-list li {
    font-weight: 600;
    color: var(--gold);
}

.contact-details {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details strong {
    color: var(--text-primary);
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(99, 102, 241, 0.3);
    text-align: center;
}

.legal-footer em {
    color: var(--text-muted);
    font-style: italic;
}

/* Footer Grid Styles */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-sm);
}

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

.footer-brand .social-links {
    margin-top: 1.5rem;
}

.footer-section .contact-info {
    margin-top: 1rem;
}

.footer-section .contact-info p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section .contact-info i {
    width: 16px;
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright .copyright-main {
    margin-bottom: 1rem;
}

.footer-copyright .copyright-main p:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.footer-copyright .copyright-main p:last-child {
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.footer-copyright .copyright-warning {
    margin-bottom: 1.5rem;
}

.footer-copyright .copyright-warning p {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-legal-notices {
    margin-top: 1.5rem;
}

.footer-legal-notices p {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand .social-links {
        justify-content: center;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-header h1 {
        font-size: var(--font-size-3xl);
    }
}