/* NYX - Socia.ph Inspired Ultra-Clean Design */
:root {
    --primary: #00357a;
    --primary-light: #0056b3;
    --accent: #10b981;
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255,255,255,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Image optimization and smooth loading */
img {
    max-width: 100%;
    height: auto;
    image-rendering: smooth;
}

/* Disable content-visibility on lazy images to prevent flicker on scroll */
img[loading="lazy"] {
    content-visibility: visible;
}

/* Better background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 53, 122, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

section {
    position: relative;
    z-index: 1;
}

/* Ensure proper stacking for main content */
main {
    position: relative;
    z-index: 1;
}

/* Ultra-Minimal Nav - Modern Centered Style */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 1400px;
    padding: 10px 24px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 50px;
    z-index: 2000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.light-mode nav {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

nav .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    position: relative;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    color: var(--text);
}

nav .logo img {
    width: auto !important;
    height: 44px !important;
    max-width: 150px !important;
    object-fit: contain;
    /* Dark mode - make logo white */
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255,255,255,0.1));
    image-rendering: smooth;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 6px;
}

nav a:hover {
    opacity: 0.8;
    background: rgba(255,255,255,0.1);
}

nav a:focus {
    outline: none;
    outline-offset: 2px;
}

nav a.active {
    opacity: 1;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    outline: none !important;
}

/* Logo should not have active background */
nav .logo.active {
    background: none !important;
}

/* Hero - Socia style */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    margin-top: 80px;
    z-index: 1;
    transform: none !important; /* Prevent any JS transform from moving it */
}

/* Alternative hero style for non-home pages */
.hero-subpage {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    margin-top: 80px;
    z-index: 1;
    transform: none !important; /* Prevent any JS transform from moving it */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 clamp(24px, 5vw, 80px);
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: clamp(12px, 1.5vw, 14px);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 80px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.2;
    max-width: 100%;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-dim);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
}

.btn-primary {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
    display: inline-flex !important;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 122, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 53, 122, 0.3);
}

.btn-primary:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    transition: left 0.3s ease;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent);
}

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

.btn-outline:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Bento Grid - EXACTLY like Socia */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.bento-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(0, 53, 122, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bento-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

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

.bento-card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

/* CTA Section - Enhanced */
.cta-section {
    padding: 100px 0;
}

.cta-section .bento-card {
    background: linear-gradient(135deg, rgba(0, 53, 122, 0.3), rgba(16, 185, 129, 0.2));
    border: 2px solid var(--accent);
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
}

.card-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 12px;
    line-height: 1.4;
}

.bento-card p {
    color: var(--text-dim);
    line-height: 1.6;
    flex: 1;
}

.icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    color: white;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
}

.project-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.project-info {
    padding: 24px;
}

.project-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--text-dim);
    font-size: 14px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16,185,129,0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

/* Section Styling */
.section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    font-size: 18px;
    color: var(--text-dim);
}

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

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border: 2px solid var(--accent);
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 20px;
    color: var(--text-dim);
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
    margin-top: 80px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

footer h4 {
    font-size: 16px;
    margin-bottom: 24px;
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 0.6;
}

footer .footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
}

/* Footer Logo - Smaller */
footer .logo {
    gap: 12px;
    margin-bottom: 8px;
}

footer .logo img {
    height: 60px !important;
    width: auto;
    /* Dark mode - white logo */
    filter: brightness(0) invert(1);
    transition: transform 0.2s;
}

footer .logo img:hover {
    transform: scale(1.05);
}

footer .logo span {
    font-size: 16px;
    font-weight: 600;
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text);
    transition: all 0.3s;
    font-size: 18px;
    pointer-events: auto !important;
    z-index: 3000; /* ensure above local overlays in sections */
    position: relative;
}

.btn-theme-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
}

.btn-theme-toggle:active {
    transform: scale(0.95);
}

.btn-theme-toggle i {
    pointer-events: none;
}

.light-mode .btn-theme-toggle {
    background: #f8fafc;
    border-color: rgba(0,0,0,0.1);
}

.light-mode .btn-theme-toggle:hover {
    background: rgba(0,0,0,0.05);
}

/* Skip to Content Link for Accessibility */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 80px;
}

