/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
---------------------------------------------------- */
:root {
    /* Color Palette (HSL) */
    --bg-dark: 0 0% 100%;         /* Pure white background */
    --bg-card: 0 0% 97%;          /* Very light grey for cards */
    --color-primary: 270 90% 55%;  /* Violet/Purple Electric */
    --color-secondary: 190 95% 40%;/* Cyan Vibrante */
    --color-text-main: 0 0% 0%;    /* Pure Black */
    --color-text-muted: 220 10% 40%;/* Muted Grey/Slate */
    --border-color: 220 15% 90%;  /* Soft light border */
    
    /* Layout */
    --header-height: 80px;
    --container-max-width: 1200px;
    --border-radius: 12px;
    
    /* Fonts */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

/* ----------------------------------------------------
   RESET & BASE STYLES
---------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: hsl(var(--bg-dark));
    color: hsl(var(--color-text-main));
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, input, textarea {
    font-family: inherit;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--bg-dark));
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--border-color));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--color-primary) / 0.5);
}

/* Selection Color */
::selection {
    background-color: hsl(var(--color-primary) / 0.3);
    color: hsl(var(--color-text-main));
}

/* ----------------------------------------------------
   LAYOUT CONTAINERS
---------------------------------------------------- */
.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ----------------------------------------------------
   HEADER (NAVIGATION BAR)
---------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: hsl(var(--bg-dark) / 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* Subtle border glow on header when scrolling could be handled in JS later, but this base styling is already very premium */

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #000000;
}

.logo-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #000000;
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
}

.logo-text span {
    color: #000000;
}

/* ----------------------------------------------------
   BUTTONS (PREMIUM STYLES)
---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #222222;
    border-color: #222222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Header Button Specific tweaks if any */
.btn-header {
    font-size: 0.9rem;
    padding: 8px 18px;
}

/* ----------------------------------------------------
   HERO / BANNER PRINCIPAL
---------------------------------------------------- */
.hero {
    min-height: calc(100vh - var(--header-height));
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #000000;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: hsl(var(--color-text-muted));
    max-width: 520px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Animation Placeholder */
.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    align-self: flex-start;
}

.btn-hero-cta {
    padding: 12px 26px;
    font-size: 1rem;
}

.animation-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: hsl(var(--bg-card));
    border: 2px dashed hsl(var(--border-color));
    border-radius: calc(var(--border-radius) * 1.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.animation-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
}

/* ==================================================
   ANIMATION MOCKUP (Monochromatic)
================================================== */

/* Container already defined above (.animation-placeholder) */
#animation-placeholder {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e5e5e5;
    background: #fafafa;
    border-radius: 20px;
}

