/* ==========================================
   SYNTHRON TECHNOLOGIES - MATERIAL 3 LIGHT THEME
   Orange seed colour, tonal surfaces, M3 shape & elevation
   ========================================== */

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

:root {
    /* Material 3 colour roles (light scheme, orange seed) */
    --md-primary: #e65100;
    --md-on-primary: #ffffff;
    --md-primary-text: #b23c00;
    --md-primary-container: #ffdbc9;
    --md-on-primary-container: #351000;
    --md-secondary: #77574a;
    --md-secondary-container: #ffdbcc;
    --md-on-secondary-container: #2c160c;
    --md-tertiary: #6a5f00;
    --md-tertiary-container: #f6e388;
    --md-on-tertiary-container: #201c00;
    --md-surface: #fff8f5;
    --md-surface-container-lowest: #ffffff;
    --md-surface-container-low: #fff1eb;
    --md-surface-container: #fceae3;
    --md-surface-container-high: #f6e4dd;
    --md-surface-container-highest: #f1dfd7;
    --md-on-surface: #221a16;
    --md-on-surface-variant: #53443d;
    --md-outline: #85736c;
    --md-outline-variant: #d8c2b9;
    --md-inverse-surface: #382e2a;
    --md-inverse-on-surface: #ffede6;
    --md-inverse-primary: #ffb68f;
    --md-success: #2e7d32;

    /* Elevation */
    --md-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
    --md-elevation-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    --md-elevation-3: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);

    /* Shape */
    --md-shape-sm: 8px;
    --md-shape-md: 12px;
    --md-shape-lg: 16px;
    --md-shape-xl: 28px;
    --md-shape-full: 999px;

    /* Motion */
    --md-ease: cubic-bezier(0.2, 0, 0, 1);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

[hidden] {
    display: none !important;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--md-surface);
    color: var(--md-on-surface);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--md-primary-text);
}

img {
    max-width: 100%;
}

.material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    user-select: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   TOP APP BAR
   ========================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: var(--md-surface);
    transition: background 0.3s var(--md-ease), box-shadow 0.3s var(--md-ease);
}

.nav.scrolled {
    background: var(--md-surface-container);
    box-shadow: var(--md-elevation-2);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--md-on-surface);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--md-shape-md);
    background: var(--md-primary);
    color: var(--md-on-primary);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--md-shape-full);
    color: var(--md-on-surface-variant);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s var(--md-ease), color 0.2s var(--md-ease);
}

.nav-links a:hover,
.nav-links a.current {
    background: var(--md-secondary-container);
    color: var(--md-on-secondary-container);
}

.cta-button {
    padding: 0.7rem 1.5rem;
    background: var(--md-primary);
    color: var(--md-on-primary);
    border: none;
    border-radius: var(--md-shape-full);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s var(--md-ease), background 0.2s var(--md-ease);
}

.cta-button:hover {
    box-shadow: var(--md-elevation-1);
    background: #d84a00;
}

.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: var(--md-shape-full);
    background: none;
    border: none;
    color: var(--md-on-surface);
    cursor: pointer;
}

.mobile-toggle:hover {
    background: var(--md-surface-container-high);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--md-shape-full);
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s var(--md-ease), background 0.2s var(--md-ease), transform 0.2s var(--md-ease);
}

.btn .material-symbols-rounded {
    font-size: 20px;
}

.btn-primary {
    background: var(--md-primary);
    color: var(--md-on-primary);
}

.btn-primary:hover {
    background: #d84a00;
    box-shadow: var(--md-elevation-1);
}

.btn-secondary {
    background: transparent;
    color: var(--md-primary-text);
    border: 1px solid var(--md-outline);
}

.btn-secondary:hover {
    background: rgba(230, 81, 0, 0.08);
}

.btn-tonal {
    background: var(--md-secondary-container);
    color: var(--md-on-secondary-container);
}

