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

:root {
    --primary-dark: #0a0a1a;
    --secondary-dark: #1a1a2e;
    --accent-blue: #00d4ff;
    --accent-pink: #ff006e;
    --accent-coral: #ff4757;
    --accent-green: #2ed573;
    --text-light: #ffffff;
    --text-gray: #f1f1f1;
    --text-pricing: hsl(59, 67%, 51%);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #ff006e 100%);
    --gradient-secondary: linear-gradient(135deg, #ff4757 0%, #3742fa 100%);
    --gradient-impact: linear-gradient(135deg, #2ed573 0%, #00d4ff 100%);
    --gradient-pricing: linear-gradient(135deg, hsl(59, 67%, 51%) 0%, #00d4ff 100%);
    --gradient-negative: linear-gradient(135deg, hsl(59, 67%, 51%) 0%, #ff4757 100%);
    --glass-bg: rgba(26, 26, 46, 0.69);
    --glass-border: rgba(0, 212, 255, 0.2);
    --nav-height: 80px; /* Added for easier management */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    display: flex;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.lang-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.lang-btn.active {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.lang-btn:hover {
    transform: scale(1.05);
    background: rgba(0, 212, 255, 0.2);
}

/* Hidden content for language switching */
[data-lang]:not([data-lang="fr"]) {
    display: none;
}

body[data-current-lang="en"] [data-lang="fr"] {
    display: none;
}

body[data-current-lang="en"] [data-lang="en"] {
    display: block;
}

body[data-current-lang="fr"] .services-grid [data-lang="fr"] {
    display: block;
}

body[data-current-lang="fr"] .contact-info [data-lang="fr"] {
    display: block;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.loading-animation {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.loading-icon {
    width: 40px;
    height: 40px;
    animation: slideIn 2s ease-in-out infinite;
}

.loading-icon:nth-child(1) { animation-delay: 0s; }
.loading-icon:nth-child(2) { animation-delay: 0.3s; }
.loading-icon:nth-child(3) { animation-delay: 0.6s; }

.loading-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes slideIn {
    0% { transform: translateX(-100px) scale(0.8); opacity: 0; }
    50% { transform: translateX(0) scale(1); opacity: 1; }
    100% { transform: translateX(100px) scale(0.8); opacity: 0; }
}

.loading-text {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Hide main content while loading */
body.loading .main-content {
    opacity: 0;
}

.main-content {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 26, 0.698);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.1);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a.premium {
    color: var(--accent-green);
    font-weight: 800;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem;
    z-index: 999;
}

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

.mobile-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section with Polynesian Elements */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
    border-bottom:1px solid rgba(255, 255, 255, 0.1);
}

/* Moorea Background Image */
.moorea-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./via-studio-images/backgrounds/Moorea-Silhouette.JPG');
    background-size: cover;
    background-position: center;
    opacity: 0.42;
    z-index: 5;
}

/* Background with Parallax */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        var(--primary-dark);
    transition: transform 0.1s ease-out;
    z-index: 2;
}

/* Floating Polynesian Elements */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.shape {
    position: absolute;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background-image: url('./via-studio-images/icons/palm-tree-1 white.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation-delay: 0s;
}

.shape-1:empty::before {
    content: '🌴';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

/* Hero Content - Glass Effect with Personal Touch */
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 60px rgba(0, 212, 255, 0.1);
    animation: fadeInUp 1s ease-out;
    margin: 0 2rem;
}

/* Personal Kevin Image */
.hero-personal-image {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    /*border: 3px solid rgba(0, 212, 255, 0.3);*/
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);*/
    animation: personalFloat 3s ease-in-out infinite;
}

.hero-personal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes personalFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

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

/* Enhanced Polynesian Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: glow-pulse 3s ease-in-out infinite;
}

.badge-icon {
    width: 30px;
    height: 30px;
    background-image: url('./via-studio-images/icons/Moorea white VAI Studio.png');
    background-size: contain;
    background-repeat: no-repeat;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.5); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
}

/* Floating Action Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes pulse {
    0% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8); }
    100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4); }
}

.contact-float {
    position: fixed;
    bottom: 30px;
    right: 100px; /* Position to the left of WhatsApp button */
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.contact-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.6);
}

.contact-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* General Section Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: var(--primary-dark);
    position: relative;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 30px 60px rgba(0, 212, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
    background: var(--primary-dark);
    position: relative;
    border-top: blueviolet;
    border-top-style: inset;
    border-bottom: blueviolet;
    border-bottom-style: outset;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Fallback for older browsers, JS will handle modern ones */
}

/* Social Impact Section */
.social-impact-section {
    padding: 8rem 0;
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
    border-top: aqua;
    border-top-width: medium;
    border-top-style: inset;
    border-bottom: aqua;
    border-bottom-width: medium;
    border-bottom-style: outset;
    border-bottom-width: thick;
}

.social-impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(46, 213, 115, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.social-impact-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

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

.impact-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.impact-highlight {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    transition:all 0.3s ease;
}

.impact-highlight:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 213, 115, 0.5);
    box-shadow: 0 20px 40px rgba(46, 213, 115, 0.1);
}

.impact-highlight h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(46, 213, 115, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition:all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 213, 115, 0.5);
    box-shadow: 0 20px 40px rgba(46, 213, 115, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-impact);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

.impact-visual {
    position: relative;
}

.impact-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2em;
}

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

.impact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 213, 115, 0.5);
    box-shadow: 0 20px 40px rgba(46, 213, 115, 0.1);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.impact-card h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.impact-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--primary-dark);
}

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

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.founder-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.founder-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    overflow: hidden;
    border: 3px solid rgba(0, 212, 255, 0.3);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: var(--secondary-dark);
    text-align: center;
}

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

