*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #ffffff;
    --color-text: #0f0f0f;
    --color-accent: #0f0f0f;
    --color-muted: #6b6b6b;
    --color-border: #e8e8e8;
    --color-light: #f7f7f7;
    --color-highlight: #ffd700;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--color-text);
    color: #fff;
    z-index: 200;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-highlight);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

/* Navigation */
.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--color-text);
}

.logo span {
    color: var(--color-highlight);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-text);
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.25s;
}

.nav-is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* === HERO === */
.hero {
    padding: 5rem 0 0;
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, #0f0f0f 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    border-radius: 6px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: #fff;
}

/* Hero Image Placeholder */
.hero-image {
    position: relative;
}

.hero-image .img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 50%, #d0d0d0 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.img-placeholder .label {
    opacity: 0.6;
}

.img-placeholder .badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating badge on hero */
.hero-image .floating-badge {
    position: absolute;
    bottom: -1rem;
    right: -0.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-badge .badge-icon {
    width: 40px;
    height: 40px;
    background: var(--color-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-badge .badge-text strong {
    display: block;
    font-size: 0.9rem;
}

.floating-badge .badge-text span {
    font-size: 0.75rem;
    color: var(--color-muted);
}

/* Trust Bar */
.trust-bar {
    padding: 2.5rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 4rem;
    text-align: center;
}

.trust-bar p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.trust-logos .logo-placeholder {
    width: 100px;
    height: 32px;
    background: var(--color-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #aaa;
}

/* Stats */
.stats {
    background: var(--color-light);
    padding: 4rem 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.section-subtitle {
    color: var(--color-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

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

.section-centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Capabilities */
.capabilities {
    padding: 6rem 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.capability-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.25s;
}

.capability-card:hover {
    border-color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.capability-card .img-placeholder-sm {
    width: 120px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.7rem;
    overflow: hidden;
}

.capability-card .img-placeholder-sm .icon {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    opacity: 0.4;
}

.capability-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.capability-card p {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.capability-card .tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    background: var(--color-text);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

/* Process / How It Works */
.process {
    background: var(--color-light);
    padding: 6rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.process-step .step-number {
    width: 48px;
    height: 48px;
    background: var(--color-text);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step .img-placeholder-round {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ddd 0%, #ccc 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.process-step .img-placeholder-round .icon {
    font-size: 2rem;
    opacity: 0.4;
    margin-bottom: 0.3rem;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.process-step p {
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.5;
}

/* Portfolio Preview */
.portfolio-preview {
    padding: 6rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.25s;
}

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

.portfolio-item .img-placeholder-portfolio {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e4e4e4 0%, #d0d0d0 50%, #dcdcdc 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.75rem;
    overflow: hidden;
}

.portfolio-item .img-placeholder-portfolio .icon {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 0.4rem;
}

.portfolio-item .portfolio-info {
    padding: 1.25rem;
}

.portfolio-item .portfolio-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.portfolio-item .portfolio-info p {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* CTA */
.cta-section {
    background: var(--color-text);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-section .btn {
    background: #fff;
    color: var(--color-text);
}

.cta-section .btn:hover {
    background: var(--color-highlight);
    color: var(--color-text);
}

.cta-section .btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    margin-left: 1rem;
}

.cta-section .btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Product Grid (from original) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.product-card {
    border: 1px solid var(--color-border);
    padding: 2rem;
    transition: border-color 0.2s;
}

.product-card:hover {
    border-color: var(--color-text);
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-card .tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    background: var(--color-text);
    color: #fff;
}

/* Page Header */
.page-header {
    padding: 4rem 0 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Contact Form */
.contact-form {
    max-width: 640px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-text);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.site-footer .footer-contact a {
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
}
.site-footer .footer-contact a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .site-header .container {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0 0.5rem;
        border-top: 1px solid var(--color-border);
        margin-top: 1rem;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

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

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

    .capability-card {
        grid-template-columns: 1fr;
    }

    .capability-card .img-placeholder-sm {
        width: 100%;
        aspect-ratio: 16/9;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2rem;
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .trust-logos {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.15rem; }
}
