﻿/* RobotiX One — Modern electronics-style design system */

:root {
    --color-bg: #f4f6f9;
    --color-surface: #ffffff;
    --color-surface-alt: #eef2f7;
    --color-surface-dark: #0f172a;
    --color-surface-dark-2: #1e293b;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-text-inverse: #f8fafc;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-accent: #06b6d4;
    --color-accent-soft: #ecfeff;
    --color-border: #e2e8f0;
    --color-border-strong: #cbd5e1;
    --header-height: 76px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-button: var(--radius-sm);
    --radius-full: 9999px;
    --font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--color-primary);
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.02em;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0;
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.nav a:hover {
    color: var(--color-primary);
}

.cta-button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    font-family: var(--font);
}

.cta-button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: var(--radius-button);
    background: transparent;
    color: var(--color-text);
    font-size: 1rem;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
    flex-shrink: 0;
}

.search-toggle:hover {
    color: var(--color-primary);
    background: transparent;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: var(--radius-button);
    background: transparent;
    color: var(--color-text);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color var(--transition);
    flex-shrink: 0;
}

.nav-toggle:hover {
    color: var(--color-primary);
}

body.nav-menu-open {
    overflow: hidden;
}

body.search-modal-open {
    overflow: hidden;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: calc(var(--header-height) + 24px) 20px 40px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--transition), visibility var(--transition);
}

.search-modal.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.search-modal-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border);
}

.search-modal-header h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.search-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-button);
    background: transparent;
    color: var(--color-text-muted);
    font-size: 1.125rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.search-modal-close:hover {
    background: var(--color-surface-alt);
    color: var(--color-text);
}

.search-modal-body {
    padding: 20px;
}

.search-input-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    margin-bottom: 16px;
}

.search-input-label:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.search-input-label i {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
}

.search-input::placeholder {
    color: var(--color-text-muted);
}

.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: min(50vh, 360px);
    overflow-y: auto;
}

.search-results li {
    margin: 0;
}

.search-result-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-text);
    transition: background var(--transition);
}

.search-result-link:hover {
    background: var(--color-primary-light);
}

.search-result-title {
    font-weight: 600;
    font-size: 0.9375rem;
}

.search-result-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.search-results-hint,
.search-results-empty {
    padding: 12px 14px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--color-surface-dark) 0%, var(--color-surface-dark-2) 55%, #0c4a6e 100%);
    padding: calc(var(--header-height) + 64px) 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 55%;
    height: 140%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.hero--image-bg {
    background-image: url('images/20251027_235257-b.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: min(70.4vh, 656px);
    padding: calc(var(--header-height) + 51px) 0 80px;
}

.hero--image-bg::before {
    inset: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.65) 45%,
        rgba(15, 23, 42, 0.35) 100%
    );
}

.hero::after {
    display: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero--image-bg .container {
    grid-template-columns: 1fr;
    min-height: min(41.6vh, 384px);
    align-content: center;
}

.hero--image-bg .feature-icons {
    margin-top: 45px;
}

.hero-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--color-text-inverse);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 32px;
    font-weight: 500;
    max-width: 28rem;
}

.hero-cta {
    background: white;
    color: var(--color-text);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-button);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    font-family: var(--font);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 560px;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.feature-icons {
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

.feature-icons .container {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.icon-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.icon-item span {
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Mid section */
.mid-section {
    background: var(--color-surface);
    padding: 96px 0;
    position: relative;
}

.mid-section::before {
    display: none;
}

.mid-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.mid-left h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mid-right h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mid-right p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Offerings */
.offerings {
    background: var(--color-bg);
    padding: 96px 0;
}

.offerings h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.offerings > .container > p,
.offerings .creativity-right > p:first-child {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    max-width: none;
    width: 100%;
    font-weight: 500;
    line-height: 1.75;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: left;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.product-card img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    background: var(--color-surface-alt);
}

.product-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    font-weight: 500;
    flex-grow: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--color-primary);
    text-decoration: none;
    padding: 8px 0;
    border: none;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 12px;
    transition: gap var(--transition), color var(--transition);
}

.product-link:hover {
    background: transparent;
    color: var(--color-primary-hover);
    gap: 10px;
}

/* Creativity */
.creativity {
    background: var(--color-surface);
    padding: 96px 0;
}

.creativity-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.robot-internal img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    background: var(--color-surface-alt);
    box-shadow: var(--shadow-md);
}

