/* ============================================================
   AISCKOP BIOTECH — IP Licensing Platform
   Dark Premium Theme | Responsive | Custom Properties
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-base);
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* ── Design Tokens ── */
:root {
    --bg-deep: #050D1A;
    --bg-base: #0A1628;
    --bg-elevated: #0E1D32;
    --bg-surface: #142440;
    --accent-primary: #2D8A5E;
    --accent-glow: #4DFFB8;
    --accent-blue: #1E6B99;
    --text-primary: #F0F4F8;
    --text-secondary: #8BA3BE;
    --text-muted: #5A7394;
    --border-subtle: #1A2F4D;
    --border-active: #2D8A5E;
    --container-max: 1280px;
    --container-narrow: 720px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

/* ── Selection ── */
::selection {
    background: rgba(45, 138, 94, 0.35);
    color: var(--text-primary);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ── Focus Styles ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: var(--accent-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ── Typography ── */
.font-display {
    font-family: var(--font-display);
    font-weight: 400;
}

.font-mono {
    font-family: var(--font-mono);
    font-weight: 400;
}

/* ── Section Label (mono caption) ── */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

/* ── Headings ── */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.3;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border: none;
}
.btn-primary:hover {
    background: var(--accent-glow);
    color: var(--bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(45, 138, 94, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 10px 20px;
}
.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ── Loader ── */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand {
    position: relative;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
}

.loader-text {
    color: var(--text-primary);
}

.loader-orbital {
    color: var(--accent-glow);
    position: relative;
}

.loader-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-glow);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.2s ease-in-out infinite;
}

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

/* ── Page Overlay ── */
.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--bg-deep);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.page-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ── Custom Cursor ── */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, opacity 0.3s, transform 0.15s;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.custom-cursor.active {
    opacity: 1;
}
.custom-cursor.hover {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
}

/* ── Header / Navigation ── */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-text {
    color: var(--text-primary);
}

.logo-orbital {
    color: var(--accent-glow);
    position: relative;
    display: inline-block;
}

.logo-orbital::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-glow);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Nav Links */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 1px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.mobile-nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: color var(--transition-base);
    padding: 0.5rem;
}

.mobile-nav-link:hover {
    color: var(--text-primary);
}

.btn-mobile {
    margin-top: var(--space-md);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, #0A1F1A 0%, #050D1A 70%);
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-left: 8vw;
    padding-right: var(--space-md);
    max-width: 720px;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 400;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-indicator svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ── Section Base ── */
.section {
    position: relative;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.section-container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
}

/* ── Value Proposition Section ── */
.value-section {
    border-top: 1px solid var(--border-subtle);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.value-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all var(--transition-slow);
}

.value-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    stroke: var(--accent-primary);
    stroke-width: 1.5;
    fill: none;
}

.value-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.value-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.value-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    transition: color var(--transition-base);
}

.value-link:hover {
    color: var(--accent-glow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── What We Offer Section ── */
.offer-section {
    background: var(--bg-deep);
}

.offer-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.offer-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: var(--space-sm) auto 0;
}

.offer-list {
    max-width: 900px;
    margin: 0 auto;
}

.offer-item {
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-base);
}

.offer-item:first-child {
    border-top: 1px solid var(--border-subtle);
}

.offer-item:hover {
    background: rgba(45, 138, 94, 0.05);
}

.offer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    gap: var(--space-sm);
}

.offer-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 32px;
    flex-shrink: 0;
}

.offer-name {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    flex: 1;
}

.offer-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(45, 138, 94, 0.2);
    color: var(--accent-glow);
    white-space: nowrap;
    flex-shrink: 0;
}

.offer-badge.commercial {
    background: rgba(45, 138, 94, 0.35);
}

.offer-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.offer-item.active .offer-arrow {
    transform: rotate(180deg);
}

.offer-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-item.active .offer-details {
    max-height: 300px;
}

.offer-details-inner {
    padding: 0 0 1.75rem 42px;
    max-width: 600px;
}

.offer-details-inner p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.offer-details-inner a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
}

.offer-details-inner a:hover {
    color: var(--accent-glow);
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, #0A1F1A 0%, #0E1D32 50%, #0A1628 100%);
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.cta-banner .section-container {
    max-width: 700px;
}

.cta-banner h2 {
    margin-bottom: var(--space-md);
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ── About Page ── */
.about-hero {
    position: relative;
    min-height: 50vh;
    min-height: max(50vh, 400px);
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    padding-bottom: var(--space-xl);
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,13,26,0.7), rgba(5,13,26,0.95));
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--space-lg);
    align-items: center;
}

