:root {
    --bright-green: #00ff66;
    --purple: #8e52ff;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f0f2f5;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --border-color: #e0e4ec;
    --purple-tint-light: rgba(142, 82, 255, 0.1);
    --green-tint-light: rgba(0, 255, 102, 0.1); /* Based on bright-green */
    --purple-darker: #7a3fec;
    --green-darker: #00e65c;
    --purple-darkest: #6a2ee0;
    --green-darkest: #00cc52;

    --font-primary: 'Montserrat', sans-serif;

    --gradient-cta: linear-gradient(135deg, var(--purple) 0%, #20C2CC 50%, var(--bright-green) 100%);
    --gradient-purple-green: linear-gradient(to right, var(--purple), var(--bright-green));

    --neu-shadow-light: #ffffff;
    --neu-shadow-dark: #d1d9e6;
    --neu-offset: 6px;
    --neu-blur: 12px;
    --neu-shadow: var(--neu-offset) var(--neu-offset) var(--neu-blur) var(--neu-shadow-dark),
        calc(-1 * var(--neu-offset)) calc(-1 * var(--neu-offset)) var(--neu-blur) var(--neu-shadow-light);
    --neu-shadow-inset: inset var(--neu-offset) var(--neu-offset) var(--neu-blur) var(--neu-shadow-dark),
                          inset calc(-1 * var(--neu-offset)) calc(-1 * var(--neu-offset)) var(--neu-blur) var(--neu-shadow-light);

    --medium-light-gray: #e5e9f0;
    --neu-shadow-cta-dark: #c8d0db;
    --neu-shadow-cta:
        var(--neu-offset) var(--neu-offset) var(--neu-blur) var(--neu-shadow-cta-dark),
        calc(-1 * var(--neu-offset)) calc(-1 * var(--neu-offset)) var(--neu-blur) rgba(255, 255, 255, 0.7);
}

/* --- Preloader Styles --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-sequence-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: absolute; /* Allows it to be layered with the final spinner */
}

/* Initial Spinner */
.preloader-spinner-initial {
    width: 60px;
    height: 60px;
    border: 5px solid transparent;
    border-top-color: var(--purple);
    border-right-color: var(--bright-green);
    border-radius: 50%;
    animation: spin 1s linear infinite, fadeOut 0.5s ease forwards;
    animation-delay: 0s, 1s; /* Spin immediately, fade out after 1s */
}

/* Logo and Text (start hidden) */
.preloader-logo, .preloader-text {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards, fadeOut 0.5s ease forwards;
    animation-delay: 1.2s, 3.5s; /* Fade in after initial spinner, fade out before final spinner */
}

.preloader-logo {
    max-height: 35px;
    margin-bottom: 1rem;
}

.preloader-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.preloader-text.green { color: var(--bright-green); }
.preloader-text.purple { color: var(--purple); }

/* Staggered Animation Delays */
.preloader-text:nth-of-type(1) { animation-delay: 1.7s, 3.5s; }
.preloader-text:nth-of-type(2) { animation-delay: 2.2s, 3.5s; }
.preloader-text:nth-of-type(3) { animation-delay: 2.7s, 3.5s; }

/* Final Spinner (starts hidden) */
.preloader-spinner-final {
    width: 60px;
    height: 60px;
    border: 5px solid transparent;
    border-top-color: var(--purple);
    border-right-color: var(--bright-green);
    border-radius: 50%;
    animation: spin 1s linear infinite, fadeIn 0.5s ease forwards;
    animation-delay: 4s, 4s; /* Fade in after text fades out */
    opacity: 0;
}


@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* --- Disclaimer Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--medium-gray);
    cursor: pointer;
    transition: color 0.2s ease;
}
.modal-close-btn:hover {
    color: var(--dark-gray);
}

.modal-content .button.primary-button {
    background: var(--purple);
    color: var(--white);
    box-shadow: var(--neu-shadow);
}
.modal-content .button.primary-button:hover {
    background: var(--purple-darker);
}


