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

:root {
    --bg-primary: #07080c;
    --bg-secondary: #0d1017;
    --bg-card: #121722;
    --bg-panel: rgba(18, 23, 34, 0.78);
    --text-primary: #f4f7fb;
    --text-secondary: #aab2c5;
    --text-tertiary: #7f889d;
    --accent-start: #d6b25e;
    --accent-end: #ff8b3d;
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(214, 178, 94, 0.24);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.45);
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top, rgba(214, 178, 94, 0.08) 0%, transparent 28%),
        linear-gradient(180deg, #05060a 0%, #090b11 35%, #07080c 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

a {
    color: inherit;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(7, 8, 12, 0.7);
    backdrop-filter: blur(18px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-start), transparent);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 176px 24px 88px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at top, rgba(214, 178, 94, 0.16) 0%, rgba(214, 178, 94, 0.05) 18%, transparent 42%),
        linear-gradient(180deg, #06070b 0%, #05060a 48%, #07080c 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.54) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    position: relative;
    max-width: 670px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.shader-bg {
    position: absolute;
    inset: -12% -8%;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    overflow: hidden;
}

.shader-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(214, 178, 94, 0.34) 0%, rgba(214, 178, 94, 0.12) 16%, transparent 36%),
        radial-gradient(circle at 82% 18%, rgba(255, 139, 61, 0.26) 0%, rgba(255, 139, 61, 0.08) 14%, transparent 32%),
        radial-gradient(circle at 74% 70%, rgba(214, 178, 94, 0.2) 0%, transparent 28%),
        radial-gradient(circle at 34% 78%, rgba(255, 139, 61, 0.16) 0%, transparent 24%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.03) 10%, transparent 36%, rgba(255, 255, 255, 0.02) 56%, transparent 72%);
    filter: blur(24px) saturate(120%);
    transform: scale(1.06);
    animation: hero-glow-drift 18s ease-in-out infinite alternate;
}

.shader-bg::after {
    content: '';
    position: absolute;
    inset: 10% 8%;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 120px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px);
    -webkit-mask-image: radial-gradient(circle at center, black 48%, transparent 84%);
    mask-image: radial-gradient(circle at center, black 48%, transparent 84%);
    opacity: 0.28;
    transform: perspective(1200px) rotateX(72deg) translateY(24%);
    transform-origin: center;
}

@keyframes hero-glow-drift {
    0% {
        transform: scale(1.03) translate3d(-2%, 0, 0);
    }
    50% {
        transform: scale(1.08) translate3d(1%, -2%, 0);
    }
    100% {
        transform: scale(1.04) translate3d(3%, 2%, 0);
    }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent-start);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
    margin-bottom: 26px;
    background: linear-gradient(135deg, #ffffff 0%, #d7deeb 62%, #9fa9be 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheading {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 0 34px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: 0.2px;
}

.hero-stage {
    position: relative;
    min-height: 460px;
}

.system-board {
    position: relative;
    width: 100%;
    min-height: 460px;
    padding: 26px;
    border-radius: 34px;
    border: 1px solid var(--border-soft);
    background: linear-gradient(180deg, rgba(19, 23, 35, 0.92), rgba(8, 10, 15, 0.88));
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.system-board::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(214, 178, 94, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(255, 139, 61, 0.12), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 34%);
    pointer-events: none;
}

.system-board::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 110px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 110px);
    mask-image: radial-gradient(circle at center, black 42%, transparent 92%);
    -webkit-mask-image: radial-gradient(circle at center, black 42%, transparent 92%);
    opacity: 0.16;
    pointer-events: none;
}

.board-header,
.board-main,
.board-footer {
    position: relative;
    z-index: 1;
}

.board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.board-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.board-copy h3 {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.12;
    margin-bottom: 16px;
    max-width: 12ch;
}

.board-text {
    color: var(--text-secondary);
    max-width: 52ch;
    margin-bottom: 24px;
    line-height: 1.75;
}

