/* style.css */
:root {
    /* Colors */
    --bg-dark: #030303;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --glass-border-light: rgba(255, 255, 255, 0.08);
    --glass-border-dark: rgba(255, 255, 255, 0.02);
    
    /* Brand Colors */
    --accent-yellow: #FFCF3A;
    --accent-red: #FE4A56;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-red) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 207, 58, 0.15) 0%, rgba(254, 74, 86, 0.15) 100%);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 2;
}

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

/* Components */
.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(254, 74, 86, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(254, 74, 86, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-normal), backdrop-filter var(--transition-normal), padding var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border-light);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    transition: all var(--transition-fast);
}

.mobile-menu-btn span:first-child { top: 0; }
.mobile-menu-btn span:last-child { bottom: 0; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem; /* Increased to account for fixed navbar */
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Dynamic Space Background Context */
#space-background {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(ellipse at bottom, #0F172A 0%, #030303 100%);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Star */
.space-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 10px rgba(255,255,255,0.8); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* Shooting Star */
.shooting-star {
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
    border-radius: 999px;
    opacity: 0;
    transform-origin: left center;
    animation: shoot-across 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes shoot-across {
    0% { transform: translate(0, 0) rotate(35deg) scale(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(-1000px, 1000px) rotate(35deg) scale(1); opacity: 0; }
}

/* Ambient Floating Background Rockets */
.ambient-rocket {
    position: absolute;
    color: rgba(255, 255, 255, 0.03); /* Super faint */
    filter: blur(1px);
    z-index: -9; /* Just above stars */
    pointer-events: none;
    transform: rotate(45deg);
    animation: floatUp linear forwards;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) rotate(45deg) scale(0.8); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20vh) rotate(45deg) scale(1.2); opacity: 0; }
}

/* Static Glow Orbs (Legacy Ambient Lighting) */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 207, 58, 0.15);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(254, 74, 86, 0.15);
    bottom: -100px;
    left: 10%;
}

/* Sections */
.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 1.5rem;
}

/* Philosophy Section */
.philosophy .section-header {
    margin-bottom: 0;
}

/* System Section */
.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.system-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
}

.system-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 207, 58, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 207, 58, 0.2);
}

.layer-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
}

.system-card h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.system-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    min-height: 80px;
}

.feature-list {
    list-style: none;
    position: relative;
    z-index: 2;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
}

/* Case Studies Section */
.case-study-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    padding: 4rem;
    margin-top: 4rem;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.client-industry {
    color: var(--accent-yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.case-study-title {
    margin-bottom: 1.5rem;
}

.case-study-desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.result-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.result-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Case Study Image Replacement */
.case-study-visual {
    height: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 16px;
    perspective: 1000px;
}

.glass-image-container {
    width: 100%;
    height: 100%;
    min-height: 550px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-image-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    filter: contrast(1.1) brightness(0.9);
}

.glass-image-container:hover .glass-image {
    transform: scale(1.05);
}

.glass-image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 207, 58, 0.1), rgba(254, 74, 86, 0.1));
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Editorial Insights (Long form) */
.insights-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.insight-editorial.card-style {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}

.insight-editorial.card-style:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.insight-editorial h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.editorial-preview p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.read-more:hover {
    color: var(--accent-yellow);
}

.editorial-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.editorial-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.editorial-content em {
    color: var(--accent-yellow);
    font-style: normal;
}

.highlight-quote {
    font-size: 1.5rem !important;
    color: var(--accent-yellow) !important;
    font-weight: 500;
    line-height: 1.4 !important;
    margin: 3rem 0 !important;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-yellow);
}

/* CEO Section */
.ceo-section {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

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

.ceo-lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 1.5rem 0 2.5rem;
    font-weight: 500;
}

.ceo-visual {
    height: 100%;
    min-height: 500px;
    max-height: 700px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.portrait-container {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.portrait-container:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.portrait-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.portrait-overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 1) 100%);
    padding: 3rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.founder-title {
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Contact */
.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 207, 58, 0.3);
    border-top: 1px solid rgba(255, 207, 58, 0.5);
    border-left: 1px solid rgba(255, 207, 58, 0.4);
    box-shadow: 0 20px 60px rgba(255, 207, 58, 0.1), inset 0 0 20px rgba(255, 207, 58, 0.05);
    border-radius: 24px;
    padding: 5rem 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-glow);
    opacity: 0.05;
    pointer-events: none;
}