html, body {
    overflow-x: hidden;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-primary); line-height: 1.7; color: var(--dark-gray);
    background-color: var(--light-gray);
    font-weight: 400;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--black); line-height: 1.3; margin-bottom: 1rem; }
h1 { font-size: calc(2.2rem + 1.5vw); font-weight: 800; margin-bottom: 1.5rem; }
h2 { font-size: calc(1.6rem + 1vw); margin-bottom: 3rem; text-align: center; color: var(--black); }
h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--dark-gray); font-size: 1rem; }
.pre-headline {font-size: 1.2rem; color: var(--green-darker); font-weight: 300; margin-bottom: 0.75rem; margin-top: 0; line-height: 1.5;}
a { color: var(--purple); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--bright-green); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { width: 90%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }

.section-title { font-size: calc(1.6rem + 1vw); margin-bottom: 3rem; text-align: center; color: var(--black); width: 100%; font-weight: 700; line-height: 1.3; }
#founder-investor .section-title { margin-bottom: 2.5rem; }
#ai .pre-headline { color: var(--purple); }

.gradient-text { color: transparent; background-image: var(--gradient-purple-green); -webkit-background-clip: text; background-clip: text; display: inline; }

.button { display: inline-block; font-family: var(--font-primary); font-weight: 700; text-align: center; vertical-align: middle; cursor: pointer; border: none; padding: 11px 31px; font-size: 1rem; border-radius: 50px; transition: all 0.2s ease-out; text-decoration: none; line-height: 1.5; margin: 5px; }
.button.large-button { padding: 15px 41px; font-size: 1.1rem; }

.button .button-emoji {
    margin-left: 8px; /* Adds space between text and emoji */
}

/* --- Dynamic Header Styles --- */
.site-header {
    background-color: transparent;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* FADE-IN LOGIC FOR PAGE LOAD */
.site-header, .hero-content {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
body.loaded .site-header,
body.loaded .hero-content {
    opacity: 1;
}
/* END FADE-IN LOGIC */


.site-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-color);
}

.header-container { display: flex; justify-content: space-between; align-items: center; }

.site-header .logo a {
    display: inline-block;
    position: relative;
    --logo-height: 36px;
    height: var(--logo-height);
    width: 125px;
}
.site-header .logo img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(calc(-50% + 2px));
    max-height: var(--logo-height);
    width: auto;
    transition: opacity 0.3s ease;
}
.logo-white { opacity: 1; }
.logo-colored { opacity: 0; }
.site-header.scrolled .logo-white { opacity: 0; }
.site-header.scrolled .logo-colored { opacity: 1; }

.site-header .button.primary-button {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    font-size: 0.9rem;
    box-shadow: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.site-header .button.primary-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
}
.site-header.scrolled .button.primary-button {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: none;
    box-shadow: var(--neu-shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.site-header.scrolled .button.primary-button:hover {
    background-color: var(--light-gray);
}
.site-header.scrolled .button.primary-button:hover span {
    color: transparent; background-image: var(--gradient-purple-green); -webkit-background-clip: text; background-clip: text;
}
.site-header .button.primary-button span { display: inline-block; }


/* --- Hero Section Styles --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: transparent;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-text {
    text-align: left;
    max-width: 950px;
}

#hero .pre-headline {
    font-size: 1rem;
    color: var(--bright-green);
    margin-bottom: 0.6rem;
    visibility: hidden;
}

#hero h1 {
    font-size: calc(2.5rem + 2.5vw);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-explanation {
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.7;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-explanation .accent-text {
    background-image: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-explanation .gradient-text {
    background-image: none; /* MODIFIED: Remove gradient */
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--white); /* MODIFIED: Set to white */
    font-weight: 700;
    -webkit-text-stroke: 0; /* MODIFIED: Remove stroke */
    text-stroke: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Retain shadow */
}

/* NEW STYLES for Tech Startups outline */
.tech-outline, .startup-outline {
    display: inline-block; /* Ensures styles apply correctly */
}

