/* ============================================================
   KNT Energy — Design System & Shared Styles
   ============================================================ */

/* T005: Design Tokens (CSS Custom Properties) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --color-navy: #0E223D;
    --color-navy-light: #152d4f;
    --color-gray: #5B6673;
    --color-gray-light: #8A929B;
    --color-accent: #00A3E0;
    --color-accent-hover: #008ec4;
    --color-accent-glow: rgba(0, 163, 224, 0.15);
    --color-light-bg: #F7F9FB;
    --color-white: #FFFFFF;
    --color-dark-text: #1a1a2e;
    --color-body-text: #3d3d5c;
    --color-error: #e53e3e;
    --color-error-bg: #fff5f5;
    --color-success: #38a169;
    --color-success-bg: #f0fff4;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fs-display: clamp(2.5rem, 5vw, 4rem);
    --fs-h1: clamp(2rem, 4vw, 3rem);
    --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.25rem, 2.5vw, 1.5rem);
    --fs-h4: 1.125rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-caption: 0.75rem;
    --lh-heading: 1.2;
    --lh-body: 1.7;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Spacing (8px base) */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.5rem;
    /* 24px */
    --space-6: 2rem;
    /* 32px */
    --space-8: 3rem;
    /* 48px */
    --space-10: 4rem;
    /* 64px */
    --space-12: 5rem;
    /* 80px */
    --space-16: 8rem;
    /* 128px */

    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(14, 34, 61, 0.08);
    --shadow-md: 0 4px 12px rgba(14, 34, 61, 0.1);
    --shadow-lg: 0 8px 30px rgba(14, 34, 61, 0.12);
    --shadow-header: 0 2px 20px rgba(14, 34, 61, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    color: var(--color-dark-text);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-5);
}

h3 {
    font-size: var(--fs-h3);
    margin-bottom: var(--space-4);
}

h4 {
    font-size: var(--fs-h4);
    margin-bottom: var(--space-3);
}

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* Section */
.section {
    padding: var(--space-12) 0;
}

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

.section--dark {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.85);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.section__subtitle {
    color: var(--color-accent);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-3);
}

.section--dark .section__subtitle {
    color: var(--color-accent);
}

/* T007: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    min-height: 48px;
}

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

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 163, 224, 0.35);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn--secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.btn--disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* T008: Cards */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    border: 1px solid rgba(14, 34, 61, 0.08);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleY(1);
}

.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-glow);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-5);
    color: var(--color-accent);
    font-size: 1.5rem;
}

.card__title {
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--color-dark-text);
    margin-bottom: var(--space-3);
}

.card__body {
    color: var(--color-body-text);
    font-size: var(--fs-body);
    margin-bottom: var(--space-5);
}

.card__link {
    font-weight: var(--fw-semibold);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: gap var(--transition-fast);
}

.card__link:hover {
    gap: var(--space-3);
}

.card__link::after {
    content: '→';
}

/* Card grid */
.card-grid {
    display: grid;
    gap: var(--space-6);
}

.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* Download card */
.download-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-card .card__badge {
    display: inline-block;
    background: var(--color-accent-glow);
    color: var(--color-accent);
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    padding: var(--space-1) var(--space-3);
    border-radius: 4px;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Advantage/feature card */
.feature-card {
    text-align: center;
    padding: var(--space-8) var(--space-5);
}

.feature-card::before {
    display: none;
}

.feature-card .card__icon {
    margin: 0 auto var(--space-5);
}

/* T009: Section Container (already defined above with .section) */

/* T010: Sticky Header + Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow var(--transition-base);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-header);
    border-bottom-color: rgba(14, 34, 61, 0.06);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    text-decoration: none;
    flex-shrink: 0;
}

.logo__name {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--color-navy);
    letter-spacing: 2px;
}

.logo__subtitle {
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav__link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--color-gray);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-accent);
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--space-3);
    right: var(--space-3);
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-trigger {
    cursor: pointer;
}

.nav__dropdown-trigger::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition-fast);
}

.nav__dropdown:hover .nav__dropdown-trigger::after,
.nav__dropdown.open .nav__dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(14, 34, 61, 0.08);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-fast);
    z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-menu a {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--color-gray);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav__dropdown-menu a:hover {
    background: var(--color-light-bg);
    color: var(--color-accent);
}

/* Header CTA */
.header__cta {
    padding: 0.5rem 1.25rem;
    font-size: var(--fs-small);
    min-height: 40px;
}

/* Spacer for fixed header */
.header-spacer {
    height: var(--header-height);
}

/* T011: Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
}

/* T012: Footer */
.footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-12) 0 var(--space-6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-10);
}

.footer__title {
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.footer__text {
    font-size: var(--fs-small);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-small);
    transition: color var(--transition-fast);
}

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

.footer__contact-item {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact-item strong {
    color: rgba(255, 255, 255, 0.8);
    min-width: 50px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-caption);
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.4);
}

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