/* Light Mode */
.light-mode {
    --bg: #ffffff;
    --card: #f8fafc;
    --text: #0f172a;
    --text-dim: #64748b;
    --border: rgba(0,0,0,0.1);
}

/* FAQ Accordion Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

.faq-question i {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 16px;
}

.faq-answer ul {
    list-style: none;
    padding-left: 0;
}

.faq-answer li {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

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

.faq-answer strong {
    color: var(--text);
    font-weight: 600;
}

/* Light mode section backgrounds - removed for single background */

/* Hero responsive constraints for wide screens */
@media (min-width: 1920px) {
    .hero-content {
        max-width: 1100px;
    }
    
    .hero h1 {
        font-size: min(72px, 3.5vw);
    }
    
    .hero p {
        font-size: min(18px, 1.1vw);
    }
    
    .hero {
        padding: 80px 0 50px;
    }
}

/* Ensure nav and footer text changes in light mode */
.light-mode nav a,
.light-mode footer a,
.light-mode footer h4 {
    color: var(--text) !important;
}

.light-mode footer p,
.light-mode footer .footer-bottom p {
    color: var(--text-dim) !important;
}

/* Fix button colors in light mode */
.light-mode .btn-primary {
    background: var(--primary) !important;
    color: white !important;
    border: 1px solid var(--primary) !important;
}

.light-mode .btn-primary:hover {
    background: var(--primary-light) !important;
    color: white !important;
    border-color: var(--primary-light) !important;
}

.light-mode .btn-primary:focus {
    outline: 2px solid var(--accent) !important;
    outline-offset: 2px;
}

.light-mode .btn-primary:active {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.light-mode .btn-outline {
    color: var(--text);
}

.light-mode .btn-outline:hover {
    background: rgba(0,0,0,0.05);
}

.light-mode nav .logo img {
    filter: none !important; /* Original logo color in light mode */
}

.light-mode footer .logo img {
    filter: none !important;
}

/* Light mode nav */
.light-mode nav {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Light mode active nav link background */
.light-mode nav a.active {
    background: rgba(0,0,0,0.08) !important;
}

/* Removed footer background override for single background */

/* Team Section - Socia.ph Style */
.team-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
}

.team-tab {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.3s;
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
}

.team-tab.active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-photo-container {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card);
    position: relative;
    margin-bottom: 16px;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-card:hover .team-photo {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.team-description-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.95));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.team-card:hover .team-description-overlay {
    opacity: 1;
}

.team-description-overlay p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    text-align: left;
    margin: 0;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}

/* Hide leadership cards by default - show only creative team */
.team-card[data-category="leadership"] {
    display: none;
}

/* Light mode team tabs */
.light-mode .team-tab {
    background: var(--card);
    border: 1px solid var(--border);
}

.light-mode .team-tab.active {
    background: var(--text);
    color: var(--bg);
}