.tech-outline {
    text-shadow:
        -0.5px -0.5px 0 var(--purple),
         0.5px -0.5px 0 var(--purple),
        -0.5px  0.5px 0 var(--purple),
         0.5px  0.5px 0 var(--purple),
         2px 2px 8px rgba(0, 0, 0, 0.7);
}

.startup-outline {
    text-shadow:
        -0.5px -0.5px 0 var(--bright-green),
         0.5px -0.5px 0 var(--bright-green),
        -0.5px  0.5px 0 var(--bright-green),
         0.5px  0.5px 0 var(--bright-green),
         2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-benefits-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.6;
    margin-left: 50px;
}

.hero-benefits-list li { 
    padding-left: 14px; 
    position: relative; 
    margin-bottom: 0.4rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-benefits-list li:last-child { margin-bottom: 0; }
.hero-benefits-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; background-image: url('images/gradient-bullet.png'); background-size: contain; background-repeat: no-repeat; background-position: center; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-left: 50px;
}

.hero-buttons .button {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 12px 32px;
    font-size: 1rem;
    border-width: 1px;
    border-style: solid;
}
.hero-buttons .button.primary-button {
    border-color: var(--purple);
    background-image: linear-gradient(to right, rgba(142, 82, 255, 0.2), rgba(255, 255, 255, 0.15) 30%);
}
.hero-buttons .button.secondary-button {
    border-color: var(--bright-green);
    background-image: linear-gradient(to right, rgba(0, 255, 102, 0.2), rgba(255, 255, 255, 0.15) 30%);
}
.hero-buttons .button:active {
    transform: translateY(1px);
    box-shadow: none;
}
.hero-buttons .button.primary-button:hover {
    background-color: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}
.hero-buttons .button.secondary-button:hover {
    background-color: var(--bright-green);
    border-color: var(--bright-green);
    color: var(--black);
}

.video-control-button {
    position: absolute;
    bottom: 35px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--white);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 500;
}
.video-control-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.video-control-button:active {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0.95);
}


/* --- Content Sections --- */
.content-section { padding: 5rem 0; }
#bureaucracy { padding-top: 5rem; }

.section-content.flex-layout { 
    display: flex; 
    align-items: center; 
    gap: 3rem; 
}
.text-column { flex: 1 1 50%; }
.image-column { flex: 1 1 45%; }
.text-column h2 { text-align: left; margin-bottom: 1.5rem; }

.white-bg { background: radial-gradient(ellipse at right bottom, var(--green-tint-light) 0%, transparent 40%), radial-gradient(ellipse at left bottom, var(--green-tint-light) 0%, transparent 40%), radial-gradient(ellipse at left top, var(--green-tint-light) 0%, transparent 40%), var(--white); }
.ai-bg { background: radial-gradient(ellipse at left top, var(--green-tint-light) 0%, transparent 40%), radial-gradient(ellipse at right top, var(--green-tint-light) 0%, transparent 40%), radial-gradient(ellipse at center bottom, var(--purple-tint-light) 20%, transparent 60%), var(--white); }
.features-section { padding: 5rem 0; background: radial-gradient(ellipse at center top, var(--purple-tint-light) 20%, transparent 60%), radial-gradient(ellipse at center bottom, var(--purple-tint-light) 20%, transparent 60%), var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }

.feature-card { background-color: var(--light-gray); padding: 1.2rem; border-radius: 15px; text-align: center; transition: all 0.2s ease-out; box-shadow: var(--neu-shadow); display: flex; flex-direction: column; align-items: center; }
.card-icon-background { width: 90px; height: 90px; margin: 0 0 1rem 0; }
.card-icon-background img { max-width: 100%; max-height: 100%; object-fit: scale-down; }
.feature-card:hover { box-shadow: calc(var(--neu-offset) * 0.8) calc(var(--neu-offset) * 0.8) calc(var(--neu-blur) * 0.8) var(--neu-shadow-dark), calc(-1 * var(--neu-offset) * 0.8) calc(-1 * var(--neu-offset) * 0.8) calc(var(--neu-blur) * 0.8) var(--neu-shadow-light); transform: translateY(-2px); }
.feature-card h3 { color: var(--black); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.5rem; }
.feature-card:hover h3 { color: transparent; -webkit-text-fill-color: transparent; background-image: var(--gradient-purple-green); -webkit-background-clip: text; background-clip: text; }
.feature-card p { color: var(--medium-gray); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }

