/* ============================================
   BUCK LABS - Main Stylesheet
   Dark cyberpunk tech aesthetic
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d14;
    --bg-card: rgba(15, 15, 25, 0.8);
    --bg-card-hover: rgba(20, 20, 35, 0.9);

    --accent-primary: #00ff88;
    --accent-secondary: #00ccff;
    --accent-tertiary: #8b5cf6;
    --accent-glow: rgba(0, 255, 136, 0.15);
    --accent-glow-blue: rgba(0, 204, 255, 0.15);

    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --text-accent: #00ff88;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 255, 136, 0.2);

    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-height: 70px;
    --container-width: 1200px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

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

::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

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

/* --- Particle Canvas --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Scanline overlay --- */
#scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s var(--ease-out-expo);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-bracket {
    color: var(--text-muted);
    font-weight: 300;
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-primary);
}

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

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.4s var(--ease-out-expo);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--accent-primary);
}

/* --- Hero Section --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.terminal-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    padding: 10px 20px;
    margin-bottom: -1px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28ca41; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.hero-text-container {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 0 8px 8px 8px;
    padding: 3rem 4rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--accent-secondary);
    animation: glitch-effect 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-2px);
}

.glitch::after {
    color: var(--accent-tertiary);
    animation: glitch-effect 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(2px);
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    2% { transform: skew(0.5deg); }
    4% { transform: skew(0deg); }
    50% { transform: skew(0deg); }
    52% { transform: skew(-0.5deg); }
    54% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.cursor {
    animation: blink 1s steps(1) infinite;
    color: var(--accent-primary);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-primary:hover {
    background: #33ffaa;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glow);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);
}

.btn-icon {
    transition: transform 0.3s;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Sections --- */
.section {
    position: relative;
    z-index: 2;
    padding: 8rem 0;
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.section-tag-close {
    margin-top: 4rem;
    margin-bottom: 0;
}

.section-title {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.title-accent {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

.section-line {
    width: 60px;
    height: 2px;
    background: var(--accent-primary);
    margin-top: 1.5rem;
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -8px;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.about-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.about-card:hover .card-glow {
    opacity: 1;
}

.about-text-lead {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}

.stat-item:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.05);
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-primary);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-weight: 600;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.service-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-card-wide {
    grid-column: 1 / -1;
}

.service-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.15);
    color: var(--accent-primary);
    border-radius: 2px;
}

/* --- Philosophy Section --- */
.philosophy-content {
    max-width: 800px;
}

.philosophy-quote {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 4px 4px 0;
}

.quote-mark {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--accent-primary);
    line-height: 1;
    flex-shrink: 0;
}

blockquote {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.philosophy-text {
    margin-bottom: 3rem;
}

.philosophy-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.philosophy-mission {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 1.5rem !important;
}

.audience-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.audience-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out-expo);
}

.audience-item:hover {
    border-color: var(--border-glow);
    transform: translateX(8px);
}

.audience-icon {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Contact Section --- */
.contact-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
}

.contact-terminal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.terminal-body {
    padding: 2rem;
}

.terminal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-line-textarea {
    align-items: flex-start;
}

.prompt {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    white-space: nowrap;
    min-width: 80px;
}

.prompt-arrow {
    color: var(--text-muted);
}

.terminal-form input,
.terminal-form textarea {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: border-color 0.3s;
    width: 100%;
}

.terminal-form input::placeholder,
.terminal-form textarea::placeholder {
    color: var(--text-muted);
}

.terminal-form input:focus,
.terminal-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.terminal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    margin-top: 0.5rem;
    width: auto;
}

.form-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0;
    transition: all 0.3s;
}

.form-status.success {
    color: var(--accent-primary);
    padding: 0.75rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 4px;
}

.form-status.error {
    color: #ff5f57;
    padding: 0.75rem;
    background: rgba(255, 95, 87, 0.05);
    border: 1px solid rgba(255, 95, 87, 0.2);
    border-radius: 4px;
}

.info-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem;
    overflow: hidden;
}

.info-card h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
    transition: opacity 0.3s;
}

.info-link:hover {
    opacity: 0.7;
}

.btn-linkedin {
    background: rgba(0, 119, 181, 0.15);
    color: #00ccff;
    border: 1px solid rgba(0, 204, 255, 0.3);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

.btn-linkedin:hover {
    background: rgba(0, 119, 181, 0.3);
    border-color: #00ccff;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 204, 255, 0.2);
    color: #fff;
}

/* --- Footer --- */
#footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-primary);
    letter-spacing: 0.2em;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social {
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.footer-social:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-legal {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .hero-text-container {
        padding: 2rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-wide {
        grid-column: auto;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .form-line {
        flex-direction: column;
        align-items: stretch;
    }

    .prompt {
        min-width: auto;
    }

    .section {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }
}