/* Gradient Text Animation for Headings - Used across all pages */
h1, .hero h1, section h2, .section-header h2 {
    background: linear-gradient(
        135deg,
        #60a5fa,
        #3b82f6,
        #2563eb,
        #0ea5e9,
        #06b6d4,
        #10b981,
        #059669
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

/* Animated Gradient Text - SIMPLIFIED FOR PERFORMANCE */
@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gradient-text {
    background: linear-gradient(-45deg, var(--primary), var(--primary-light));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* animation: gradient 8s ease infinite; DISABLED FOR PERFORMANCE */
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Scroll Animations - SIMPLIFIED FOR PERFORMANCE */
.fade-in-up {
    opacity: 1;
    transform: none;
}

.fade-in-up.visible {
    opacity: 1;
    transform: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    padding: 4px;
    transition: color 0.2s;
    line-height: 1;
}

.mobile-menu {
    display: none;
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 800px;
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: clamp(36px, 6vw, 72px);
    }
    
    .hero, .hero-subpage {
        padding: 100px 0 16px;
        margin-top: 70px;
    }
}

/* Contact Page Specific Grid */
@media (max-width: 768px) {
    /* Stack contact form and info vertically on mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        width: calc(100% - 40px);
        padding: 8px 16px;
        top: 12px;
        white-space: normal;
        flex-wrap: nowrap;
    }
    
    nav .container { 
        gap: 12px;
        width: 100%;
    }
    
    nav .logo {
        flex-shrink: 0;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        width: auto;
        max-width: 600px;
        margin: 0 auto;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        border: 1px solid var(--border);
        border-radius: 24px;
        gap: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .light-mode nav ul {
        background: rgba(248, 250, 252, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        order: 999;
    }
    
    .section {
        padding: 32px 0;
    }
    
    .container {
        padding: 0 32px;
    }
    
        .hero, .hero-subpage {
        min-height: auto !important;
        padding: 80px 0 16px;
        margin-top: 60px;
    }
    
    .hero-content { 
        padding: 0 24px; 
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: clamp(32px, 8vw, 56px);
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .bento-grid { grid-template-columns: 1fr; gap: 24px; }
    .bento-card.large { grid-column: span 1; }
    .projects-grid { grid-template-columns: 1fr; gap: 24px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
    footer .footer-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    footer {
        padding: 48px 0 32px;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    
    /* Smaller screens - additional adjustments */
    nav {
        width: calc(100% - 24px);
        padding: 8px 12px;
        top: 8px;
    }
    
    nav .logo img {
        height: 34px;
    }
    
    .hero, .hero-subpage {
        padding: 60px 0 16px;
        min-height: auto !important;
    }
    
    .hero h1 {
        font-size: clamp(28px, 7vw, 48px);
    }
    
    .container {
        padding: 0 20px;
    }
    
    .bento-card {
        padding: 24px;
    }
    
    .section-header h2 {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    footer .footer-grid {
        gap: 32px;
    }
    
    /* Social links - ensure centering */
    footer .social-links,
    footer .footer-grid .social-links,
    footer .footer-grid div .social-links,
    footer .footer-grid > div .social-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 12px auto 0 !important;
        gap: 12px !important;
    }
}

/* Responsive testimonials */
@media (max-width: 768px) {
    .bento-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Social links */
    .footer-grid div .social-links {
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Enhanced Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 24px;
    padding: 8px;
    transition: color 0.2s;
}

.mobile-menu-toggle:hover {
    color: var(--accent);
}

/* Mobile menu improvements */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul li:has(.mobile-menu-toggle) {
        display: none;
    }
    
    nav ul li {
        width: 100%;
        list-style: none;
        margin: 0;
    }
    
    nav ul li a,
    nav ul li button {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        text-align: left;
        display: block;
        color: var(--text);
        background: transparent;
        border: none;
    }
    
    .light-mode nav ul li a,
    .light-mode nav ul li button {
        color: #0f172a;
    }
    
    nav ul li .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer responsive improvements */
    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    footer .footer-grid > div:first-child {
        text-align: center;
    }
    
    footer .footer-grid h4 {
        margin-bottom: 12px;
        font-size: 16px;
    }
    
    footer .footer-grid a:not(.social-icon) {
        display: block;
        padding: 8px 0;
        font-size: 14px;
    }
    
    /* Social icons centered on mobile */
    footer .social-links,
    footer .footer-grid .social-links,
    footer .footer-grid > div .social-links,
    footer .footer-grid > div:last-child .social-links {
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        margin: 12px auto 0 !important;
        gap: 12px !important;
    }
    
    footer .social-icon {
        margin: 0 4px !important;
    }
    
    /* Center Connect section on mobile */
    footer .footer-grid > div:last-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    footer .footer-grid > div:last-child h4 {
        text-align: center !important;
        width: 100%;
    }
    
    footer .footer-grid > div:last-child a.social-icon {
        margin: 0 4px !important;
    }
    
    /* Ensure buttons stack properly */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        min-height: 48px; /* Touch target size */
        padding: 14px 28px;
    }
    
    /* Ensure all buttons have proper touch targets on mobile */
    .btn {
        min-height: 44px; /* Minimum touch target size per accessibility standards */
        padding: 14px 28px;
    }
    
/* Button Size Variations */
.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    min-height: 52px;
}

/* Full Width Button for Pricing Cards */
.pricing-btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* CTA Wrapper Button Style */
.cta-wrapper .btn {
    margin-top: 0;
}

/* Consistent Button Styles - Remove all inline overrides */
.btn-primary.btn-large {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary.btn-large:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 122, 0.4);
}