/* === START: FOUNDER/INVESTOR SECTION === */
.fi-section {
    padding: 3rem 0;
    background: radial-gradient(ellipse at center top, var(--purple-tint-light) 20%, transparent 60%), 
                radial-gradient(ellipse at left bottom, var(--purple-tint-light) 20%, transparent 60%), 
                radial-gradient(ellipse at right bottom, var(--green-tint-light) 20%, transparent 60%), 
                var(--white);
}

#founder-investor .section-content.flex-layout {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.fi-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem;
    border-radius: 25px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.founder-container {
    background: linear-gradient(125deg, #d4f5d9, #eef9e7);
}

.investor-container {
    background: linear-gradient(125deg, #e9e2fb, #f3effe);
    margin-top: -50px; 
}

.fi-side-image {
    flex: 0 0 40%;
    min-width: 0;
}

.fi-side-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.fi-card {
    background-color: transparent;
    padding: 0;
    flex: 1 1 60%;
}

.fi-card h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.fi-card h3 .h3-text {
    display: block;
    padding: 0;
    background-color: transparent;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    text-align: left;
}
.fi-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--dark-gray);
    font-size: 1rem;
    text-align: left;
}
.fi-card li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.6em;
    line-height: 1.6;
}

.founder-container .fi-card li::before,
.investor-container .fi-card li::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.founder-container .fi-card li::before {
    content: '•';
    color: var(--purple);
    font-weight: bold;
    font-size: 1.2em;
}
.investor-container .fi-card li::before {
    content: '▶';
    color: var(--bright-green);
    font-size: 0.8em;
}
/* === END: FOUNDER/INVESTOR SECTION === */

#launch {
    padding-top: 5rem;
}
.grey-bg { background: radial-gradient(ellipse at right top, var(--green-tint-light) 20%, transparent 60%), radial-gradient(ellipse at left top, var(--purple-tint-light) 20%, transparent 60%), radial-gradient(ellipse at left bottom, var(--purple-tint-light) 0%, transparent 40%), var(--white); }

/* START: MODIFIED LAUNCH SECTION FOR OVERLAP */
#launch .section-content.flex-layout {
    align-items: flex-start;
}

#launch .image-column {
    flex: 1 1 65%;
    order: 2;
}
#launch .text-column {
    position: relative;
    flex: 1 1 45%;
    order: 1;
    margin-right: -10%;
    z-index: 2;
}
#launch .text-column h2 {
    white-space: nowrap;
}
#launch .image-column img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    display: block;
    box-shadow: none;
}
/* END: MODIFIED LAUNCH SECTION */

.gradient-cta { background: var(--gradient-cta); color: var(--white); padding: 5rem 0; text-align: center; }
.gradient-cta h2 { color: var(--white); font-weight: 800; }
.gradient-cta p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.gradient-cta .button.cta-button { background-color: var(--medium-light-gray); color: var(--dark-gray); border: none; box-shadow: var(--neu-shadow-cta); border-radius: 50px; padding: 14px 40px; }
.gradient-cta .button.cta-button:hover { background-color: var(--medium-light-gray); transform: translateY(-2px); }
.gradient-cta .button.cta-button:hover span { color: transparent; background-image: var(--gradient-purple-green); -webkit-background-clip: text; background-clip: text; }
.gradient-cta .button.cta-button:active { background-color: var(--white); transform: translateY(1px); box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2); background-image: none; -webkit-background-clip: initial; background-clip: initial; }
.gradient-cta .button.cta-button:active span { color: transparent; -webkit-text-fill-color: transparent; background-image: var(--gradient-purple-green); -webkit-background-clip: text; background-clip: text; }