/* --- Central Screen Mockup --- */
.anim-screen {
    width: 180px;
    background: #ffffff;
    border: 1.5px solid #000000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 4px 4px 0px #000000;
    animation: screenPulse 4s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.anim-screen-topbar {
    background: #000000;
    padding: 8px 12px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.anim-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.4;
}

.anim-dot:first-child { opacity: 1; }
.anim-dot:nth-child(2) { opacity: 0.6; }

.anim-screen-body {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Progress Bar Block --- */
.anim-progress-block {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 6px;
}

.anim-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anim-progress-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #888888;
}

.anim-progress-pct {
    font-size: 0.65rem;
    font-weight: 800;
    color: #000000;
    font-family: 'Courier New', monospace;
    transition: all 0.4s ease;
}

.anim-progress-track {
    width: 100%;
    height: 5px;
    background: #e0e0e0;
    border-radius: 99px;
    overflow: hidden;
}

.anim-progress-fill {
    height: 100%;
    width: 0%;
    background: #000000;
    border-radius: 99px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-progress-status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.anim-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #000000;
    flex-shrink: 0;
    animation: statusPulse 1.2s ease-in-out infinite;
}

.anim-status-text {
    font-size: 0.6rem;
    color: #555555;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    transition: opacity 0.3s ease;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.7); }
}

.anim-app-label {
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.anim-screen-bar {
    height: 8px;
    background: #000000;
    border-radius: 4px;
    animation: barScan 2.5s ease-in-out infinite;
}

.anim-bar-wide  { width: 100%; animation-delay: 0s; }
.anim-bar-medium { width: 72%; animation-delay: 0.3s; }
.anim-bar-short  { width: 48%; animation-delay: 0.6s; }

/* --- Floating Code Particles --- */
.anim-particle {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* Positions around the central mockup */
.anim-p1 { top: 12%;  left: 6%;  animation: floatParticle 5s ease-in-out 0.0s infinite; }
.anim-p2 { top: 20%;  right: 8%; animation: floatParticle 6s ease-in-out 0.8s infinite; }
.anim-p3 { top: 60%;  left: 4%;  animation: floatParticle 7s ease-in-out 1.4s infinite; }
.anim-p4 { bottom: 14%; right: 10%; animation: floatParticle 5.5s ease-in-out 0.5s infinite; }
.anim-p5 { bottom: 22%; left: 8%;   animation: floatParticle 6.5s ease-in-out 2.0s infinite; }
.anim-p6 { top: 42%;  right: 6%;  animation: floatParticle 5.8s ease-in-out 1.1s infinite; }

/* --- Geometric AI Icons --- */
.anim-geo {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;
    pointer-events: none;
}

.anim-g1 { top: 8%;    right: 18%; animation: orbitFloat 6s   ease-in-out 0.2s infinite; }
.anim-g2 { bottom: 10%; left: 16%;  animation: orbitFloat 7s   ease-in-out 1.0s infinite; }
.anim-g3 { top: 55%;   right: 14%; animation: orbitFloat 5.5s ease-in-out 0.6s infinite; }
.anim-g4 { top: 18%;   left: 18%;  animation: orbitFloat 8s   ease-in-out 1.8s infinite; }

/* ---- Keyframes ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes screenPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-6px) scale(1.02); }
}

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

@keyframes floatParticle {
    0%   { opacity: 0;    transform: translateY(10px) scale(0.8); }
    15%  { opacity: 1;    transform: translateY(0)    scale(1); }
    85%  { opacity: 1;    transform: translateY(-12px) scale(1); }
    100% { opacity: 0;    transform: translateY(-20px) scale(0.8); }
}

@keyframes orbitFloat {
    0%   { opacity: 0;   transform: translate(0, 8px) rotate(0deg); }
    20%  { opacity: 0.7; transform: translate(0, 0)   rotate(10deg); }
    50%  { opacity: 1;   transform: translate(4px, -8px) rotate(-5deg); }
    80%  { opacity: 0.7; transform: translate(-4px, 0)  rotate(8deg); }
    100% { opacity: 0;   transform: translate(0, 8px)  rotate(0deg); }
}

/* --- Stage & Audience --- */
.anim-stage-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.anim-audience {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: -2px;
    z-index: 2;
}

.anim-person {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    animation: audienceBob 3s ease-in-out infinite;
    transform-origin: bottom center;
}

.anim-person-1 { animation-delay: 0.2s; width: 24px; height: 24px; }
.anim-person-2 { animation-delay: 0.8s; width: 28px; height: 28px; }
.anim-person-3 { animation-delay: 0.5s; width: 32px; height: 32px; }
.anim-person-4 { animation-delay: 1.2s; width: 26px; height: 26px; }
.anim-person-5 { animation-delay: 0.1s; width: 25px; height: 25px; }

.anim-stage {
    width: 80%;
    height: 18px;
    background: #000000;
    border-radius: 6px 6px 0 0;
    position: relative;
}
.anim-stage::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

@keyframes audienceBob {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.7; }
    50% { transform: translateY(-4px) scaleY(1.05); opacity: 0.9; }
}



/* ----------------------------------------------------
   PHILOSOPHY / INTRO SECTION
---------------------------------------------------- */
.philosophy {
    position: relative;
    overflow: hidden;
    padding: 120px 24px;
    background-color: hsl(var(--bg-dark));
    border-top: 1px solid hsl(var(--border-color));
    display: flex;
    justify-content: center;
    align-items: center;
}

.philosophy-container {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.philosophy-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: -10px;
}

.philosophy-group-icon {
    width: 120px;
    height: 64px;
    color: #000000;
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.philosophy-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.2px;
    color: #000000;
}

.philosophy-subtitle {
    font-size: 1.2rem;
    line-height: 1.75;
    color: hsl(var(--color-text-muted));
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.philosophy-subtitle .highlight {
    
    color: #000000;
    font-size: 1.25rem;
}

/* ----------------------------------------------------
   WAITLIST SECTION
---------------------------------------------------- */
.waitlist {
    position: relative;
    overflow: hidden;
    padding: 120px 24px;
    background-color: hsl(var(--bg-card));
    border-top: 1px solid hsl(var(--border-color));
    display: flex;
    justify-content: center;
    align-items: center;
}

.waitlist-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max-width);
    display: flex;
    justify-content: center;
}

.waitlist-card {
    background-color: #ffffff;
    border: 1px solid hsl(var(--border-color));
    border-radius: calc(var(--border-radius) * 1.5);
    padding: 60px 40px;
    max-width: 680px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.waitlist-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    color: #000000;
}

.waitlist-subtitle {
    font-size: 1.05rem;
    color: hsl(var(--color-text-muted));
    max-width: 480px;
    margin: 0 auto;
}

/* Form Styles */
.waitlist-form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.input-group {
    display: flex;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius);
    padding: 6px;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: #000000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.input-group-name {
    background-color: #ffffff;
}