.btn-primary.btn-large:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 53, 122, 0.3);
}

.btn-primary.btn-large:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Light mode for large buttons */
.light-mode .btn-primary.btn-large {
    background: var(--primary) !important;
    color: white !important;
    border: 1px solid var(--primary) !important;
}

.light-mode .btn-primary.btn-large:hover {
    background: var(--primary-light) !important;
    color: white !important;
    border-color: var(--primary-light) !important;
}

/* Advanced Animated Button Styles - For CTA buttons with gradient effects */
.advanced-animated-btn {
    position: relative;
    color: white !important;
    background: transparent !important;
    box-shadow: 0 8px 32px rgba(0, 53, 122, 0.25), 0 0 0 0 rgba(0, 53, 122, 0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    isolation: isolate;
    animation: pulse 3s ease-in-out infinite;
}

.advanced-animated-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 53, 122, 0.35), 0 0 30px rgba(16, 185, 129, 0.4);
    animation: none;
}

.advanced-animated-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(0, 53, 122, 0.3), 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Pulse animation for attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 53, 122, 0.25), 0 0 0 0 rgba(0, 53, 122, 0.7);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 53, 122, 0.25), 0 0 0 8px rgba(0, 53, 122, 0);
    }
}

.advanced-animated-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advanced-animated-btn:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-bg-gradient {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 50%,
        var(--accent) 100%
    );
    background-size: 200% 200%;
    animation: gradientFlow 4s ease infinite;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

.btn-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: 200% 0;
        opacity: 0;
    }
}

.advanced-animated-btn:hover .btn-shimmer {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out infinite;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2em;
    line-height: 1;
}

.advanced-animated-btn:hover .btn-arrow {
    transform: translateX(6px) scale(1.1);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.advanced-animated-btn:active .btn-bg-gradient {
    opacity: 0.9;
}

/* Enhanced glow effect on hover */
.advanced-animated-btn:hover .btn-bg-gradient {
    filter: brightness(1.15);
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.1);
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
    .advanced-animated-btn {
        box-shadow: 0 8px 32px rgba(0, 53, 122, 0.4), 0 0 0 0 rgba(0, 53, 122, 0.8);
    }
    
    .advanced-animated-btn:hover {
        box-shadow: 0 12px 40px rgba(0, 53, 122, 0.5), 0 0 30px rgba(16, 185, 129, 0.5);
    }
}

/* Load More Button - Consistent with standard buttons */
.load-more-btn {
    display: none; /* Hidden by default, shown via JavaScript */
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px auto 0;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: white;
    min-height: 44px;
}

/* Show button when explicitly set to inline-flex via JavaScript */
.load-more-btn[style*="inline-flex"],
.load-more-btn[style*="display: inline-flex"] {
    display: inline-flex !important;
}

.load-more-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 122, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 53, 122, 0.3);
}

.load-more-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Loading state */
.load-more-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.load-more-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Light mode for load-more-btn */
.light-mode .load-more-btn {
    background: var(--primary) !important;
    color: white !important;
    border: 1px solid var(--primary) !important;
}

.light-mode .load-more-btn:hover {
    background: var(--primary-light) !important;
    color: white !important;
    border-color: var(--primary-light) !important;
}

.light-mode .load-more-btn:focus {
    outline: 2px solid var(--accent) !important;
    outline-offset: 2px;
}

