/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Colors - Deep Premium Dark Theme */
    --bg-primary: #070a12;
    --bg-secondary: rgba(15, 23, 42, 0.55);
    --bg-card: rgba(22, 30, 49, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Accents (Aurora effect) */
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-purple: #a855f7;
    --accent-gradient: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    
    /* Borders & Glassmorphism */
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-focus: rgba(99, 102, 241, 0.4);
    --glow-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transition Speed */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* MatchMaster Custom Sub-theme */
    --mm-bg: rgba(16, 28, 20, 0.65);
    --mm-accent: #84cc16; /* Lime Green */
    --mm-accent-glow: rgba(132, 204, 22, 0.3);
    --mm-border: rgba(132, 204, 22, 0.15);
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particle Canvas Background */
#hero-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0d1527 0%, var(--bg-primary) 70%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.section-title.text-left {
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-glass);
    backdrop-filter: blur(10px);
}

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 10, 18, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(7, 10, 18, 0.85);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.site-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.text-accent {
    color: var(--accent-cyan);
    font-weight: 800;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-nav::after {
    display: none;
}

/* Hamburger Menu Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

/* Gradient Titles */
.gradient-text-1 {
    background: linear-gradient(to right, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-2 {
    background: linear-gradient(to right, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-3 {
    background: linear-gradient(to right, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse-icon {
    display: block;
    width: 28px;
    height: 45px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   Services Section (Pilares)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: var(--glow-shadow);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(99, 102, 241, 0.08), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    color: var(--accent-indigo);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.05);
}

.service-icon {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.975rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: minmax(auto, 600px);
    justify-content: center;
    gap: 3.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image {
    transform: scale(1.03);
}

.project-overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
}

.project-category {
    background: rgba(7, 10, 18, 0.75);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(5px);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.975rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* MatchMaster Theme Details */
.project-card.matchmaster-theme {
    background: var(--mm-bg);
    border-color: var(--mm-border);
}

.project-card.matchmaster-theme:hover {
    border-color: var(--mm-accent);
    box-shadow: 0 0 35px var(--mm-accent-glow);
}

.project-card.matchmaster-theme .project-category {
    color: var(--mm-accent);
    border-color: rgba(132, 204, 22, 0.25);
}

/* Sports Title style */
.project-title-sports {
    font-size: 2.1rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--mm-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card.matchmaster-theme .tag {
    background: rgba(132, 204, 22, 0.05);
    border-color: rgba(132, 204, 22, 0.2);
    color: #d9f99d;
}

.project-card.matchmaster-theme .tag:hover {
    background: rgba(132, 204, 22, 0.1);
    color: var(--mm-accent);
}

.btn-project-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--mm-accent);
    border: 1.5px solid var(--mm-accent);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    margin-top: auto;
    align-self: flex-start;
}

.btn-project-action:hover {
    background: var(--mm-accent);
    color: #070a12;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--mm-accent-glow);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-project-action:hover .arrow-icon {
    transform: translate(2px, -2px);
}

/* Placeholder Card (Expandable) */
.placeholder-card {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    background: transparent;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    min-height: 480px;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0.6;
}

.placeholder-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.placeholder-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Contact Section & Floating Labels
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 5rem;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 4.5rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-text p, .detail-text a {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-text a:hover {
    color: var(--accent-purple);
}

/* Contact Form */
.contact-form-panel {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.2rem;
    background: rgba(7, 10, 18, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
    background: rgba(7, 10, 18, 0.7);
}

/* Floating Label Logic */
.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
    font-size: 0.95rem;
}

.form-group textarea ~ label {
    top: 1.1rem;
}

/* Floating labels effect when input is focused or not empty */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.65rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--accent-indigo);
    background-color: var(--bg-primary);
    padding: 0 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Input validation styles */
.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group.error label {
    color: #ef4444 !important;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.4rem;
    padding-left: 0.5rem;
}

.form-group.error .error-msg {
    display: block;
}

/* Submit Button Loading Animation */
#btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

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

.btn.submitting {
    pointer-events: none;
}

.btn.submitting .btn-text {
    opacity: 0;
}

.btn.submitting .btn-loader {
    display: block;
}

/* Success Overlay */
.contact-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d1322;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.contact-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    max-width: 320px;
    padding: 2rem;
}

.success-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(132, 204, 22, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

/* Checkmark Animation */
.success-checkmark {
    width: 52px;
    height: 52px;
    stroke: var(--mm-accent);
    stroke-width: 3;
    stroke-miterlimit: 10;
    display: block;
}

.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-glass);
    background: #05070c;
    padding: 4.5rem 0 3rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.footer-brand .logo-container {
    margin-bottom: 1.2rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    text-align: right;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animations & Scroll Reveal
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    /* Header Responsive styling */
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hamburger {
        display: block;
        position: relative;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: var(--transition-smooth);
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: var(--transition-smooth);
    }
    
    .hamburger::before { top: -8px; }
    .hamburger::after { top: 8px; }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .primary-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #090e18;
        border-left: 1px solid var(--border-glass);
        padding: 100px 3rem 3rem;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
    }
    
    .primary-navigation.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .btn-nav {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-nav {
        text-align: center;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