.btn-tonal:hover {
    box-shadow: var(--md-elevation-1);
}

.btn-white {
    background: var(--md-surface-container-lowest);
    color: var(--md-primary-text);
}

.btn-white:hover {
    box-shadow: var(--md-elevation-2);
}

.btn-outline {
    background: transparent;
    color: var(--md-on-primary);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ==========================================
   HERO
   ========================================== */

.hero {
    position: relative;
    padding: 8.5rem 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 152, 0, 0.18) 0, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(230, 81, 0, 0.12) 0, transparent 45%);
    pointer-events: none;
}

.hero-grid {
    display: none;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-badge,
.section-badge,
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--md-shape-sm);
    background: var(--md-primary-container);
    color: var(--md-on-primary-container);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.hero-badge .material-symbols-rounded,
.section-badge .material-symbols-rounded {
    font-size: 18px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--md-on-surface-variant);
    max-width: 560px;
    margin-bottom: 2.25rem;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    color: var(--md-on-surface-variant);
    font-size: 0.9rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-trust .material-symbols-rounded {
    color: var(--md-success);
    font-size: 20px;
}

/* Hero visual: mock POS / kiosk screen */
.hero-visual {
    position: relative;
    z-index: 1;
}

.mock-screen {
    background: var(--md-surface-container-lowest);
    border-radius: var(--md-shape-xl);
    box-shadow: var(--md-elevation-3);
    padding: 1.25rem;
    border: 1px solid var(--md-outline-variant);
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.mock-chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--md-shape-sm);
    background: var(--md-tertiary-container);
    color: var(--md-on-tertiary-container);
}

.mock-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
}

.mock-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.mock-item {
    background: var(--md-surface-container-low);
    border-radius: var(--md-shape-md);
    padding: 0.75rem;
    font-size: 0.8rem;
}

.mock-item .material-symbols-rounded {
    display: block;
    color: var(--md-primary);
    font-size: 26px;
    margin-bottom: 0.3rem;
}

.mock-item strong {
    display: block;
    font-weight: 500;
}

.mock-item small {
    color: var(--md-on-surface-variant);
}

.mock-cart {
    background: var(--md-surface-container);
    border-radius: var(--md-shape-lg);
    padding: 0.9rem;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
}

.mock-cart-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--md-outline-variant);
}

.mock-cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0.75rem 0;
}

.mock-pay {
    margin-top: auto;
    background: var(--md-primary);
    color: var(--md-on-primary);
    text-align: center;
    border-radius: var(--md-shape-full);
    padding: 0.55rem;
    font-weight: 500;
}