.light-mode .load-more-btn:active {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
    
    /* Hero section - ensure content is above the fold */
    .hero {
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Adequate spacing for touch interactions */
    .hero-buttons {
        gap: 16px;
        margin-top: 8px;
    }
    
    /* Analytics cards hover effect */
    .analytics-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
        border-color: var(--accent);
    }
    
    @media (max-width: 768px) {
        .analytics-grid {
            grid-template-columns: 1fr !important;
            gap: 24px !important;
        }
        
        .analytics-showcase-section {
            padding: 60px 0 !important;
        }
    }
    
    /* Section headers responsive */
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-header h2 {
        font-size: clamp(28px, 6vw, 42px);
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Testimonials grid responsive */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Services slider responsive */
    .services-slider {
        padding: 20px 0;
    }
    
    .slider-nav {
        margin-top: 24px;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .services-slider-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    /* Timeline responsive */
    .timeline-container {
        padding: 0 20px;
    }
    
    /* Projects showcase responsive */
    .projects-showcase {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Stats minimal responsive */
    .stats-minimal {
        flex-direction: column;
        gap: 24px;
        padding: 24px 0;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    /* Pricing grid responsive */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    /* Bento grid responsive */
    .bento-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* CTA section responsive */
    .bento-card[style*="padding: 80px 60px"] {
        padding: 48px 24px !important;
    }
    
    .bento-card[style*="padding: 80px 60px"] h2 {
        font-size: clamp(28px, 6vw, 48px);
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    nav {
        width: calc(100% - 16px);
        padding: 6px 10px;
    }
    
    nav .logo img {
        height: 30px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 40px 0 12px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .bento-card {
        padding: 20px;
    }
    
    footer {
        padding: 32px 0 24px;
    }
    
    footer .footer-grid {
        gap: 24px;
    }
}

/* Message Modal */
.message-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.message-modal.active {
    opacity: 1;
}

.message-modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.message-modal.active .message-modal-content {
    transform: scale(1);
}

.message-modal-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.message-modal-icon i {
    color: var(--accent);
}

.message-modal-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 32px;
}

.message-modal-close {
    width: 100%;
    padding: 14px 28px;
}

.light-mode .message-modal {
    background: rgba(0, 0, 0, 0.5);
}

.light-mode .message-modal-icon i {
    color: var(--accent);
}

/* Career Section - Responsive */
@media (max-width: 1024px) {
    section .bento-grid[style*="grid-template-columns: 1fr 2fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 768px) {
    section .bento-grid[style*="grid-template-columns: 1fr 2fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* Logo Slider - PURE CSS INFINITE SCROLL */
.logo-slider-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.logo-slider-track {
    display: flex;
    gap: 50px;
    width: fit-content;
    will-change: transform;
    /* Animation will be set dynamically by JS for accurate width calculation */
}

.logo-slide {
    flex: 0 0 auto;
    opacity: 0.4;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 60px;
}

.logo-slide:hover {
    opacity: 1;
}

.logo-slide img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    height: auto !important;
    aspect-ratio: unset !important;
    object-position: center;
}

@keyframes logoScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        /* Animation value will be dynamically calculated by JS
           to ensure all logos are shown before looping */
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .logo-slider-track {
        gap: 40px;
    }
    
    .logo-slide img {
        max-height: none;
        width: auto !important;
        height: 50px !important;
        aspect-ratio: unset !important;
        object-fit: contain;
        object-position: center;
    }
}

/* Breadcrumb Container Styling */
.breadcrumb-container {
    background: transparent;
    padding: 20px 0;
    border-top: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-top: 0;
    padding-bottom: 20px;
}

.breadcrumb-container .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.breadcrumb-container .breadcrumb {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
    font-size: 14px !important;
}

.breadcrumb-container li a {
    color: var(--text-dim) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-container li a:hover {
    color: var(--accent) !important;
}

.breadcrumb-container li:last-child {
    color: var(--text) !important;
    font-weight: 500;
}

.breadcrumb-container span {
    color: var(--text-dim) !important;
}

.breadcrumb-container .breadcrumb li {
    color: var(--text-dim) !important;
}

.breadcrumb-container .breadcrumb li:last-child {
    color: var(--text) !important;
}

/* Light mode breadcrumb overrides */
.light-mode .breadcrumb-container li a,
.light-mode .breadcrumb-container span {
    color: rgba(0, 0, 0, 0.6) !important;
}

.light-mode .breadcrumb-container li:last-child {
    color: rgba(0, 0, 0, 0.9) !important;
}

.light-mode .breadcrumb-container .breadcrumb li {
    color: rgba(0, 0, 0, 0.6) !important;
}

.light-mode .breadcrumb-container .breadcrumb li:last-child {
    color: rgba(0, 0, 0, 0.9) !important;
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 16px 0;
    }
    
    .breadcrumb-container .container {
        padding: 0 16px;
    }
    
    .breadcrumb-container .breadcrumb {
        font-size: 13px;
    }
}

/* Breadcrumb wrapper styling */
.breadcrumb-container .breadcrumb-wrapper {
    position: static;
    width: 100%;
    max-width: 100%;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Image Preloader V2 - Simple and Reliable */
#pagePreloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Note: Do NOT hide content with visibility while preloading to allow
   the browser to fetch/decode images eagerly under the overlay. */

#pagePreloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#pagePreloader.removed {
    display: none !important;
}

.preloader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-spinner-new {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(16, 185, 129, 0.1);
    border-top-color: #10b981;
    border-radius: 50%;
    animation: spin-loader 1s linear infinite;
}

@keyframes spin-loader {
    to { transform: rotate(360deg); }
}

#preloaderText {
    font-size: 16px;
    color: var(--text-dim);
    font-weight: 500;
}

/* One-Time / Small Projects Section */
.one-time-section {
    background: none; /* remove tinted background for clarity */
    position: relative;
}

.one-time-section .section-header p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.one-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 36px;
    align-items: stretch;
}

.one-time-card {
    background: var(--card); /* solid card for better readability */
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.one-time-card::before {
    content: none; /* disable glow overlay to improve contrast */
}

.one-time-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 20px 48px rgba(16, 185, 129, 0.18), inset 0 0 0 1px rgba(16,185,129,0.15);
}

.one-time-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--text);
}

.one-time-badge.accent {
    background: linear-gradient(135deg, var(--accent), #059669);
    color: #0f172a;
    border-color: transparent;
}

/* Coming soon state */
.one-time-badge.soon {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #0f172a;
    border-color: transparent;
}

.one-time-card.coming-soon {
    opacity: 0.75;
}

.one-time-card.coming-soon:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: none;
}

.one-time-title {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 700;
    margin: 8px 0 8px;
}

.one-time-desc {
    position: relative;
    z-index: 1;
    color: var(--text);
    margin: 0 0 14px;
}

.one-time-list {
    position: relative;
    z-index: 1;
    margin: 0 0 18px 0;
    padding-left: 0;
    list-style: none;
}

.one-time-list li {
    margin: 8px 0;
    color: var(--text); /* stronger contrast */
    padding-left: 22px;
    position: relative;
}

.one-time-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}

.one-time-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 24px 48px rgba(0, 53, 122, 0.15), 0 12px 28px rgba(16, 185, 129, 0.12);
}