.waitlist-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 1rem;
    color: #000000;
    width: 100%;
}

.waitlist-input::placeholder {
    color: hsl(var(--color-text-muted));
}

.btn-submit {
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.waitlist-disclaimer {
    font-size: 0.8rem;
    color: hsl(var(--color-text-muted));
    margin-top: 4px;
    text-align: center;
}

.disclaimer-link {
    color: hsl(var(--color-text-main));
    text-decoration: underline;
    text-decoration-color: hsl(var(--border-color));
    text-underline-offset: 3px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.disclaimer-link:hover {
    color: var(--color-primary);
    text-decoration-color: var(--color-primary);
}

/* Feedback Messages */
.form-message {
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 20px;
    transition: var(--transition-smooth);
}

.form-message.error {
    color: #d90429;
}

.form-message.success {
    color: #2b9348;
}

/* Social Proof (Counter & Avatars) */
.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 8px auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.avatar-stack {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-right: -8px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), z-index 0.1s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.avatar:hover {
    transform: translateY(-6px) scale(1.15);
    z-index: 10;
}

.avatar-1 { background-image: url(avatar-1.png); }
.avatar-2 { background-image: url(avatar-3.png); }
.avatar-3 { background-image: url(avatar-2.png); }
.avatar-4 { background: linear-gradient(135deg, #c7c7cc 0%, #48484a 100%); }
.avatar-5 { background: linear-gradient(135deg, #aeaeb2 0%, #2c2c2e 100%); }

.avatar-plus {
    background: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #ffffff;
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-proof-text {
    font-size: 0.95rem;
    color: hsl(var(--color-text-muted));
    font-weight: 500;
}

.social-proof-text .counter {
    font-weight: 800;
    color: #000000;
    font-size: 1.1rem;
    font-family: var(--font-main);
}

/* ----------------------------------------------------
   WHY JOIN SECTION
---------------------------------------------------- */
.why-join {
    padding: 120px 24px;
    background-color: hsl(var(--bg-dark));
    border-top: 1px solid hsl(var(--border-color));
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-join-container {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: flex-start;
}

.why-join-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #000000;
}

.why-join-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-join-highlight {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
}

.why-join-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: hsl(var(--color-text-muted));
}

/* ----------------------------------------------------
   RESPONSIVE MEDIA QUERIES
---------------------------------------------------- */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .hero-cta {
        align-self: center;
    }
    
    .animation-placeholder {
        max-width: 500px;
    }
    
    .waitlist {
        padding: 80px 20px;
    }
    
    .waitlist-card {
        padding: 40px 24px;
    }
    
    .waitlist-title {
        font-size: 1.8rem;
    }
    
    .why-join-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .why-join-title {
        font-size: 2.4rem;
    }
    
    .why-join-highlight {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .philosophy {
        padding: 80px 20px;
    }
    
    .philosophy-title {
        font-size: 2.1rem;
        letter-spacing: -0.5px;
    }
    
    .philosophy-subtitle {
        font-size: 1.05rem;
    }
    
    .philosophy-subtitle .highlight {
        font-size: 1.15rem;
    }
    
    .why-join {
        padding: 80px 20px;
    }

    .why-join-text {  font-size: 1.05rem; }
}

@media (max-width: 576px) {
    .hero {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.8px;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .input-group {
        flex-direction: column;
        border: none;
        padding: 0;
        gap: 12px;
        background: transparent;
    }
    
    .waitlist-input {
        border: 1px solid hsl(var(--border-color));
        border-radius: var(--border-radius);
        background-color: #ffffff;
        padding: 14px 16px;
    }
    
    .waitlist-input:focus {
        border-color: #000000;
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    }
    
    .btn-submit {
        padding: 14px 20px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 16px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .btn-header {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.footer {
    background-color: #000000;
    padding: 36px 24px;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    color: #ffffff;
}

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-logo .logo-text span {
    color: #ffffff;
}

.footer-logo .logo-icon {
    color: #ffffff;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    padding-left: 2px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.footer-link:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* ----------------------------------------------------
   MODALS
---------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    background-color: #ffffff;
    border-radius: calc(var(--border-radius) * 1.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal.active {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid hsl(var(--border-color));
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: hsl(var(--color-text-muted));
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: #d90429;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: hsl(var(--color-text-muted));
}

.modal-body h4 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: #000000;
    font-weight: 700;
}

.modal-body p {
    margin-bottom: 16px;
}