.floating-card {
    position: absolute;
    background: var(--md-surface-container-lowest);
    border-radius: var(--md-shape-lg);
    box-shadow: var(--md-elevation-2);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.floating-card .icon-box {
    width: 40px;
    height: 40px;
}

.floating-card strong {
    display: block;
    font-size: 1.05rem;
}

.floating-card small {
    color: var(--md-on-surface-variant);
}

.floating-card.top {
    top: -1.5rem;
    right: -1rem;
}

.floating-card.bottom {
    bottom: -3rem;
    left: -1.5rem;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--md-shape-lg);
    background: var(--md-primary-container);
    color: var(--md-on-primary-container);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.icon-box.tertiary {
    background: var(--md-tertiary-container);
    color: var(--md-on-tertiary-container);
}

.icon-box.secondary {
    background: var(--md-secondary-container);
    color: var(--md-on-secondary-container);
}

.scroll-indicator {
    display: none;
}

/* ==========================================
   SECTIONS
   ========================================== */

.features {
    padding: 6rem 0;
}

.section-alt {
    padding: 6rem 0;
    background: var(--md-surface-container-low);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

.section-title.sm {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section-description {
    font-size: 1.15rem;
    color: var(--md-on-surface-variant);
}

/* Product overview cards */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--md-surface-container-lowest);
    border: 1px solid var(--md-outline-variant);
    border-radius: var(--md-shape-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s var(--md-ease), transform 0.25s var(--md-ease), border-color 0.25s var(--md-ease);
}

.product-card:hover {
    box-shadow: var(--md-elevation-2);
    border-color: transparent;
    transform: translateY(-4px);
}

.product-card .icon-box {
    margin-bottom: 1.5rem;
}

.product-card .icon-box .material-symbols-rounded {
    font-size: 30px;
}

.product-card-kind {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--md-primary-text);
    margin-bottom: 0.35rem;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: var(--md-on-surface-variant);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
    color: var(--md-primary-text);
}

/* Bento feature grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.bento-item {
    background: var(--md-surface-container-low);
    border-radius: var(--md-shape-xl);
    padding: 2rem;
    transition: background 0.25s var(--md-ease), box-shadow 0.25s var(--md-ease);
}

.bento-item:hover {
    background: var(--md-surface-container);
}

.bento-large {
    grid-column: span 7;
}

.bento-small {
    grid-column: span 5;
}

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--md-shape-lg);
    background: var(--md-primary-container);
    color: var(--md-on-primary-container);
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
}

.bento-icon .material-symbols-rounded {
    font-size: 28px;
}

.bento-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.bento-text {
    color: var(--md-on-surface-variant);
    margin-bottom: 1rem;
}

.bento-link {
    color: var(--md-primary-text);
    font-weight: 500;
    text-decoration: none;
}

.bento-link:hover {
    text-decoration: underline;
}

/* ==========================================
   PRODUCT DETAIL ROWS
   ========================================== */

.product {
    padding: 5rem 0;
}

.product.alt {
    background: var(--md-surface-container-low);
}

.product-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-title {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
}

.product-description {
    font-size: 1.1rem;
    color: var(--md-on-surface-variant);
    margin-bottom: 1.75rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    position: relative;
    padding: 0.45rem 0 0.45rem 2rem;
    color: var(--md-on-surface);
}

.product-features li::before {
    content: 'check_circle';
    font-family: 'Material Symbols Rounded';
    font-variation-settings: 'FILL' 1;
    position: absolute;
    left: 0;
    top: 0.4rem;
    font-size: 20px;
    line-height: 1.4;
    color: var(--md-primary);
}

.product-image {
    transition: transform 0.3s var(--md-ease);
}

.product-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: var(--md-shape-xl);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent 60%),
        var(--md-primary-container);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--md-on-primary-container);
    overflow: hidden;
}

.product-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder-icon .material-symbols-rounded {
    font-size: 96px;
}

.product-placeholder-text {
    font-size: 1.4rem;
    font-weight: 600;
}

/* ==========================================
   STATS
   ========================================== */

.stats {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-item {
    text-align: center;
    background: var(--md-surface-container-low);
    border-radius: var(--md-shape-xl);
    padding: 2rem 1rem;
}

.stat-number {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--md-primary);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--md-on-surface-variant);
    font-weight: 500;
}

/* ==========================================
   CTA
   ========================================== */

.cta-section {
    padding: 5rem 0 6rem;
}

.cta-card {
    background: var(--md-primary);
    color: var(--md-on-primary);
    border-radius: var(--md-shape-xl);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -200px;
    right: -120px;
}

.cta-card > * {
    position: relative;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    opacity: 0.92;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   CONTACT FORM
   ========================================== */

.contact-section {
    padding: 6rem 0;
    background: var(--md-surface-container-low);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 1rem;
}

.contact-methods {
    list-style: none;
    margin-top: 2.5rem;
    display: grid;
    gap: 1.25rem;
}

.contact-methods li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-methods .icon-box {
    width: 48px;
    height: 48px;
}

.contact-methods strong {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--md-on-surface-variant);
}