.one-time-cta {
    text-align: center;
    margin-top: 32px;
}

.one-time-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    border: 1px solid var(--primary) !important;
}

.one-time-note {
    margin-top: 10px;
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .one-time-grid {
        gap: 20px;
        margin-top: 24px;
    }

    .one-time-title {
        font-size: 20px;
    }
}

/* Video Play Button Overlay - Enhanced with Glow Effects */
.dashboard-screen {
    cursor: pointer !important;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 0 0 0 rgba(0, 53, 122, 0.4),
        0 0 0 0 rgba(16, 185, 129, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 53, 122, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    animation: playButtonPulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Animated glow rings */
.video-play-button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 26px solid var(--primary);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    margin-left: 5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 53, 122, 0.4));
    z-index: 2;
}

/* Outer glow ring */
.video-play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(0, 53, 122, 0.2);
    animation: glowRing 2s ease-in-out infinite;
    pointer-events: none;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 
        0 0 0 8px rgba(0, 53, 122, 0.2),
        0 0 0 16px rgba(16, 185, 129, 0.15),
        0 16px 64px rgba(0, 0, 0, 0.35),
        0 8px 32px rgba(0, 53, 122, 0.4),
        0 0 40px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
    border-color: rgba(255, 255, 255, 0.5);
    animation: playButtonPulseHover 1.5s ease-in-out infinite;
}

.video-play-button:hover::before {
    border-left-width: 28px;
    border-top-width: 17px;
    border-bottom-width: 17px;
    filter: drop-shadow(0 4px 12px rgba(0, 53, 122, 0.5));
    transform: translateX(2px);
}

.video-play-button:active {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 
        0 0 0 4px rgba(0, 53, 122, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 53, 122, 0.4);
}