/* START: MODIFIED FOOTER SECTION */
.site-footer.black-footer {
    background-color: var(--black);
    color: var(--white);
    padding: 1.5rem 0 1rem 0; /* MODIFIED: Reduced padding */
    margin-top: 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 -6px 12px rgba(255, 255, 255, 0.6);
}

.footer-top-content { 
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-evenly; 
    margin-bottom: 0.5rem; /* MODIFIED: Reduced margin */
    gap: 1.5rem; /* MODIFIED: Reduced gap */
}
.footer-column { 
    flex-grow: 1; 
    flex-shrink: 1; 
    margin-bottom: 0.5rem; 
}
.partners-column, .investors-column, .social-column { 
    flex-basis: 100%;
    text-align: center;
}
.footer-column-title { 
    font-weight: 700; 
    font-size: 1rem; 
    margin-bottom: 0.5em; /* MODIFIED: Reduced margin */
    color: var(--medium-gray); 
}
.footer-logos-group { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1.5rem; 
    align-items: center; 
    /*justify-content: center;*/
}
.footer-logos-group a { 
    display: inline-flex; 
    align-items: center; 
    line-height: 0; 
}
.footer-logos-group img { 
    max-height: 35px; /* MODIFIED: Slightly reduced max-height */
    width: auto; 
    filter: brightness(0) invert(1); 
    opacity: 0.9; 
    transition: opacity 0.3s ease, filter 0.3s ease; 
}
.footer-logos-group a:hover img { 
    opacity: 1; 
}
.footer-logos-group a:hover img[src="images/Noma.png"] { 
    filter: none; opacity: 1; 
}
.investors-column .footer-logos-group img { 
    max-height: 28px; /* MODIFIED: Slightly reduced max-height */
}

.investors-column .footer-logos-group {
    justify-content: flex-start; /* Ensures left alignment */
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.footer-social-icons a {
    color: var(--medium-gray);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social-icons a:hover {
    color: var(--white);
    transform: translateY(-3px);
}
.footer-bottom { 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 1rem; 
    font-size: 0.85rem; 
    padding-top: 1rem; /* MODIFIED: Reduced padding */
    /* MODIFIED: Removed the grey border-top */
}
.footer-copyright-part1, .footer-made-with { margin: 0; color: var(--medium-gray); }
.footer-copyright-part1 { margin-right: auto; padding-left: 0.1rem; }
.footer-made-with { margin-bottom: 0; }
.heart { color: inherit; font-size: 1.1em; display: inline-block; margin: 0 2px; line-height: 1; }
.footer-swiss-flag { max-height: 15px; width: auto; margin-bottom: 0; }
.footer-made-with-group { display: flex; align-items: center; gap: 0.5rem; }
.footer-inline-logo-link { display: inline-block; line-height: 1; vertical-align: baseline; margin: 0 0.15em; }
.footer-inline-tookle-logo { max-height: 0.9em; width: auto; display: inline-block; vertical-align: -0.1em; }
/* END: MODIFIED FOOTER SECTION */


/* === Responsiveness === */
@media (min-width: 577px) {
    .founder-container {
        left: -100px;
    }
    .investor-container {
        left: 100px;
    }
}

@media (min-width: 768px) {
    .partners-column {
        flex-basis: 45%;
        text-align: left;
    }
    .investors-column {
        flex-basis: 15%;
        text-align: left;
		margin-left: 10%;
    }
    .social-column {
        flex-basis: 10%;
        text-align: right;
    }
    .footer-logos-group {
        justify-content: flex-start;
    }
    .investors-column .footer-logos-group {
        justify-content: flex-start;
    }
    .social-column .footer-social-icons {
        justify-content: flex-end;
    }
    .footer-bottom {
        flex-wrap: nowrap;
    }
}

@media (max-width: 991px) {
    .section-content.flex-layout {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    #launch .section-content.flex-layout {
        gap: 0.5rem;
    }

    .text-column, .image-column {
        flex-basis: auto;
        width: 100%;
    }

    /* THIS IS THE FIX */
    .text-column {
        text-align: left;
    }
    
    #launch .section-content .image-column, 
    #ai .section-content .image-column {
        order: 2;
        margin-top: 2rem;
    }

    #launch .text-column {
        margin-right: 0;
    }
    
    #launch {
        padding-bottom: 7rem;
    }
    
    .hero-text {
        max-width: 90%;
        margin: 0 auto;
    }

    /* === FINAL HERO SECTION MOBILE CHANGES START === */

    #hero .pre-headline {
        display: none; /* Removes pre-header and its space on mobile */
    }

    .hero-content {
        justify-content: flex-start; /* Aligns the entire text block to the left */
        padding-top: 8vh; /* Adds space at the top */
    }
    
    #hero h1, .hero-explanation, .hero-benefits-list {
        text-align: left; /* Left-aligns all the text content */
    }
    
    #hero h1 {
        font-size: 2.8rem; /* Restores font size */
        margin-bottom: 1rem; /* Adjusts spacing */
    }

    .hero-explanation {
        margin-bottom: 1.2rem; /* Adjusts spacing */
    }

    .hero-benefits-list {
        margin-left: 0; /* Resets left margin */
        margin-bottom: 1.2rem; /* Adjusts spacing */
    }

    .hero-buttons {
        justify-content: center; /* Keeps buttons centered */
        margin-left: 0;
        margin-right: 0;
        margin-top: 2.5rem; /* Pushes buttons down */
        gap: 0.8rem; /* Reduces space between buttons */
    }
    /* === FINAL HERO SECTION MOBILE CHANGES END === */
}