.creativity-right h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.creativity-right p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 400;
}

.creativity-right ul li {
    padding-left: 28px;
    position: relative;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.creativity-right ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: 8px;
    top: 0.65em;
}

/* Philosophy */
.philosophy {
    background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-bg) 100%);
    padding: 96px 0;
    position: relative;
}

.philosophy::before {
    display: none;
}

.philosophy h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.philosophy p {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    max-width: none;
    width: 100%;
}

/* Testimonials */
.testimonials {
    background: var(--color-surface);
    padding: 96px 0;
}

.testimonials h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px 40px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.dots {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.dots span {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.dots span:first-child {
    opacity: 1;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 4px;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.testimonial-icon {
    position: absolute;
    bottom: -18px;
    left: 28px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    border: 3px solid var(--color-surface);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--color-surface-dark);
    color: var(--color-text-inverse);
    padding: 72px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    box-shadow: none;
}

.footer-logo h4 {
    font-size: 1.125rem;
    font-weight: 800;
    margin: 0;
    color: white;
}

.footer-logo p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
}

.footer-contact h5,
.footer-links h5,
.footer-newsletter h5 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-contact p,
.footer-newsletter p {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.contact-form label,
.newsletter-form .form-group label,
.form-group label {
    display: block;
    font-size: 0.8125rem;
    color: #cbd5e1;
    margin-bottom: 6px;
    font-weight: 500;
}

.contact-form input[type="email"],
.contact-form textarea,
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 0.875rem;
    font-family: var(--font);
    transition: border-color var(--transition), background var(--transition);
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 96px;
}

.contact-submit-btn,
.subscribe-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-button);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    font-size: 0.875rem;
    font-family: var(--font);
    width: 100%;
    margin-top: 4px;
}

.contact-submit-btn:hover,
.subscribe-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    transition: opacity var(--transition), transform var(--transition);
}

.footer-social-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.footer-social-link img {
    display: block;
    width: 36px;
    height: auto;
}

.form-group {
    margin-bottom: 14px;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group.checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--color-primary);
}

.form-group.checkbox label {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 2.2;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #64748b;
}

/* Get Started */
.get-started-main {
    padding: calc(var(--header-height) + 48px) 0 96px;
    background: var(--color-bg);
}

.get-started-hero {
    text-align: center;
    margin-bottom: 64px;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.get-started-hero h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.get-started-hero p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.get-started-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.option-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.option-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.option-card.featured {
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

.option-card.featured:hover {
    transform: translateY(-6px);
}

.option-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-soft));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    color: var(--color-primary);
}

.option-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.option-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.65;
}

.option-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.option-card li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.option-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.75rem;
}

.option-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-button);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    font-family: var(--font);
}

.option-btn:hover {
    background: var(--color-primary-hover);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.featured-btn {
    background: var(--color-accent);
}

.featured-btn:hover {
    background: #0891b2;
}

.get-started-features {
    margin-bottom: 80px;
}

.get-started-features h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.feature-item i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.get-started-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--color-surface-dark), var(--color-surface-dark-2));
    padding: 56px 40px;
    border-radius: var(--radius-lg);
    color: white;
}

.get-started-cta h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.get-started-cta p {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 28px;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.assessment-btn {
    background: white;
    color: var(--color-text);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-button);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    font-family: var(--font);
}

.assessment-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Tutorial & code pages */
.code-page {
    padding: calc(var(--header-height) + 48px) 0 96px;
    background: var(--color-bg);
}

.code-content {
    max-width: 820px;
    margin: 0 auto;
}

.code-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.code-section-title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 20px;
    margin-top: 48px;
    letter-spacing: -0.02em;
}

.code-section-title:first-child,
.code-content > .code-section-title:first-of-type {
    margin-top: 0;
}

.code-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
}

.code-description--spaced {
    margin-top: 48px;
}

.tutorial-figure {
    margin: 24px 0 28px;
    max-width: 720px;
}