.contact-methods a,
.contact-methods span {
    color: var(--md-on-surface);
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-methods a:hover {
    color: var(--md-primary-text);
}

.contact-card {
    background: var(--md-surface-container-lowest);
    border-radius: var(--md-shape-xl);
    padding: 2.5rem;
    box-shadow: var(--md-elevation-1);
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border: none;
    min-width: 0;
}

.field label,
.field legend {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--md-on-surface-variant);
}

.field legend {
    margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--md-on-surface);
    background: transparent;
    border: 1px solid var(--md-outline);
    border-radius: var(--md-shape-sm);
    padding: 0.85rem 1rem;
    transition: border-color 0.2s var(--md-ease), box-shadow 0.2s var(--md-ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: var(--md-outline);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: var(--md-on-surface);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--md-primary);
    box-shadow: inset 0 0 0 1px var(--md-primary);
}

.field-error {
    display: none;
    font-size: 0.8rem;
    color: #ba1a1a;
}

.field.invalid .field-error {
    display: block;
}

.field.invalid input,
.field.invalid textarea {
    border-color: #ba1a1a;
    box-shadow: inset 0 0 0 1px #ba1a1a;
}

.field.invalid legend,
.field.invalid label {
    color: #ba1a1a;
}

/* Filter chips */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    position: relative;
    cursor: pointer;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--md-outline);
    border-radius: var(--md-shape-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--md-on-surface-variant);
    transition: background 0.2s var(--md-ease), border-color 0.2s var(--md-ease);
}

.chip:hover span {
    background: rgba(230, 81, 0, 0.06);
}

.chip input:checked + span {
    background: var(--md-secondary-container);
    border-color: transparent;
    color: var(--md-on-secondary-container);
}

.chip input:checked + span::before {
    content: 'check';
    font-family: 'Material Symbols Rounded';
    font-size: 18px;
    line-height: 1;
}

.chip input:focus-visible + span {
    outline: 2px solid var(--md-primary);
    outline-offset: 2px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-submit {
    justify-self: start;
}

.contact-submit[disabled] {
    opacity: 0.7;
    cursor: progress;
}

.form-status {
    font-size: 0.9rem;
    color: var(--md-on-surface-variant);
    min-height: 1.2em;
}

.form-status.error {
    color: #ba1a1a;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success .icon-box {
    margin: 0 auto 1.25rem;
    background: #c8e6c9;
    color: #1b5e20;
}

.form-success .icon-box .material-symbols-rounded {
    font-size: 32px;
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--md-on-surface-variant);
    margin-bottom: 1.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--md-surface-container-highest);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-description {
    color: var(--md-on-surface-variant);
    max-width: 360px;
}

.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.6rem;
}

.footer-column a,
.footer-links a {
    color: var(--md-on-surface-variant);
    text-decoration: none;
}

.footer-column a:hover,
.footer-links a:hover {
    color: var(--md-primary-text);
}

.footer-bottom {
    border-top: 1px solid var(--md-outline-variant);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--md-on-surface-variant);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================
   PRODUCT DETAIL PAGES
   ========================================== */

.product-hero {
    padding: 8.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.product-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.product-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.product-hero p {
    font-size: 1.25rem;
    color: var(--md-on-surface-variant);
    margin-bottom: 2rem;
}

.product-hero .hero-buttons {
    justify-content: center;
}

.product-image-large {
    position: relative;
    margin: 4rem 0 0;
    border-radius: var(--md-shape-xl);
    overflow: hidden;
    box-shadow: var(--md-elevation-3);
}

.product-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.spec-card {
    background: var(--md-surface-container-low);
    border-radius: var(--md-shape-xl);
    padding: 2rem;
}

.spec-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--md-outline-variant);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--md-on-surface-variant);
    font-size: 0.95rem;
}