@media (max-width: 768px) {
    .site-header .logo a { height: 30px !important; }
    .site-header .logo img { max-height: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .card-icon-background { width: 75px; height: 75px; }
    
    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 0.8rem; 
    }
    .footer-copyright-part1, .footer-made-with-group { 
        margin-right: 0; 
        order: 0; 
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2, .section-title { font-size: 1.6rem; margin-bottom: 2rem;}
    
    #launch {
        padding-bottom: 5rem;
    }

    #founder-investor .section-title { margin-bottom: 2rem; max-width: 280px; margin-left: auto; margin-right: auto; }
    .hero-buttons .button { padding: 10px 20px; font-size: 0.85rem; }
    .content-section, .features-section, .fi-section { padding: 3rem 0; }
    .gradient-cta .button.cta-button { padding: 10px 22px; font-size: 0.9rem; }
    .gradient-cta p { margin-bottom: 1rem; }
    .site-header .button.primary-button, .site-header.scrolled .button.primary-button { padding: 6px 16px; font-size: 0.85rem; }
    :root { --neu-offset: 4px; --neu-blur: 8px; }

    .fi-container {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
        margin-top: 0 !important;
    }

    .fi-side-image {
        width: 120px;
    }

    .fi-card {
        text-align: center;
    }

    .fi-card ul {
        text-align: left;
        display: inline-block;
    }

    .card-icon-background { width: 60px; height: 60px; }
    #launch .image-column img { 
        max-width: 90%;
        margin: auto;
    }
    #bureaucracy .image-column img, #ai .image-column img { max-width: 95%; margin: auto; }
    .footer-column-title { margin-bottom: 0.75rem; }
    .partners-column .footer-logos-group a { flex-basis: calc(50% - 0.5rem); }
    .footer-bottom { gap: 0.6rem; }
    .video-control-button {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* --- Mobile Video Positioning --- */
@media (max-width: 768px) and (orientation: portrait) {
    .background-video {
        object-position: 65% center;
    }
    .background-video::poster { /* Ensures poster is also shifted */
        object-position: 65% center;
    }
}