/* ============================================
   XALUC DEVOPS — Design System
   Colors: White bg, black text, maroon headings
   ============================================ */

/* CSS Variables */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #faf8f7;
    --color-text: #1a1a1a;
    --color-text-muted: #555555;
    --color-maroon: #6b1528;
    --color-maroon-light: #8a1e36;
    --color-maroon-dark: #4a0e1b;
    --color-maroon-subtle: rgba(107, 21, 40, 0.06);
    --color-border: #e8e0dd;
    --color-border-light: #f0ebe9;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    display: block;
}

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

a:hover {
    color: var(--color-maroon-light);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-maroon);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 16px;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
}

h4 {
    font-size: 1rem;
    font-weight: 700;
}

p {
    color: var(--color-text);
    margin-bottom: 12px;
}

/* ============================================
   Layout
   ============================================ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-heading p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* ============================================
   Eyebrow Label
   ============================================ */
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-maroon);
    background: var(--color-maroon-subtle);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border-light);
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--color-maroon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(107, 21, 40, 0.25);
    transition: transform var(--transition), box-shadow var(--transition);
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.brand:hover .brand-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(107, 21, 40, 0.35);
}

.brand-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-maroon);
    line-height: 1.2;
}

.brand-subtitle {
    display: block;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--color-maroon);
    background: var(--color-maroon-subtle);
}

.nav-link.active {
    color: var(--color-maroon);
    background: var(--color-maroon-subtle);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--color-maroon);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(107, 21, 40, 0.2);
}

.btn-primary:hover {
    background: var(--color-maroon-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 21, 40, 0.3);
}

.btn-primary.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--color-maroon);
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid var(--color-maroon);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: var(--color-maroon-subtle);
    color: var(--color-maroon);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    color: var(--color-maroon);
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
    cursor: default;
}

.btn-outline:hover {
    border-color: var(--color-maroon);
    color: var(--color-maroon);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--color-maroon);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(107, 21, 40, 0.2);
}

.btn-contact:hover {
    background: var(--color-maroon-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(107, 21, 40, 0.3);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-maroon);
    text-decoration: none;
    margin-top: 8px;
    transition: gap var(--transition);
}

.card-link:hover {
    gap: 8px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 21, 40, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 21, 40, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text .eyebrow {
    animation: fadeInUp 0.6s ease both;
}

.hero-text h1 {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-text h1 .highlight {
    position: relative;
    display: inline;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(107, 21, 40, 0.12);
    border-radius: 4px;
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(107, 21, 40, 0.15);
}

.hero-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.hero-card h3 {
    margin-bottom: 4px;
}

.hero-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   Services Grid (Home)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(107, 21, 40, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-maroon-subtle);
    color: var(--color-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-maroon);
    color: #fff;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================
   Project Showcase
   ============================================ */
.project-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.project-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.project-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-maroon);
    background: var(--color-maroon-subtle);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.project-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 20px 0 28px;
}

.project-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding-left: 20px;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-maroon);
    font-weight: 700;
}

/* ============================================
   Stats Row
   ============================================ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 32px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: all var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-item strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-maroon);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    padding: 100px 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   Service Detail Sections (Services page)
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.service-detail.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.service-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(107, 21, 40, 0.08);
    line-height: 1;
    margin-bottom: 8px;
}

.service-detail-content h2 {
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.detail-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-maroon-subtle);
    color: var(--color-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-feature span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Visual cards */
.visual-card-large {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.visual-card-large:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.visual-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--color-maroon);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.visual-icon-large {
    font-size: 4rem;
    margin-bottom: 16px;
}

.visual-card-large h3 {
    margin-bottom: 6px;
}

.visual-card-large p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin: 0;
}

/* ============================================
   Example Project (Services page)
   ============================================ */
.example-project {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
}

.example-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-maroon);
    background: var(--color-maroon-subtle);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.example-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.example-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.example-info p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.example-placeholder {
    background: var(--color-bg-alt);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--color-text-muted);
}

.placeholder-content svg {
    margin: 0 auto 12px;
    opacity: 0.4;
}

.placeholder-content span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.placeholder-content small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.6;
    margin-top: 4px;
}

/* ============================================
   CTA Box
   ============================================ */
.cta-box {
    text-align: center;
    padding: 64px 40px;
    background: var(--color-maroon-subtle);
    border: 1px solid rgba(107, 21, 40, 0.1);
    border-radius: var(--radius-xl);
}

.cta-box h2 {
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

/* ============================================
   About Page
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.about-photo-placeholder {
    background: var(--color-bg-alt);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-xl);
    padding: 56px 32px;
    text-align: center;
    color: var(--color-text-muted);
}

.about-photo-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-maroon-subtle);
    color: var(--color-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.about-photo-placeholder span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.about-photo-placeholder small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.about-text-column h2 {
    margin-bottom: 20px;
}

.about-text-column p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* About text sections */
.about-section-text {
    max-width: 760px;
    margin: 0 auto;
}

.about-section-text h2 {
    margin-bottom: 20px;
}

.about-section-text p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.about-features-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-maroon-subtle);
    color: var(--color-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-item span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Differentiators grid */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.diff-card {
    padding: 36px 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.diff-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(107, 21, 40, 0.15);
}

.diff-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--color-maroon-subtle);
    color: var(--color-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.diff-card:hover .diff-card-icon {
    background: var(--color-maroon);
    color: #fff;
}

.diff-card h3 {
    margin-bottom: 10px;
}

.diff-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

.footer-description {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-maroon);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 5px 0;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-maroon);
}

.footer-contact p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin: 0;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

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

    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail.reverse .service-detail-visual {
        order: -1;
    }

    .example-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border);
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-visual {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .section {
        padding: 56px 0;
    }

    .page-header {
        padding: 80px 24px 40px;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .project-card {
        padding: 24px;
    }

    .example-project {
        padding: 24px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .service-number {
        font-size: 3rem;
    }
}