.spec-value {
    font-weight: 500;
    text-align: right;
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.feature-showcase:first-child {
    margin-top: 0;
}

.feature-showcase:last-child {
    margin-bottom: 0;
}

.feature-showcase:nth-child(even) {
    direction: rtl;
}

.feature-showcase:nth-child(even) > * {
    direction: ltr;
}

.feature-showcase .section-description {
    margin: 1rem 0 1.5rem;
}

.feature-image {
    border-radius: var(--md-shape-xl);
    overflow: hidden;
    box-shadow: var(--md-elevation-2);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.gallery-item {
    border-radius: var(--md-shape-xl);
    overflow: hidden;
    box-shadow: var(--md-elevation-1);
    transition: box-shadow 0.3s var(--md-ease);
}

.gallery-item:hover {
    box-shadow: var(--md-elevation-3);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--md-ease);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.pricing-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--md-surface-container-lowest);
    border: 1px solid var(--md-outline-variant);
    border-radius: var(--md-shape-xl);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--md-elevation-1);
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.pricing-card .product-features {
    text-align: left;
    margin: 2rem 0;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--md-primary);
    margin: 0.5rem 0 0;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--md-on-surface-variant);
}

.price-note {
    color: var(--md-on-surface-variant);
}

/* Pricing tiers (POS) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-grid .pricing-card {
    max-width: none;
    margin: 0;
    padding: 2.25rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.pricing-grid .pricing-card .product-features {
    flex-grow: 1;
    margin: 1.5rem 0;
}

.pricing-card.featured {
    background: var(--md-primary-container);
    border-color: transparent;
    box-shadow: var(--md-elevation-2);
}

.plan-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: var(--md-shape-sm);
    background: var(--md-primary);
    color: var(--md-on-primary);
    margin-bottom: 1rem;
}

/* POS module grid */
.module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.module-card {
    background: var(--md-surface-container-lowest);
    border: 1px solid var(--md-outline-variant);
    border-radius: var(--md-shape-xl);
    padding: 1.75rem;
    transition: box-shadow 0.25s var(--md-ease), border-color 0.25s var(--md-ease);
}

.module-card:hover {
    box-shadow: var(--md-elevation-1);
    border-color: transparent;
}

.module-card .icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.module-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.module-card p {
    color: var(--md-on-surface-variant);
    font-size: 0.95rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: step;
}

.step {
    background: var(--md-surface-container-lowest);
    border-radius: var(--md-shape-xl);
    padding: 2rem;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--md-shape-full);
    background: var(--md-primary);
    color: var(--md-on-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.step p {
    color: var(--md-on-surface-variant);
}

/* FAQ */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.faq details {
    background: var(--md-surface-container-low);
    border-radius: var(--md-shape-lg);
    padding: 1.1rem 1.5rem;
}

.faq summary {
    cursor: pointer;
    font-weight: 500;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: 'expand_more';
    font-family: 'Material Symbols Rounded';
    font-size: 24px;
    color: var(--md-on-surface-variant);
    transition: transform 0.2s var(--md-ease);
}

.faq details[open] summary::after {
    transform: rotate(180deg);
}

.faq details p {
    color: var(--md-on-surface-variant);
    margin-top: 0.75rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--md-ease), transform 0.7s var(--md-ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .hero-layout,
    .product-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 560px;
    }

    .bento-large,
    .bento-small {
        grid-column: span 12;
    }

    .product-cards,
    .pricing-grid,
    .steps {
        grid-template-columns: 1fr;
    }

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

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

    .product-grid .product-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        background: var(--md-surface-container);
        border-radius: var(--md-shape-lg);
        box-shadow: var(--md-elevation-2);
        padding: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.85rem 1rem;
    }

    .nav .cta-button {
        display: none;
    }

    .mobile-toggle {
        display: grid;
        place-items: center;
    }

    .hero {
        padding: 7rem 0 4rem;
    }

    .floating-card {
        display: none;
    }

    .mock-body {
        grid-template-columns: 1fr;
    }

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

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-showcase:nth-child(even) {
        direction: ltr;
    }

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

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

    .pricing-card {
        padding: 2rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-submit {
        justify-self: stretch;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
