/* ============================================
   μDev — Landing Page Styles
   Black & White Premium Design
   ============================================ */

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

:root {
    /* Colors */
    --black: #000000;
    --black-light: #0a0a0a;
    --black-lighter: #111111;
    --gray-900: #1a1a1a;
    --gray-800: #222222;
    --gray-700: #333333;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #bbbbbb;
    --gray-200: #dddddd;
    --gray-100: #eeeeee;
    --white: #ffffff;
    --white-dim: rgba(255, 255, 255, 0.85);
    --white-muted: rgba(255, 255, 255, 0.6);
    --white-subtle: rgba(255, 255, 255, 0.1);
    --white-ghost: rgba(255, 255, 255, 0.04);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Sizes */
    --container-max: 1200px;
    --section-padding: 120px;
    --header-height: 80px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-normal: 0.4s var(--ease-out);
    --transition-slow: 0.8s var(--ease-out);
}

/* ---------- Light Theme ---------- */
[data-theme="light"] {
    --black: #ffffff;
    --black-light: #f5f5f5;
    --black-lighter: #eeeeee;
    --gray-900: #f0f0f0;
    --gray-800: #e0e0e0;
    --gray-700: #cccccc;
    --gray-600: #999999;
    --gray-500: #777777;
    --gray-400: #555555;
    --gray-300: #444444;
    --gray-200: #333333;
    --gray-100: #222222;
    --white: #111111;
    --white-dim: rgba(0, 0, 0, 0.85);
    --white-muted: rgba(0, 0, 0, 0.6);
    --white-subtle: rgba(0, 0, 0, 0.08);
    --white-ghost: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
}

[data-theme="light"] .nav__link--cta {
    color: var(--black);
    background: var(--white);
}

[data-theme="light"] .hero__title-outline {
    -webkit-text-stroke-color: var(--white);
}

[data-theme="light"] .hero__badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero__badge-dot {
    background: #16a34a;
}

[data-theme="light"] .btn--primary {
    background: var(--white);
    color: var(--black);
}

[data-theme="light"] .portfolio-slide__cta:hover {
    background: var(--white);
    color: var(--black);
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--white-ghost);
    border: 1px solid var(--white-subtle);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-left: 8px;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--white-subtle);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

[data-theme="light"] .theme-toggle:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.theme-toggle__mu {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.theme-toggle.active .theme-toggle__mu {
    transform: rotate(180deg);
}

/* ---------- Theme Wave Transition ---------- */
.theme-wave {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: scale(0);
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
}

.theme-wave--expand {
    animation: theme-wave-expand 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes theme-wave-expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(50);
        opacity: 0;
    }
}

/* Smooth transitions for theme change */
body,
.header,
.service-card,
.portfolio-slide__inner,
.about__feature,
.contact__channel,
.form__input,
.portfolio__btn,
.footer,
.process__step-number,
.btn {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.text-accent {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--white);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section__header {
    margin-bottom: 80px;
}

.section__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.section__title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 500px;
    font-weight: 300;
}

/* ---------- Cursor Glow ---------- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: left 0.3s ease-out, top 0.3s ease-out;
}

/* ---------- Header / Nav ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--white-subtle);
}

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

.nav__logo-img {
    height: 84px;
    width: auto;
    object-fit: contain;
}

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

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width var(--transition-normal);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    color: var(--black);
    background: var(--white);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--gray-200);
    color: var(--black);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition-fast);
    transform-origin: center;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
}

.btn--primary {
    background: var(--white);
    color: var(--black);
}

.btn--primary:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

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

.btn--ghost:hover {
    border-color: var(--gray-400);
    background: var(--white-ghost);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-400);
    background: var(--white-ghost);
    border: 1px solid var(--white-subtle);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
    }
}

.hero__title {
    font-family: var(--font-primary);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero__title-accent {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.hero__title-outline {
    -webkit-text-stroke: 1.5px var(--white);
    color: transparent;
}

.hero__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-400);
    max-width: 520px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero__stat-number {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: inline;
}

.hero__stat-plus {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-500);
}

.hero__stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 2px;
    font-weight: 400;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-800);
}

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__visual-frame {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__visual-logo {
    width: 270px;
    height: 270px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero__visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--white-subtle);
}

.hero__visual-ring--1 {
    width: 200px;
    height: 200px;
    animation: spin 20s linear infinite;
}

.hero__visual-ring--2 {
    width: 280px;
    height: 280px;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.06);
    animation: spin 30s linear infinite reverse;
}

.hero__visual-ring--3 {
    width: 360px;
    height: 360px;
    border-color: rgba(255, 255, 255, 0.03);
    animation: spin 40s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Hero Scroll */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero__scroll span {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-600);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray-600), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    50.01% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 1;
    }
}

/* ---------- Services ---------- */
.services {
    background: var(--black-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 48px 36px;
    background: var(--gray-900);
    border: 1px solid var(--white-subtle);
    border-radius: 20px;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-subtle);
    border-radius: 14px;
    margin-bottom: 28px;
    color: var(--white);
}

.service-card__number {
    position: absolute;
    top: 36px;
    right: 36px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: 0.05em;
}

.service-card__title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-card__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 28px;
    font-weight: 300;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-card__tags li {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--white-ghost);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* ---------- Portfolio ---------- */
/* Portfolio Carousel */
.portfolio__carousel {
    overflow: hidden;
    padding: 0 0 40px;
    position: relative;
}

