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

:root {
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-secondary: #6b6b6b;
    --color-text-tertiary: #999999;
    --color-border: #e8e8e8;
    --color-border-light: #f0f0f0;
    --color-accent: #1a1a1a;
    --color-accent-light: #555555;
    --color-accent-hover: #333333;
    --color-alt-bg: #f5f5f3;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --container: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;

}

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

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}



/* ===== Grain Overlay ===== */
.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    animation: grainShift 0.5s steps(1) infinite;
}

@keyframes grainShift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-5%, -5%); }
    50% { transform: translate(5%, 0); }
    75% { transform: translate(-2%, 5%); }
    100% { transform: translate(0, 0); }
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(250, 250, 250, 0);
    backdrop-filter: blur(0px);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 450;
    color: var(--color-text-secondary);
    transition: color var(--transition);
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.02em;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 26, 26, 0.3);
}

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

.btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Mesh Gradient */
.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: meshFloat 12s ease-in-out infinite;
}

.mesh-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #d4d4d4 0%, transparent 70%);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.mesh-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #e0e0e0 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -4s;
}

.mesh-blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #c8c8c8 0%, transparent 70%);
    top: 40%;
    right: 30%;
    animation-delay: -8s;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ===== Hero Phone Mockup ===== */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.hero-phone.animate-in {
    animation: fadeUp 1s ease forwards;
}

.hero-phone-frame {
    width: 260px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
    position: relative;
}

.hero-phone-notch {
    width: 100px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-phone-screen {
    width: 100%;
    aspect-ratio: 9/19;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
}

.hero-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 36px 18px 18px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
}

.hero-screen.active {
    opacity: 1;
    transform: translateX(0);
}

/* Status bar */
.hs-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.hs-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.hs-signal, .hs-wifi, .hs-battery {
    height: 8px;
    background: #1a1a1a;
    border-radius: 2px;
}

.hs-signal { width: 12px; }
.hs-wifi { width: 10px; border-radius: 50%; }
.hs-battery { width: 16px; }

/* Screen 1 — Finance */
.hs-greeting {
    font-size: 14px;
    font-weight: 300;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.hs-balance-label {
    font-size: 10px;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.hs-balance {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.hs-cards-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.hs-mini-card {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hs-card-label { font-size: 9px; opacity: 0.7; }
.hs-card-amount { font-size: 13px; font-weight: 600; }

.hs-section-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.hs-transaction {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.hs-tx-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.hs-tx-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hs-tx-info strong { font-size: 11px; font-weight: 600; }
.hs-tx-info span { font-size: 9px; color: var(--color-text-tertiary); }
.hs-tx-amount { font-size: 12px; font-weight: 600; flex-shrink: 0; }

/* Screen 2 — Fitness */
.hs-ring-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 8px auto 12px;
}

.hs-ring {
    width: 100%;
    height: 100%;
}

.hs-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.hs-ring-text strong { font-size: 16px; font-weight: 700; }
.hs-ring-text span { font-size: 9px; color: var(--color-text-tertiary); }

.hs-metrics-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 14px;
}

.hs-metric {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.hs-metric-val { font-size: 16px; font-weight: 700; }
.hs-metric span { font-size: 9px; color: var(--color-text-tertiary); }

.hs-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    padding-top: 8px;
}

.hs-bar {
    flex: 1;
    background: #e8e8e8;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: background var(--transition);
    min-height: 10px;
}

.hs-bar.active { background: #1a1a1a; }

.hs-bar span {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: var(--color-text-tertiary);
}

/* Screen 3 — Map */
.hs-map {
    background: #f5f5f3;
    border-radius: 12px;
    height: 120px;
    position: relative;
    margin-bottom: 12px;
    overflow: hidden;
}

.hs-map-road {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 3px;
    background: #ccc;
    border-radius: 2px;
    transform: rotate(-5deg);
}

.hs-road-2 {
    top: 35%;
    left: 20%;
    width: 60%;
    transform: rotate(15deg);
}

.hs-map-pin {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 50% 0;
    background: #1a1a1a;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
}

.hs-map-pin > * { transform: rotate(45deg); }
.hs-pin-start { top: 55%; left: 15%; }
.hs-pin-end { top: 20%; right: 15%; }

.hs-map-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    top: 45%;
    left: 40%;
    box-shadow: 0 0 0 4px rgba(26,26,26,0.2);
    animation: mapPulse 2s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(26,26,26,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(26,26,26,0.05); }
}

.hs-route-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 12px;
}

.hs-route-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.hs-route-stat strong { font-size: 14px; font-weight: 700; }
.hs-route-stat span { font-size: 9px; color: var(--color-text-tertiary); }

.hs-btn-start {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Phone dots & bar */
.hero-phone-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0 4px;
}

.hp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #555;
    transition: background var(--transition), width var(--transition);
}

.hp-dot.active {
    width: 18px;
    border-radius: 3px;
    background: #fff;
}

.hero-phone-bar {
    width: 100px;
    height: 4px;
    background: #555;
    border-radius: 2px;
    margin: 6px auto 4px;
}

/* Floating elements */
.hero-float {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    animation: heroFloatAnim 4s ease-in-out infinite;
}

.hero-float-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 20%;
    left: -5%;
    animation-delay: -1.5s;
}

.hero-float-3 {
    top: 60%;
    right: -15%;
    animation-delay: -3s;
}