/* T013: CTA Banner Section */
.cta-section {
    background: var(--color-navy);
    padding: var(--space-12) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto var(--space-6);
    font-size: 1.125rem;
}

.cta-section .btn-group {
    justify-content: center;
}

/* T014: Production Process Timeline */
.timeline {
    position: relative;
    padding: var(--space-6) 0;
}

.timeline__track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    overflow-x: auto;
    padding-bottom: var(--space-4);
    scroll-snap-type: x mandatory;
}

.timeline__track::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(0, 163, 224, 0.3) 100%);
    border-radius: 2px;
    z-index: 0;
}

.timeline__step {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
    padding: 0 var(--space-2);
}

.timeline__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-small);
    font-weight: var(--fw-bold);
    margin: 0 auto var(--space-3);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--color-white), 0 0 0 8px rgba(0, 163, 224, 0.2);
}

.section--dark .timeline__number {
    box-shadow: 0 0 0 6px var(--color-navy), 0 0 0 8px rgba(0, 163, 224, 0.2);
}

.section--light .timeline__number {
    box-shadow: 0 0 0 6px var(--color-light-bg), 0 0 0 8px rgba(0, 163, 224, 0.2);
}

.timeline__label {
    font-size: var(--fs-caption);
    font-weight: var(--fw-medium);
    color: var(--color-gray);
    line-height: 1.4;
}

.section--dark .timeline__label {
    color: rgba(255, 255, 255, 0.7);
}

/* Vertical timeline (mobile) */
.timeline--vertical .timeline__track {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
    padding-left: var(--space-8);
}

.timeline--vertical .timeline__track::before {
    top: 0;
    bottom: 0;
    left: 24px;
    width: 3px;
    height: 100%;
    right: auto;
    background: linear-gradient(180deg, var(--color-accent) 0%, rgba(0, 163, 224, 0.3) 100%);
}

.timeline--vertical .timeline__step {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) 0;
}

.timeline--vertical .timeline__number {
    margin: 0;
    flex-shrink: 0;
    position: relative;
    left: calc(-1 * var(--space-8));
}

.timeline--vertical .timeline__label {
    font-size: var(--fs-small);
}

/* T015: Contact Form */
.form {
    max-width: 700px;
}

.form__group {
    margin-bottom: var(--space-5);
}

.form__label {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--color-dark-text);
    margin-bottom: var(--space-2);
}

.form__label--required::after {
    content: ' *';
    color: var(--color-error);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.875rem var(--space-4);
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    color: var(--color-dark-text);
    background: var(--color-white);
    border: 2px solid rgba(14, 34, 61, 0.15);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    min-height: 48px;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

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

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6673' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

/* Validation states */
.form__group.error .form__input,
.form__group.error .form__select,
.form__group.error .form__textarea {
    border-color: var(--color-error);
    background: var(--color-error-bg);
}

.form__error {
    display: none;
    font-size: var(--fs-small);
    color: var(--color-error);
    margin-top: var(--space-2);
}

.form__group.error .form__error {
    display: block;
}

/* Success state */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-10) var(--space-6);
    background: var(--color-success-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(56, 161, 105, 0.2);
}

.form-success.visible {
    display: block;
}

.form-success__icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.form-success h3 {
    color: var(--color-success);
    margin-bottom: var(--space-3);
}

/* T016: Modal / Toast */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 34, 61, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
    max-width: 440px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.visible .modal {
    transform: scale(1) translateY(0);
}

.modal__icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.modal__title {
    font-size: var(--fs-h3);
    color: var(--color-dark-text);
    margin-bottom: var(--space-3);
}

.modal__text {
    color: var(--color-gray);
    margin-bottom: var(--space-6);
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    color: var(--color-gray);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* T017: Scroll Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in-up.is-visible,
.fade-in-left.is-visible,
.fade-in-right.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* T018: Responsive Breakpoints */

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--color-navy);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.hero h1 {
    font-size: var(--fs-display);
    color: var(--color-white);
    margin-bottom: var(--space-5);
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-8);
    max-width: 600px;
    line-height: 1.7;
}

/* Page Hero (inner pages) */
.page-hero {
    background: var(--color-navy);
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Contact info cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.contact-card {
    text-align: center;
    padding: var(--space-6) var(--space-4);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(14, 34, 61, 0.08);
}

.contact-card__icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.contact-card__title {
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--color-dark-text);
    margin-bottom: var(--space-2);
}

.contact-card__info {
    font-size: var(--fs-small);
    color: var(--color-gray);
    line-height: 1.6;
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--color-light-bg);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(14, 34, 61, 0.08);
    color: var(--color-gray);
}

.map-placeholder__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-3);
}

/* 404 page */
.not-found {
    text-align: center;
    padding: var(--space-16) 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.not-found__code {
    font-size: 8rem;
    font-weight: var(--fw-bold);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-4);
    opacity: 0.3;
}