.tutorial-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.tutorial-figure figcaption {
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.specs-figure {
    margin: 28px 0 40px;
}

.specs-figure img {
    display: block;
    width: 100%;
    max-width: 820px;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.specs-figure figcaption {
    margin-top: 12px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.specs-figure figcaption strong {
    color: var(--color-text);
}

.specs-table-wrap {
    overflow-x: auto;
    margin: 20px 0 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: var(--color-surface);
}

.specs-table th,
.specs-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.specs-table th {
    background: var(--color-surface-alt);
    font-weight: 600;
    color: var(--color-text);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.specs-table td code {
    font-size: 0.8125rem;
}

.get-started-specs {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
    padding: 32px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.get-started-specs h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.get-started-specs p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.code-explanation-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    margin-top: 40px;
}

.code-snippet {
    background: var(--color-surface-alt);
    padding: 16px;
    border-radius: var(--radius-md);
    margin: 12px 0 20px;
    border-left: 4px solid var(--color-primary);
    overflow-x: auto;
}

.code-snippet pre,
.code-snippet code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: transparent !important;
}

.video-container {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.code-viewer {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
}

.code-viewer-header {
    background: var(--color-surface-alt);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.code-viewer-title {
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-viewer-title i {
    color: var(--color-primary);
}

.copy-button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-button);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background var(--transition);
    font-family: var(--font);
}

.copy-button:hover {
    background: var(--color-primary-hover);
}

.copy-button.copied {
    background: #16a34a;
}

.code-viewer-content {
    padding: 20px;
    background: #f8fafc;
}

.code-viewer-content pre,
.code-viewer-content code,
.code-viewer-content pre[class*='language-'],
.code-viewer-content code[class*='language-'],
.code-snippet pre[class*='language-'],
.code-snippet code[class*='language-'] {
    background: transparent !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

.references-section {
    padding: 0 0 80px;
    background: var(--color-bg);
}

.references-section ul {
    list-style: none;
    padding-left: 0;
}

.references-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.references-section ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.55em;
}

.references-section .external-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.references-section .external-link:hover {
    text-decoration: underline;
}

.references-subheading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.resource-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.resource-card-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-surface-alt);
}

.resource-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 16px;
}

.download-links .resource-link {
    margin-top: 0;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 8px;
    transition: gap var(--transition), color var(--transition);
}

.resource-link:hover {
    background: transparent;
    color: var(--color-primary-hover);
    gap: 10px;
}

.resource-link .fa-arrow-right,
.resource-link .fa-download {
    margin-left: 0;
}

.resource-link .fa-arrow-left {
    margin-right: 0;
}

.learning-topics {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.learning-topics h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.learning-topics ul {
    list-style: none;
    padding-left: 0;
}

.learning-topics ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.learning-topics ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.875rem;
}

.tutorial-return {
    text-align: center;
    margin-top: 48px;
}

/* Terms */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.terms-section {
    margin-bottom: 36px;
}

.terms-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--color-primary-light);
    padding-bottom: 8px;
}

.terms-section p,
.terms-section li {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
}

.terms-section ul {
    margin: 12px 0;
    padding-left: 20px;
}

.terms-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.terms-footer p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Product pages (legacy) */
.product-hero {
    padding: calc(var(--header-height) + 48px) 0 80px;
    background: var(--color-bg);
}

.product-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.03em;
}

.product-hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.product-cta {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-button);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    font-family: var(--font);
}

.product-cta:hover {
    background: var(--color-primary-hover);
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        gap: 12px;
    }

    .nav {
        gap: 8px;
    }

    .nav-toggle {
        display: flex;
        order: 1;
    }

    .search-toggle {
        order: 2;
    }

    .cta-button {
        order: 3;
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    .nav ul {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 8px 0 12px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        z-index: 999;
        list-style: none;
    }

    .nav.is-open ul {
        display: flex;
    }

    .nav ul li {
        width: 100%;
    }

    .nav ul a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav ul li:last-child a {
        border-bottom: none;
    }

    .hero .container,
    .mid-content,
    .creativity-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero--image-bg {
        min-height: min(60vh, 512px);
    }

    .hero--image-bg .container {
        min-height: min(32vh, 288px);
    }

    .testimonials-grid,
    .get-started-options {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-icons .container {
        gap: 32px;
    }

    .resource-card {
        flex-direction: column;
    }

    .resource-card-thumbnail {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .terms-content {
        padding: 24px 20px;
        margin: 0 12px;
    }
}
