/* ========================================
   Payroll.vu - Professional CSS
   Modern, clean design for Vanuatu payroll
   ======================================== */

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

:root {
    --primary-dark: #0f172a;
    --primary: #1e3a5f;
    --primary-light: #2563eb;
    --primary-50: #eff6ff;
    --accent: #0d9488;
    --accent-light: #14b8a6;
    --accent-50: #f0fdfa;
    --text: #1e293b;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto 3rem;
}

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

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: var(--header-height);
    transition: background var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
    padding: 4px;
}

.logo span {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

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

.nav-menu a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary-light);
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
}

.btn-accent:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

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

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

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--accent-light), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.hero-content .tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshot {
    width: 100%;
    max-width: 560px;
}

.screenshot-frame {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-dots {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.screenshot-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.screenshot-dots span:nth-child(1) { background: #ef4444; }
.screenshot-dots span:nth-child(2) { background: #eab308; }
.screenshot-dots span:nth-child(3) { background: #22c55e; }

.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 1.5rem) 0 3rem;
    }

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

    .hero-badges {
        flex-wrap: wrap;
    }
}

/* --- Section Styling --- */
.section {
    padding: 5rem 0;
}

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

.section-dark {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-title {
    color: #ffffff;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: var(--primary-light);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* --- Product Cards (Homepage sections) --- */
.product-section {
    padding: 5rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover::before {
    opacity: 1;
}

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

.product-card .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.badge-blue {
    background: var(--primary-50);
    color: var(--primary-light);
}

.badge-teal {
    background: var(--accent-50);
    color: var(--accent);
}

.product-card h3 {
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

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

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Highlights Section (3 column about product) --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    text-align: center;
    padding: 2rem;
}

.highlight-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: var(--primary-50);
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.highlight-card h3 {
    margin-bottom: 0.75rem;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* --- Hardware / Clocking Machines --- */
.hardware-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hardware-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hardware-image img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.hardware-device {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.hardware-device .device-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hardware-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.hardware-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.hardware-type .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hardware-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Customers Section --- */
.customers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    align-items: center;
}

.customer-logo {
    height: 40px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all var(--transition);
}

.customer-logo:hover {
    opacity: 0.8;
    filter: grayscale(0);
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

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

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

/* --- Page Header (for subpages) --- */
.page-header {
    padding: calc(var(--header-height) + 3rem) 0 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Content Page Styling --- */
.content-page {
    padding: 3rem 0 5rem;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-card h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-card ul, .content-card ol {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-card li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.content-card strong {
    color: var(--text);
}

/* --- Downloads Page --- */
.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.download-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.download-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.download-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.download-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 8px;
    flex-shrink: 0;
}

/* --- Contact Form --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #ffffff;
}

.contact-info-card h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail div {
    flex: 1;
}

.contact-detail .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail .value {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form-card h2 {
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-group .hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

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

/* Honeypot - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-status {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

/* --- Footer --- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }

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

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

/* --- Cookie Consent --- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    z-index: 9999;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-consent.show {
    display: block;
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-consent p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.cookie-consent a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    background: var(--primary-light);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background var(--transition);
}

.cookie-btn:hover {
    background: #1d4ed8;
}

@media (max-width: 640px) {
    .cookie-consent .container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- App Screenshots (Phone Mockups) --- */
.app-screenshots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.phone-frame {
    background: #1e293b;
    border-radius: 24px;
    padding: 10px 6px 14px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #334155;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.phone-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -12px rgba(0, 0, 0, 0.35);
}

.phone-notch {
    width: 80px;
    height: 24px;
    background: #0f172a;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}

.phone-frame img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.phone-label {
    text-align: center;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
    padding: 4px 0;
}

@media (max-width: 800px) {
    .app-screenshots {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .app-screenshots {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .phone-frame {
        border-radius: 18px;
        padding: 8px 4px 10px;
    }

    .phone-notch {
        width: 60px;
        height: 18px;
        border-radius: 0 0 12px 12px;
    }

    .phone-frame img {
        border-radius: 12px;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* --- Lightbox --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-overlay.show {
    display: flex;
}

.lightbox-overlay img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
    background: none;
    border: none;
    padding: 0.5rem;
}

.lightbox-close:hover {
    color: #ffffff;
}

.lightbox-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    pointer-events: none;
}

/* Clickable images */
.img-clickable {
    cursor: pointer;
}

/* --- Page-specific adjustments --- */
@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .product-section { padding: 3rem 0; }
}