.story-text h2 {
    margin-bottom: var(--space-md);
}

.story-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1rem;
    line-height: 1.7;
}

.story-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats */
.stats-row {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-glow);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Location Section */
.location-section {
    background: var(--bg-deep);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.location-panel h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.location-panel p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.university-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.university-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: border-color var(--transition-base);
}

.university-card:hover {
    border-color: var(--border-active);
}

/* ── IP Catalog Page ── */
.catalog-hero {
    min-height: 35vh;
    min-height: max(35vh, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-base);
    padding-top: 72px;
}

.catalog-hero h1 {
    margin-bottom: var(--space-sm);
}

.catalog-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* IP Card Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.ip-card {
    background: linear-gradient(135deg, #0E1D32 0%, #0A1628 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.ip-card:hover {
    transform: translateY(-6px);
    border-color: rgba(45, 138, 94, 0.4);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.ip-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.ip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ip-card:hover .ip-card-image img {
    transform: scale(1.03);
}

.ip-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(45, 138, 94, 0.2);
    color: var(--accent-glow);
    backdrop-filter: blur(8px);
}

.ip-card-badge.commercial {
    background: rgba(45, 138, 94, 0.35);
}

.ip-card-body {
    padding: 1.5rem;
}

.ip-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.ip-card-metrics {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.ip-card-metric {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.ip-card-metric-sep {
    color: var(--text-muted);
    font-size: 0.6rem;
}

.ip-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ip-card-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: color var(--transition-base);
}

.ip-card:hover .ip-card-cta {
    color: var(--accent-glow);
}

/* ── Inquiry Page ── */
.inquiry-section {
    padding-top: calc(72px + var(--space-xl));
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: var(--space-lg);
    align-items: start;
}

.inquiry-form-wrapper h1 {
    margin-bottom: var(--space-sm);
}

.inquiry-form-wrapper > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(45, 138, 94, 0.15);
    outline: none;
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238BA3BE' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

/* Checkbox */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: var(--space-md) 0;
    padding: var(--space-md);
    background: rgba(45, 138, 94, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.form-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    background: var(--bg-surface);
    cursor: pointer;
    accent-color: var(--accent-primary);
    margin-top: 2px;
}

.form-checkbox:checked {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox-label strong {
    color: var(--text-primary);
}

/* Form error/success */
.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: var(--radius-sm);
}

.form-success {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--accent-glow);
}

.form-success h2 {
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* Info Panel */
.info-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.info-panel h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.step-item {
    display: flex;
    gap: var(--space-sm);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-glow);
    min-width: 24px;
    font-weight: 600;
}

.step-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-contact {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.info-contact h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-contact a {
    color: var(--accent-primary);
    font-weight: 500;
}

.info-contact a:hover {
    color: var(--accent-glow);
}

/* ── Legal Pages ── */
.legal-page h1 {
    margin-bottom: var(--space-xs);
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.legal-content h2 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.legal-content ol,
.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: var(--space-sm);
}

.legal-content ol {
    list-style: decimal;
}

.legal-content ul {
    list-style: disc;
}

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.35rem;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: var(--space-md) 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.cookie-table th {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.cookie-table td {
    color: var(--text-secondary);
}

/* ── Footer ── */
.main-footer {
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-deep);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.footer-address {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
}

.footer-email a {
    color: var(--accent-primary);
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

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

.footer-heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.footer-nav-list li {
    margin-bottom: 0.5rem;
}

.footer-nav-list a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

.footer-nav-list a:hover {
    color: var(--accent-glow);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-copyright,
.footer-jurisdiction {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-md);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex: 1;
    min-width: 280px;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* ── Scroll Animations (GSAP classes) ── */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
}

[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
}

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

[data-animate="fade-right"] {
    opacity: 0;
    transform: translateX(30px);
}

[data-animate="fade-in"] {
    opacity: 0;
}

.no-js [data-animate],
.no-js [data-animate="fade-up"],
.no-js [data-animate="fade-left"],
.no-js [data-animate="fade-right"],
.no-js [data-animate="fade-in"] {
    opacity: 1;
    transform: none;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-indicator,
    .loader-dot {
        animation: none !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .hero-content {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .story-image {
        order: -1;
        max-height: 300px;
    }

    .stats-row {
        flex-direction: column;
        gap: var(--space-md);
    }

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

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

    .info-panel {
        position: static;
        order: -1;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

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

    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .offer-toggle {
        flex-wrap: wrap;
    }

    .offer-name {
        width: 100%;
        order: 2;
        margin-top: 0.5rem;
    }
}