@keyframes heroFloatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-tertiary);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-label.animate-in {
    animation: fadeUp 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(52px, 8vw, 100px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

/* Word reveal animation */
.word-reveal {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 0.25em;
}

.word-reveal > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-reveal.revealed > span {
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin-bottom: 48px;
    font-weight: 350;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle.animate-in {
    animation: fadeUp 0.8s ease forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions.animate-in {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ===== Tech Marquee ===== */
.marquee {
    padding: 28px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    overflow: hidden;
    background: var(--color-surface);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.marquee-content span {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

.marquee-content span:hover {
    color: var(--color-accent);
}

.marquee-dot {
    width: 4px !important;
    height: 4px;
    background: var(--color-border);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Section Divider ===== */
.section-divider {
    position: relative;
    height: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.divider-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-divider.visible .divider-line {
    width: 100%;
}

/* ===== Clients ===== */
.clients {
    padding: 64px 0;
}

.clients-label {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-tertiary);
    letter-spacing: -0.02em;
    opacity: 0.4;
    transition: opacity var(--transition), color var(--transition);
}

.client-logo:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
}

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

.section-header {
    margin-bottom: 72px;
}

.section-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-tertiary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    padding: 48px 40px;
    background: var(--color-surface);
    transition: background var(--transition), transform 0.5s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card:hover {
    background: var(--color-alt-bg);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--color-text);
    transition: transform var(--transition);
}

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

.service-icon .icon-draw {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-card:hover .icon-draw {
    stroke-dashoffset: 0;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    font-weight: 350;
}

/* ===== Work / Portfolio ===== */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.work-card-large {
    grid-row: span 2;
}

.work-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    transition: transform 0.5s ease, box-shadow var(--transition);
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
}

.work-card:hover {
    box-shadow: 0 24px 60px rgba(26, 26, 26, 0.12);
}

.work-image {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.work-card-large .work-image {
    aspect-ratio: auto;
    min-height: 300px;
    flex: 1;
}

.work-mockup {
    position: relative;
    z-index: 1;
}

.phone-frame {
    width: 140px;
    height: 280px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease;
}

.phone-frame.small {
    width: 110px;
    height: 220px;
    border-radius: 20px;
    padding: 10px;
}

.work-card:hover .phone-frame {
    transform: translateY(-12px) scale(1.03);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-frame.small .phone-screen {
    border-radius: 12px;
    padding: 12px 8px;
    gap: 6px;
}

.mock-header {
    height: 8px;
    width: 60%;
    background: #e0e0e0;
    border-radius: 4px;
}

.mock-card {
    height: 24px;
    width: 100%;
    background: #f0f0f0;
    border-radius: 6px;
}

.mock-card.short {
    width: 70%;
}

.mock-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    align-self: center;
}

.work-info {
    padding: 28px 32px;
}

.work-tag {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
}

.work-info h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 8px 0;
}

.work-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ===== Stats ===== */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

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

.stat-number {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.04em;
    display: inline;
    line-height: 1;
    color: var(--color-text);
}

.stat-suffix {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--color-text-tertiary);
    margin-top: 8px;
    letter-spacing: -0.01em;
}

/* ===== Process ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    position: relative;
    padding: 0 32px;
}

.process-line {
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
}

.process-step:first-child .process-line {
    left: 50%;
}

.process-step:last-child .process-line {
    right: 50%;
}

.process-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: var(--color-bg);
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
    transition: background var(--transition), transform var(--transition);
}

.process-step:hover .process-dot {
    background: var(--color-accent);
    transform: scale(1.3);
}

.process-number {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
}

.process-content h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 8px 0 12px;
}

.process-content p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    font-weight: 350;
}

/* ===== Testimonial ===== */
.testimonial-section {
    padding: 100px 0;
    background: var(--color-alt-bg);
}

.testimonial {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.testimonial p {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
    color: var(--color-text);
}

.testimonial footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial strong {
    font-size: 15px;
    font-weight: 600;
}

.testimonial footer span {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 24px 0 32px;
    font-weight: 350;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 450;
    color: var(--color-text);
    transition: color var(--transition);
    padding: 10px 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--color-text);
    transition: transform var(--transition);
}

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

.contact-icon .icon-frame {
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.contact-link:hover .contact-icon {
    transform: scale(1.08);
}

.contact-link:hover .icon-frame {
    stroke-dashoffset: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 15px;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    resize: vertical;
    cursor: pointer;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border-light);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-text-tertiary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border-light);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

/* ===== Page Transition ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* ===== Apple-style Text Reveal ===== */
.reveal-section {
    padding: 140px 0;
    background: var(--color-bg);
}

.reveal-text {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.reveal-text .reveal-word {
    display: inline;
    color: var(--color-border);
    transition: color 0.3s ease;
}

.reveal-text .reveal-word.visible {
    color: var(--color-text);
}

.reveal-text .reveal-word .serif {
    color: inherit;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
    .process-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .mobile-menu {
        display: flex;
        opacity: 0;
        pointer-events: none;
    }
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-phone {
        display: none;
    }
    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-scroll {
        display: none;
    }
    .section {
        padding: 80px 0;
    }
    .section-header {
        margin-bottom: 48px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .work-grid {
        grid-template-columns: 1fr;
    }
    .work-card-large {
        grid-row: span 1;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .clients-grid {
        gap: 32px;
    }
    .footer-inner {
        flex-direction: column;
    }
    .footer-links {
        gap: 48px;
    }
    .marquee-content {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 44px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
}