.contact-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
}

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

.contact-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
}

.contact-item h3 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

/* JotForm wrapper fixes */
.jotform-wrapper {
    width: 100%;
    overflow: visible;
    min-height: 600px;
}

.jotform-wrapper iframe {
    min-height: 600px !important;
    height: auto !important;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Journey / Showcase Section (Original from one-pager, may not be fully used) */
.journey-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Showcase Device Screen */
.device-screen {
    width: 100%;
    height: 85%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(0, 212, 255, 0.2);
}

/* OPTIMIZED: Combined screen-content rules */
.screen-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: auto; /* Set to auto by default for performance */
}

.screen-content.active {
    opacity: 1;
    will-change: opacity; /* Apply will-change only when active */
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Email Signup Section */
.email-signup-section {
    padding: 6rem 0;
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.email-signup-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.email-signup-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
}

.form-input {
    flex: 1;
    min-width: 280px;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

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

.image-placeholder {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-weight: 600;
    border-radius: 10px;
    font-size: 1.1rem;
    text-align: center;
    padding: 2rem;
}

/* ===================================
   MOBILE RESPONSIVENESS
   =================================== */

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 0.3rem;
        transform: scale(0.9);
    }
    
    .lang-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-content {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 45%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .logo {
        max-width: calc(100% - 60px);
    }
    
    .mobile-menu {
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-menu.active {
        max-height: 400px;
        display: block;
    }
    
    .mobile-menu a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .hero-personal-image {
        width: 70px;
        height: 70px;
        top: -10px;
        right: -10px;
        /*border-width: 2px;*/
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 2.2rem 2rem;
        margin: 0 1rem;
        border-radius: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .contact-float {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 20px;
        display: none;
    }
    
    .contact-float svg {
        width: 25px;
        height: 25px;
    }
    
    /* Hide large visual elements on mobile for performance */
    .floating-shapes,
    .moorea-background {
        display: none;
    }
    
    .about-content,
    .social-impact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .impact-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .about-text h2, .impact-text h2 {
        font-size: 2.2rem;
    }
    
    .about-text p, .impact-text p {
        font-size: 1.1rem;
    }
    
    .founder-card {
        padding: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .loading-logo {
        width: 80px;
        height: 80px;
    }
    
    .loading-icon {
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
    
    .form-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-input {
        min-width: auto;
    }
    
    .email-signup-form {
        padding: 2rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-item {
        margin-bottom: 0.5rem;
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 1.5rem;
        flex-direction: row;
        gap: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .faq-item.active .faq-answer {
        max-height: none;
        overflow: visible;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1.5rem 1rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .faq-section {
        padding-bottom: 10rem;
    }
    
    /* Mobile Performance Optimizations */
    .hero-content,
    .email-signup-form,
    .contact-form-container {
        backdrop-filter: blur(5px);
        background: rgba(26, 26, 46, 0.85);
    }
    
    .navbar { backdrop-filter: blur(4px); }
    .mobile-menu { backdrop-filter: blur(8px); }
    .language-switcher { backdrop-filter: blur(5px); }
    
    .hero-content, .hero-personal-image, .hero-badge,
    .loading-animation, .loading-logo {
        animation: none;
    }
    
    .service-card:hover, .impact-card:hover { transform: translateY(-5px); }
    .btn:hover { transform: translateY(-1px); }
    .faq-answer, .faq-icon { transition-duration: 0.2s; }
}

@media (max-width: 480px) {
    .hero-personal-image {
        width: 70px;
        height: 70px;
        top: 0px;
        right: 0px;
    }

    .hero-subtitle {
        display: none;
    }
}


/* VAI-App Floating Button - Background Image */
.vai-app-float-background {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: url('./via-studio-images/logo/VAI - Logo White 2025.png');
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-blue);
    backdrop-filter: blur(15px);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

.vai-app-float-background:hover {
    background-size: 75%;
    background-color: rgba(255, 255, 255, 0.942);
    border-color: #f1672c;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    background-image: url('./via-studio-images/logo/VAI - Logo Multicolor 2025.png');
}

.vai-app-float-background:active {
    transform: scale(0.95);
}

/* Add a subtle glow effect */
.vai-app-float-background::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /*background: var(--gradient-secondary);*/
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.vai-app-float-background:hover::before {
    opacity: 0.7;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .vai-app-float-background {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        background-size: 60%;
    }
    
    .vai-app-float-background:hover {
        background-size: 70%;
    }
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(15px)) {
    .vai-app-float-background {
        background-color: rgba(15, 23, 42, 0.8);
    }
}