/* Pulse animation */
@keyframes playButtonPulse {
    0%, 100% {
        box-shadow: 
            0 0 0 0 rgba(0, 53, 122, 0.4),
            0 0 0 0 rgba(16, 185, 129, 0.3),
            0 8px 32px rgba(0, 0, 0, 0.25),
            0 4px 16px rgba(0, 53, 122, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow: 
            0 0 0 6px rgba(0, 53, 122, 0.2),
            0 0 0 12px rgba(16, 185, 129, 0.15),
            0 8px 32px rgba(0, 0, 0, 0.25),
            0 4px 16px rgba(0, 53, 122, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

@keyframes playButtonPulseHover {
    0%, 100% {
        box-shadow: 
            0 0 0 8px rgba(0, 53, 122, 0.2),
            0 0 0 16px rgba(16, 185, 129, 0.15),
            0 16px 64px rgba(0, 0, 0, 0.35),
            0 8px 32px rgba(0, 53, 122, 0.4),
            0 0 40px rgba(16, 185, 129, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 1);
    }
    50% {
        box-shadow: 
            0 0 0 12px rgba(0, 53, 122, 0.25),
            0 0 0 24px rgba(16, 185, 129, 0.2),
            0 16px 64px rgba(0, 0, 0, 0.35),
            0 8px 32px rgba(0, 53, 122, 0.4),
            0 0 50px rgba(16, 185, 129, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 1);
    }
}

@keyframes glowRing {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Light mode play button */
.light-mode .video-play-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.98));
    box-shadow: 
        0 0 0 0 rgba(0, 53, 122, 0.3),
        0 0 0 0 rgba(16, 185, 129, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 53, 122, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(0, 53, 122, 0.15);
}

.light-mode .video-play-button::after {
    border-color: rgba(0, 53, 122, 0.15);
}

.light-mode .video-play-button:hover {
    box-shadow: 
        0 0 0 8px rgba(0, 53, 122, 0.15),
        0 0 0 16px rgba(16, 185, 129, 0.1),
        0 16px 64px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 53, 122, 0.25),
        0 0 40px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
    border-color: rgba(0, 53, 122, 0.25);
}

.light-mode .video-play-button::before {
    border-left-color: var(--primary);
    filter: drop-shadow(0 2px 6px rgba(0, 53, 122, 0.3));
}

.light-mode .video-play-button:hover::before {
    filter: drop-shadow(0 4px 10px rgba(0, 53, 122, 0.4));
}

/* Video Modal - Enhanced with Glow Effects */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: var(--card);
    border-radius: 24px;
    padding: 24px;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(0, 53, 122, 0.3),
        0 0 80px rgba(16, 185, 129, 0.2),
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.video-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 53, 122, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 24px;
    pointer-events: none;
    z-index: 0;
}

.video-modal-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 53, 122, 0.15) 0%, transparent 70%);
    animation: modalGlow 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.video-modal.active .video-modal-content {
    transform: scale(1) translateY(0);
    animation: modalEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalEntrance {
    0% {
        transform: scale(0.85) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes modalGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.5;
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.video-modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.25));
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.video-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.video-modal video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    background: #000;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Light mode video modal */
.light-mode .video-modal {
    background: rgba(0, 0, 0, 0.8);
}

.light-mode .video-modal-content {
    background: var(--card);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 0 40px rgba(0, 53, 122, 0.2),
        0 0 80px rgba(16, 185, 129, 0.15),
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.light-mode .video-modal-content::before {
    background: linear-gradient(135deg, rgba(0, 53, 122, 0.05), rgba(16, 185, 129, 0.03));
}

.light-mode .video-modal-content::after {
    background: radial-gradient(circle, rgba(0, 53, 122, 0.1) 0%, transparent 70%);
}

.light-mode .video-modal-close {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.15));
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.light-mode .video-modal-close:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.25));
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .video-play-button {
        width: 70px;
        height: 70px;
    }
    
    .video-play-button::before {
        border-left-width: 20px;
        border-top-width: 12px;
        border-bottom-width: 12px;
        margin-left: 4px;
    }
    
    .video-play-button::after {
        width: 100px;
        height: 100px;
    }
    
    .video-modal-content {
        padding: 16px;
        border-radius: 20px;
    }
    
    .video-modal-close {
        top: -42px;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
    
    .video-modal video {
        border-radius: 12px;
    }
}