.system-badge,
.system-status,
.system-mini-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.system-badge,
.system-mini-label {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.system-status {
    background: rgba(214, 178, 94, 0.12);
    color: var(--accent-start);
}

.system-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.flow-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 13px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.principle-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.principle-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.principle-row span {
    color: var(--text-secondary);
    line-height: 1.5;
}

.principle-row strong {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.board-footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.board-stat {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.board-stat span {
    display: block;
    margin-bottom: 6px;
    color: var(--accent-start);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.board-stat strong {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.85;
    pointer-events: none;
}

.orb-one {
    top: 0;
    right: 12%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(214, 178, 94, 0.58) 0%, rgba(214, 178, 94, 0.08) 65%, transparent 100%);
}

.orb-two {
    bottom: 8%;
    left: 10%;
    width: 92px;
    height: 92px;
    background: radial-gradient(circle, rgba(255, 139, 61, 0.48) 0%, rgba(255, 139, 61, 0.08) 65%, transparent 100%);
}

.hero-metrics {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.hero-metric {
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(14px);
}

.metric-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-start);
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-metric strong {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
}

.btn-primary {
    display: inline-block;
    padding: 15px 28px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(214, 178, 94, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(214, 178, 94, 0.32);
    filter: saturate(105%);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 24px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: rgba(214, 178, 94, 0.45);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

/* Solutions Section */
.solutions {
    padding: 120px 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 24%),
        var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(214, 178, 94, 0.05) 0%, transparent 46%),
        radial-gradient(circle at 80% 80%, rgba(255, 139, 61, 0.04) 0%, transparent 42%);
    pointer-events: none;
}

.solutions .container {
    position: relative;
    z-index: 1;
}

.section-heading {
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 18px;
    text-align: center;
}

.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-start);
    margin-bottom: 14px;
    font-weight: 500;
}

.section-eyebrow-left,
.section-title-left,
.section-intro-left {
    text-align: left;
}

.section-intro {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    padding: 34px;
    border-radius: 28px;
    border: 1px solid var(--border-soft);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(214, 178, 94, 0.07), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    border-color: var(--border-strong);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    border-radius: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111;
    box-shadow: 0 12px 24px rgba(214, 178, 94, 0.18);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-points {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.card-points li {
    position: relative;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 15px;
}

.card-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

.work-band {
    background:
        radial-gradient(circle at top right, rgba(214, 178, 94, 0.06), transparent 28%),
        #0a0d13;
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 44px;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    padding: 32px;
    border-radius: 30px;
    border: 1px solid var(--border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        var(--bg-card);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
}

.feature-card-wide {
    grid-row: span 2;
    min-height: 504px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at top right, rgba(214, 178, 94, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        var(--bg-card);
}

.feature-tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-start);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 15ch;
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    max-width: 56ch;
    line-height: 1.75;
}

.feature-points {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.feature-points span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 14px;
}

/* Process */
.process {
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #080a10 0%, #06070b 100%);
}

.process::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(214, 178, 94, 0.03) 50%, transparent 100%);
    animation: slideBackground 15s ease-in-out infinite;
}

@keyframes slideBackground {
    0%, 100% { transform: translateX(-50%) translateY(-50%); }
    50% { transform: translateX(0%) translateY(0%); }
}

.process .container {
    position: relative;
    z-index: 1;
}

.process-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 36px;
    align-items: start;
}

.process-copy {
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.step {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(214, 178, 94, 0.18);
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--bg-primary);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Intelrev */
.why-intelrev {
    padding: 120px 24px;
    background:
        radial-gradient(circle at bottom left, rgba(214, 178, 94, 0.05), transparent 28%),
        var(--bg-secondary);
}

.why-content {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    gap: 48px;
    align-items: center;
}

.why-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 24px;
}

.why-text p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.why-text ul {
    list-style: none;
}