.not-found h1 {
    margin-bottom: var(--space-4);
}

.not-found p {
    color: var(--color-gray);
    margin-bottom: var(--space-6);
    max-width: 500px;
}

/* Feature grid (Why KNT) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

/* About page - story elements */
.story-highlight {
    display: inline;
    color: var(--color-accent);
    font-weight: var(--fw-semibold);
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

/* Image placeholder */
.img-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 50%, rgba(0, 163, 224, 0.15) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--fs-small);
    overflow: hidden;
    position: relative;
}

.img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 21px),
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 21px);
}

/* Responsive Tablet */
@media (max-width: 1199px) {
    .card-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .two-col {
        gap: var(--space-6);
    }

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

/* Responsive Mobile */
@media (max-width: 767px) {
    :root {
        --header-height: 64px;
    }

    .section {
        padding: var(--space-10) 0;
    }

    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    /* Desktop nav hidden */
    .nav {
        display: none;
    }

    .header__cta.desktop-only {
        display: none;
    }

    /* Mobile nav */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -4px 0 30px rgba(14, 34, 61, 0.15);
        z-index: 999;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        padding: calc(var(--header-height) + var(--space-4)) var(--space-5) var(--space-5);
    }

    .mobile-nav.open {
        transform: translateX(0);
    }

    .mobile-nav__link {
        display: block;
        padding: var(--space-3) var(--space-4);
        color: var(--color-gray);
        font-size: var(--fs-body);
        font-weight: var(--fw-medium);
        text-decoration: none;
        border-radius: var(--border-radius);
        transition: all var(--transition-fast);
    }

    .mobile-nav__link:hover,
    .mobile-nav__link.active {
        color: var(--color-accent);
        background: var(--color-light-bg);
    }

    .mobile-nav__dropdown-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: var(--space-3) var(--space-4);
        background: none;
        border: none;
        color: var(--color-gray);
        font-family: var(--font-primary);
        font-size: var(--fs-body);
        font-weight: var(--fw-medium);
        cursor: pointer;
        border-radius: var(--border-radius);
    }

    .mobile-nav__dropdown-btn:hover {
        color: var(--color-accent);
        background: var(--color-light-bg);
    }

    .mobile-nav__dropdown-btn::after {
        content: '+';
        font-size: 1.25rem;
        color: var(--color-gray-light);
        transition: transform var(--transition-fast);
    }

    .mobile-nav__dropdown-btn.open::after {
        content: '−';
    }

    .mobile-nav__submenu {
        display: none;
        padding-left: var(--space-5);
    }

    .mobile-nav__submenu.open {
        display: block;
    }

    .mobile-nav__submenu a {
        display: block;
        padding: var(--space-2) var(--space-4);
        color: var(--color-gray);
        font-size: var(--fs-small);
        text-decoration: none;
        border-radius: var(--border-radius);
    }

    .mobile-nav__submenu a:hover {
        color: var(--color-accent);
        background: var(--color-light-bg);
    }

    .mobile-nav__cta {
        margin-top: var(--space-5);
        padding: 0 var(--space-4);
    }

    .mobile-nav__overlay {
        position: fixed;
        inset: 0;
        background: rgba(14, 34, 61, 0.4);
        z-index: 998;
        display: none;
    }

    .mobile-nav__overlay.visible {
        display: block;
    }

    /* Grid stacking */
    .card-grid--3,
    .card-grid--2 {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    /* Hero mobile */
    .hero {
        min-height: 85vh;
        padding-top: var(--header-height);
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .page-hero {
        padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
    }

    /* Timeline mobile → vertical */
    .timeline__track {
        flex-direction: column;
        overflow-x: visible;
        padding-left: var(--space-8);
        padding-bottom: 0;
    }

    .timeline__track::before {
        top: 0;
        bottom: 0;
        left: 24px;
        width: 3px;
        height: 100%;
        right: auto;
        background: linear-gradient(180deg, var(--color-accent) 0%, rgba(0, 163, 224, 0.3) 100%);
    }

    .timeline__step {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: var(--space-4);
        padding: var(--space-3) 0;
    }

    .timeline__number {
        margin: 0;
        flex-shrink: 0;
        position: relative;
        left: calc(-1 * var(--space-8));
        width: 40px;
        height: 40px;
        font-size: var(--fs-caption);
    }

    .timeline__label {
        font-size: var(--fs-small);
    }

    /* Not found mobile */
    .not-found__code {
        font-size: 5rem;
    }
}

/* Print (basic) */
@media print {

    .header,
    .footer,
    .cta-section,
    .hamburger,
    .mobile-nav,
    .mobile-nav__overlay {
        display: none !important;
    }

    .header-spacer {
        height: 0;
    }

    .section {
        padding: 1rem 0;
    }

    body {
        color: #000;
    }
}