.contact-title {
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Luxury Form Styles */
.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.glass-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.glass-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 207, 58, 0.4);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 0 20px rgba(255, 207, 58, 0.1);
    transform: translateY(-1px);
}

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

/* Social Buttons */
.social-contact-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 3rem 0;
}

.social-contact-divider::before, .social-contact-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border-light);
}

.social-contact-divider::not(:empty)::before {
    margin-right: 1.5rem;
}

.social-contact-divider::not(:empty)::after {
    margin-left: 1.5rem;
}

.social-buttons-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid var(--glass-border-light);
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: inherit;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.social-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.social-btn:active {
    transform: translateY(2px) scale(0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Specific Hover Glows */
.social-btn.whatsapp-btn:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), inset 0 0 15px rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    color: #25D366;
}

.social-btn.email-btn:hover {
    box-shadow: 0 10px 30px rgba(254, 74, 86, 0.4), inset 0 0 15px rgba(254, 74, 86, 0.2);
    border-color: rgba(254, 74, 86, 0.5);
    color: var(--accent-red);
}

.social-btn.instagram-btn:hover {
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4), inset 0 0 15px rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.5);
    color: #E1306C;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    background: #050505;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.link-group a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: perspective(1000px) translateY(40px) rotateX(-10deg);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}

.fade-in.appear {
    opacity: 1;
    transform: perspective(1000px) translateY(0) rotateX(0deg);
}

/* Floating Rocket Ship */
.floating-rocket-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-dark);
    border-top: 1px solid rgba(255, 207, 58, 0.4);
    border-left: 1px solid rgba(255, 207, 58, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 207, 58, 0.05);
    color: var(--text-primary);
    
    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(50px) rotate(-45deg);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-rocket-container.rocket-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) rotate(-45deg); /* The Lucide icon points 45deg, so we rotate it to point straight UP */
}

/* Hover Physics */
.floating-rocket-container:hover {
    box-shadow: 0 15px 35px rgba(255, 207, 58, 0.3), inset 0 0 20px rgba(255, 207, 58, 0.2);
    border-color: rgba(255, 207, 58, 0.6);
    color: var(--accent-yellow);
    animation: rocket-rumble 0.3s infinite alternate;
}

@keyframes rocket-rumble {
    0% { transform: translateY(0) rotate(-45deg) translateX(-1px); }
    100% { transform: translateY(-2px) rotate(-45deg) translateX(1px); }
}

/* SVG Graphic logic */
.rocket-svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Exhaust Flame - Hidden initially */
.exhaust-flame {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 15px;
    height: 25px;
    background: linear-gradient(to bottom, var(--accent-yellow), transparent);
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0;
    transform: rotate(45deg) translateY(10px);
    transform-origin: top center;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.floating-rocket-container:hover .exhaust-flame {
    opacity: 1;
    animation: exhaust-flicker 0.1s infinite alternate;
}

@keyframes exhaust-flicker {
    0% { transform: rotate(45deg) translateY(10px) scaleY(1); opacity: 0.8; }
    100% { transform: rotate(45deg) translateY(10px) scaleY(1.3); opacity: 1; }
}

/* Launch Animation added via JS */
.floating-rocket-container.launching {
    animation: rocket-launch 1s cubic-bezier(0.5, 0, 0.2, 1) forwards;
    pointer-events: none; /* Prevent double-clicks */
}

.floating-rocket-container.launching .exhaust-flame {
    opacity: 1;
    height: 60px; /* Big flame */
    background: linear-gradient(to bottom, var(--accent-yellow), var(--accent-red), transparent);
}

@keyframes rocket-launch {
    0% { transform: translateY(0) rotate(-45deg); opacity: 1; }
    20% { transform: translateY(10px) rotate(-45deg); } /* Dip before launch */
    100% { transform: translateY(-1000px) rotate(-45deg); opacity: 0; }
}

/* Responsive */
/* Mobile menu active state */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        padding: 2rem;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 100;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }

    .mobile-menu-btn span {
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:first-child {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:last-child {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Register/Login Button Style */
.btn-login {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

