/* ============================================
   ALEVEIT – Design System
   Dark Navy / Ocean Blue Theme
   ============================================ */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties */
:root {
    /* Colors */
    --navy: #0A0F2E;
    --navy-light: #111838;
    --navy-surface: #151C3F;
    --dark: #050810;
    --accent: #1E90FF;
    --accent-bright: #00D4FF;
    --white: #FFFFFF;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: #1E293B;
    --border-light: #2A3555;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-bright));
    --gradient-bg: linear-gradient(180deg, var(--navy) 0%, var(--dark) 100%);
    --gradient-card: linear-gradient(135deg, rgba(17, 24, 56, 0.8), rgba(21, 28, 63, 0.6));

    /* Typography */
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    line-height: 1.15;
}

.section-title-left {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: var(--space-md);
    line-height: 1.15;
    text-align: left;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 8, 16, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-accent);
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-bg);
    padding-top: 80px;
    overflow: hidden;
}

.starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Orb Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb {
    width: 350px;
    height: 350px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at 35% 35%, 
        rgba(30, 144, 255, 0.15), 
        rgba(0, 212, 255, 0.08) 50%, 
        rgba(10, 15, 46, 0.9));
    position: relative;
    box-shadow: 
        0 0 80px rgba(30, 144, 255, 0.15),
        inset -30px -30px 80px rgba(0, 0, 0, 0.4),
        inset 10px 10px 40px rgba(30, 144, 255, 0.08);
    animation: orb-float 8s ease-in-out infinite;
}

.orb::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(30, 144, 255, 0.08);
    box-shadow: inset -5px -5px 15px rgba(0, 0, 0, 0.2);
}

.orb::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 15%;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background: rgba(0, 212, 255, 0.06);
}

.orb-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(30, 144, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { top: -50%; }
    100% { top: 120%; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-2xl) 0;
    background: var(--navy);
}

.about-intro {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.about-intro p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

.team-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.team-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-sm);
    overflow: hidden;
    border: 2px solid var(--border-light);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-surface);
    color: var(--text-muted);
}

.placeholder-avatar svg {
    width: 60%;
    height: 60%;
}

.placeholder-avatar.small {
    width: 80px;
    height: 80px;
}

.placeholder-avatar.small svg {
    width: 55%;
    height: 55%;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.team-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.value-item {
    text-align: center;
    padding: var(--space-md);
}

.value-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.value-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-2xl) 0;
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: var(--border-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(30, 144, 255, 0.3);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.08), rgba(0, 212, 255, 0.04));
}

.service-card.featured::before {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.service-tagline {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    padding-left: 1.25rem;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--accent);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: var(--space-2xl) 0;
    background: var(--navy);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.portfolio-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.portfolio-card:hover {
    border-color: var(--border-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    height: 200px;
    background: var(--navy-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.03);
}

.placeholder-project {
    flex-direction: column;
    gap: var(--space-sm);
    color: var(--text-muted);
}

.placeholder-project svg {
    width: 60px;
    height: 60px;
}

.placeholder-project span {
    font-size: 0.875rem;
    font-weight: 500;
}

.portfolio-info {
    padding: var(--space-md);
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    padding: 0.25rem 0.625rem;
    background: var(--navy-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   OPEN SOURCE SECTION
   ============================================ */
.opensource {
    padding: var(--space-2xl) 0;
    background: var(--dark);
}

.opensource-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.opensource-text > p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.opensource-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background 0.3s ease;
}

.benefit:hover {
    background: rgba(30, 144, 255, 0.05);
}

.benefit svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.benefit span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Tools List */
.opensource-tools {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.opensource-tools h4 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    font-weight: 500;
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.tool-item:last-child {
    border-bottom: none;
}

.tool-item strong {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.tool-item span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--navy);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    max-width: 960px;
    margin: 0 auto;
}

.contact-personal {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-person {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.person-image {
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
}

.person-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}

.person-info p {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.availability {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
}

.contact-method:hover {
    background: rgba(30, 144, 255, 0.05);
}

.contact-method svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.contact-method span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--navy-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
    background: rgba(30, 144, 255, 0.3);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .opensource-layout {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 8, 16, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .value-item {
        padding: var(--space-sm);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .footer-links {
        gap: var(--space-md);
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .orb {
        width: 250px;
        height: 250px;
    }
}