.why-text li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
}

.why-text li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-start);
}

.why-graphic {
    min-height: 430px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-xl);
}

.why-graphic::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(214, 178, 94, 0.08) 60deg,
        transparent 120deg
    );
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.principle-card {
    position: absolute;
    inset: 28px;
    z-index: 1;
    padding: 28px;
    border-radius: 26px;
    background: rgba(8, 10, 15, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.shape {
    position: absolute;
    border: 1px solid rgba(214, 178, 94, 0.22);
}

.shape1 {
    width: 180px;
    height: 180px;
    top: 14%;
    left: 8%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 6s ease-in-out infinite;
}

.shape2 {
    width: 100px;
    height: 100px;
    bottom: 14%;
    right: 14%;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape3 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

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

/* Contact */
.contact {
    padding: 40px 24px 120px;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(214, 178, 94, 0.09) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 36px;
    align-items: center;
    padding: 42px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(10, 12, 18, 0.8);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-xl);
}

.contact h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 18px;
}

.contact p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 640px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.contact-note {
    color: var(--text-tertiary);
    font-size: 15px;
    line-height: 1.7;
}

/* Footer */
footer {
    background: #0b0e14;
    padding: 60px 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.logo-img {
    height: 56px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    display: block;
}

/* -------- Work / Portfolio page -------- */

.work-hero {
    padding: 180px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.work-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 140, 0, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

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

.work-hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-hero p {
    color: var(--text-secondary);
    font-size: clamp(16px, 1.6vw, 19px);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.work-grid-section {
    padding: 80px 24px 100px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.05);
}

.project-card:hover::after {
    transform: scaleX(1);
}

.project-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.project-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 140, 0, 0.08)),
        var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease, opacity 0.4s ease;
    opacity: 0.95;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
    opacity: 1;
}

.project-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 1px;
    color: rgba(212, 175, 55, 0.55);
    pointer-events: none;
}

.project-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.project-domain {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-start);
    font-weight: 500;
}

.project-card h3 {
    font-size: 22px;
    line-height: 1.3;
    color: var(--text-primary);
}

.project-summary {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.project-visit {
    margin-top: auto;
    padding-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease, gap 0.3s ease;
}

.project-visit .arrow {
    transition: transform 0.3s ease;
}

.project-card:hover .project-visit {
    color: var(--accent-start);
    gap: 10px;
}

.project-card:hover .project-visit .arrow {
    transform: translate(2px, -2px);
}

@media (max-width: 1100px) {
    .hero-shell,
    .process-shell,
    .why-content,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-stage {
        min-height: auto;
        max-width: 640px;
        width: 100%;
        margin: 0 auto;
    }

    .split-heading {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .feature-card-wide {
        grid-row: auto;
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 156px 24px 72px;
        text-align: center;
    }

    .hero-shell {
        gap: 36px;
    }

    .hero-copy {
        max-width: none;
        text-align: center;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-stage,
    .system-board {
        min-height: auto;
    }

    .system-board {
        padding: 20px;
    }

    .board-footer {
        grid-template-columns: 1fr;
    }

    .board-copy h3 {
        max-width: none;
    }

    .hero-metrics,
    .process-steps,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .shader-bg {
        inset: -10%;
    }

    .shader-bg::after {
        inset: 18% -18% auto;
        height: 46%;
        opacity: 0.16;
        transform: perspective(900px) rotateX(79deg) translateY(8%);
    }

    .nav-content {
        padding: 16px 20px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .section-eyebrow-left,
    .section-title-left,
    .section-intro-left {
        text-align: center;
    }

    .split-heading {
        align-items: center;
    }

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

    .why-graphic {
        min-height: 360px;
    }

    .principle-card {
        inset: 18px;
        padding: 20px;
    }

    .contact-panel {
        padding: 30px;
    }

    .contact-actions {
        align-items: center;
    }

    .contact p {
        font-size: 17px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