.portfolio__track {
    display: flex;
    gap: 24px;
    padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: grab;
}

.portfolio__track:active {
    cursor: grabbing;
}

.portfolio-slide {
    flex: 0 0 380px;
    min-width: 380px;
}

.portfolio-slide__inner {
    position: relative;
    padding: 48px 36px;
    background: var(--gray-900);
    border: 1px solid var(--white-subtle);
    border-radius: 20px;
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.portfolio-slide__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: 20px;
    pointer-events: none;
}

.portfolio-slide__inner:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.portfolio-slide__inner:hover::before {
    opacity: 1;
}

.portfolio-slide__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-subtle);
    border-radius: 16px;
    margin-bottom: 28px;
    color: var(--white);
    transition: all var(--transition-normal);
}

.portfolio-slide__inner:hover .portfolio-slide__icon {
    background: var(--white);
    color: var(--black);
}

.portfolio-slide__category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.portfolio-slide__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.portfolio-slide__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-400);
    font-weight: 300;
    margin-bottom: 24px;
    flex-grow: 1;
}

.portfolio-slide__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-slide__stack li {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--white-ghost);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.portfolio-slide__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    padding: 12px 24px;
    background: var(--white-subtle);
    border-radius: 100px;
    transition: all var(--transition-fast);
    align-self: flex-start;
    position: relative;
    z-index: 2;
}

.portfolio-slide__cta:hover {
    background: var(--white);
    color: var(--black);
}

.portfolio-slide__number {
    position: absolute;
    top: 36px;
    right: 36px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-800);
    letter-spacing: 0.05em;
}

/* Carousel Controls */
.portfolio__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.portfolio__btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
    border: 1px solid var(--white-subtle);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.portfolio__btn:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.portfolio__dots {
    display: flex;
    gap: 8px;
}

.portfolio__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-700);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.portfolio__dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* ---------- Process ---------- */
.process {
    background: var(--black-light);
}

.process__timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process__step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 60px;
}

.process__step:last-child {
    padding-bottom: 0;
}

.process__step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gray-900);
    border: 1px solid var(--white-subtle);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.process__step:hover .process__step-number {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.process__step-content {
    padding-top: 12px;
}

.process__step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.process__step-text {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
    font-weight: 300;
}

.process__step-line {
    position: absolute;
    left: 28px;
    top: 56px;
    width: 1px;
    height: calc(100% - 56px);
    background: linear-gradient(to bottom, var(--gray-800), transparent);
}

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

.about__feature {
    padding: 40px 36px;
    background: var(--gray-900);
    border: 1px solid var(--white-subtle);
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.about__feature:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about__feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-subtle);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--white);
}

.about__feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.about__feature-text {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
    font-weight: 300;
}

/* ---------- Contact ---------- */
.contact {
    background: var(--black-light);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__description {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact__channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__channel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--gray-400);
    padding: 16px 24px;
    background: var(--white-ghost);
    border: 1px solid var(--white-subtle);
    border-radius: 14px;
    transition: all var(--transition-fast);
}

.contact__channel:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

/* Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__group {
    position: relative;
}

.form__input {
    width: 100%;
    padding: 18px 20px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--white);
    background: var(--gray-900);
    border: 1px solid var(--white-subtle);
    border-radius: 14px;
    outline: none;
    transition: all var(--transition-fast);
    -webkit-appearance: none;
}

.form__input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form__label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9375rem;
    color: var(--gray-600);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form__input:focus+.form__label,
.form__input:not(:placeholder-shown)+.form__label {
    top: 8px;
    transform: translateY(0);
    font-size: 0.6875rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__textarea+.form__label {
    top: 18px;
    transform: translateY(0);
}

.form__textarea:focus+.form__label,
.form__textarea:not(:placeholder-shown)+.form__label {
    top: 8px;
}

.form__select {
    color: var(--gray-600);
    cursor: pointer;
}

.form__select option {
    background: var(--gray-900);
    color: var(--white);
}

/* ---------- Footer ---------- */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--white-subtle);
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer__logo {
    height: 28px;
    width: auto;
    margin-bottom: 8px;
}

.footer__brand {
    text-align: center;
}

.footer__text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 300;
}

.footer__links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer__links a {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--white-ghost);
    width: 100%;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: var(--gray-700);
}

/* ---------- Animations ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

    .services__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

    .portfolio-card--large {
        grid-row: span 1;
        min-height: 400px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --header-height: 64px;
    }

    .nav__menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
    }

    .nav__menu.active {
        display: flex;
    }

    .nav__toggle {
        display: flex;
    }

    .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);
    }

    .nav__link {
        font-size: 1.25rem;
    }

    .nav__link--cta {
        margin-top: 16px;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero__stat-divider {
        width: 40px;
        height: 1px;
    }

    .section__header {
        margin-bottom: 48px;
    }

    .hero__scroll {
        display: none;
    }

    .portfolio-card {
        min-height: 280px;
    }

    .portfolio-card--large {
        min-height: 320px;
    }

    .process__step {
        gap: 20px;
    }

    .process__step-number {
        width: 44px;
        height: 44px;
        font-size: 0.75rem;
    }

    .process__step-line {
        left: 22px;
        top: 44px;
        height: calc(100% - 44px);
    }

    .footer__links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .service-card {
        padding: 36px 24px;
    }

    .about__feature {
        padding: 32px 24px;
    }
}