/**
 * Landing page – 2026-style overrides
 * Navbar + mobile menu: gaišā versija visur (no styles.css); tumšie stili noņemti.
 * Hero, buttons, etc.: scoped under .page-landing.
 * Rotating border: web.dev/articles/css-border-animations (background-origin + @property --angle)
 */

/* Rotējoša apmale – animējams leņķis (border-box + padding-box clip) */
@property --perfekti-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Prevent horizontal scroll on mobile */
body.page-landing {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Perfekti brand – primary gradient: navy → purple → orange → yellow */
.page-landing,
.page-brand-guidelines {
    --perfekti-navy: #0B1E3F;
    --perfekti-purple: #0B1E3F;
    --perfekti-orange: #FF6A3D;
    --perfekti-yellow: #FFD166;
    --perfekti-dark: #0F172A;
    --perfekti-bg-light: #F8FAFC;
    --perfekti-bg-soft: #EEF2F7;
    --perfekti-text-primary: #0F172A;
    --perfekti-text-secondary: #475569;
    --perfekti-text-muted: #94A3B8;
    --perfekti-border: #E2E8F0;
    --perfekti-gradient: linear-gradient(90deg, #0B1E3F 0%, #0B1E3F 40%, #FF6A3D 70%, #FFD166 100%);
}

.page-landing {
    --landing-primary: #0B1E3F;
    --landing-primary-hover: #4a2270;
    --landing-accent: #FF6A3D;
    --landing-accent-strong: #FFD166;
    --landing-surface: #ffffff;
    --landing-surface-2: #F8FAFC;
    --landing-surface-3: #EEF2F7;
    --landing-text: #0F172A;
    --landing-text-muted: #475569;
    --landing-border: #E2E8F0;
    --landing-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    --landing-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --landing-shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --landing-radius: 16px;
    --landing-radius-lg: 24px;
    --landing-glow: 0 0 40px rgba(91, 42, 134, 0.2);
    --landing-glow-strong: 0 0 60px rgba(255, 106, 61, 0.25);
}

/* Perfekti primary CTA – rotējoša apmale; padding mīnus border, lai kopējais izmērs = blakus pogai */
.page-landing .btn-primary {
    --perfekti-border-size: 3px;
    border: var(--perfekti-border-size) solid transparent;
    border-radius: 12px;
    padding: calc(14px - var(--perfekti-border-size)) calc(24px - var(--perfekti-border-size));
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(91, 42, 134, 0.35);
    background-image:
        linear-gradient(90deg, #0B1E3F, #FF6A3D),
        conic-gradient(from var(--perfekti-angle), #0B1E3F, #0B1E3F, #FF6A3D, #FFD166, #0B1E3F);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: perfekti-border-rotate 2.5s linear infinite;
}
.page-landing .btn-primary .btn-inner,
.page-landing .btn-secondary .btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .page-landing .btn-primary { animation: none; }
}
@keyframes perfekti-border-rotate {
    to { --perfekti-angle: 360deg; }
}
.page-landing .btn-primary:hover {
    color: #fff;
    box-shadow: 0 6px 20px rgba(91, 42, 134, 0.45);
    background-image:
        linear-gradient(90deg, #0B1E3F, #e85a30),
        conic-gradient(from var(--perfekti-angle), #0B1E3F, #0B1E3F, #FF6A3D, #FFD166, #0B1E3F);
}

/* Sekundārā poga (hero) – tā pati apmale; padding mīnus border, lai izmērs vienāds ar primary */
.page-landing .hero .btn-secondary,
.page-landing .hero-buttons .btn-secondary {
    --perfekti-border-size: 3px;
    border: var(--perfekti-border-size) solid transparent;
    border-radius: 12px;
    padding: calc(14px - var(--perfekti-border-size)) calc(24px - var(--perfekti-border-size));
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #F8FAFC;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)),
        conic-gradient(from var(--perfekti-angle), #0B1E3F, #0B1E3F, #FF6A3D, #FFD166, #0B1E3F);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: perfekti-border-rotate 2.5s linear infinite;
}
.page-landing .hero .btn-secondary:hover,
.page-landing .hero-buttons .btn-secondary:hover {
    color: #F8FAFC;
    transform: none;
    background-image:
        linear-gradient(rgba(91, 42, 134, 0.4), rgba(91, 42, 134, 0.4)),
        conic-gradient(from var(--perfekti-angle), #0B1E3F, #0B1E3F, #FF6A3D, #FFD166, #0B1E3F);
}
@media (prefers-reduced-motion: reduce) {
    .page-landing .hero .btn-secondary,
    .page-landing .hero-buttons .btn-secondary { animation: none; }
}

/* Hero – pāreja no gaišā uz tumšo; viens vienots tumšais tonis (bez radiala robežas centrā) */
.page-landing .hero {
    position: relative;
    padding: clamp(100px, 14vw, 180px) 0 clamp(100px, 12vw, 160px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(248, 250, 252, 0.9) 6%,
            rgba(248, 250, 252, 0.6) 14%,
            rgba(248, 250, 252, 0.25) 25%,
            rgba(15, 23, 42, 0.4) 38%,
            transparent 50%
        ),
        linear-gradient(180deg, #0F172A 0%, #0F172A 100%);
    background-color: #0F172A;
}
@media (prefers-reduced-motion: no-preference) {
    .page-landing .hero {
        animation: hero-jelly 6s ease-in-out infinite;
    }
}
@keyframes hero-jelly {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.006, 0.998); }
    50% { transform: scale(0.998, 1.004); }
    75% { transform: scale(1.003, 0.997); }
}

/* Mobilā: īsāka pāreja, viens vienots tumšais (nav divu tonu robežas centrā) */
@media (max-width: 768px) {
    .page-landing .hero {
        background:
            linear-gradient(to bottom,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(248, 250, 252, 0.75) 5%,
                rgba(248, 250, 252, 0.2) 12%,
                transparent 20%
            ),
            #0F172A;
        background-color: #0F172A;
    }
}

/* Subtle grid in hero – on container so it doesn’t conflict with glows - removed */
/* Animated glow orbs in hero (respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
    .page-landing .hero::before {
        content: '';
        position: absolute;
        top: -15%;
        left: -10%;
        width: 120%;
        height: 120%;
        background: radial-gradient(ellipse 80% 70% at 70% 30%, rgba(91, 42, 134, 0.22) 0%, rgba(91, 42, 134, 0.06) 40%, transparent 70%);
        pointer-events: none;
        animation: hero-glow 12s ease-in-out infinite;
    }
    .page-landing .hero::after {
        content: '';
        position: absolute;
        bottom: -15%;
        right: -10%;
        width: 120%;
        height: 120%;
        background: radial-gradient(ellipse 70% 80% at 30% 70%, rgba(255, 106, 61, 0.12) 0%, rgba(255, 106, 61, 0.04) 40%, transparent 70%);
        pointer-events: none;
        animation: hero-glow 14s ease-in-out infinite reverse;
    }
}
@keyframes hero-glow {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.page-landing .hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
    gap: clamp(48px, 8vw, 100px);
    box-sizing: border-box;
}

.page-landing .hero-title {
    font-size: clamp(2.5rem, 5vw + 1.25rem, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #F8FAFC;
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Gaišu tonu gradients; animācija pretējā virzienā – gaišā puse kreisajā */
.page-landing .hero-title .highlight {
    background: linear-gradient(90deg, #FFD166 0%, #C4B5FD 35%, #FF6A3D 65%, #FFD166 100%);
    background-size: 200% auto;
    background-position: 100% center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (prefers-reduced-motion: no-preference) {
    .page-landing .hero-title .highlight {
        animation: gradient-shift 6s ease infinite;
    }
}
@keyframes gradient-shift {
    0%, 100% { background-position: 100% center; }
    50% { background-position: 0% center; }
}

.page-landing .hero-description {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(248, 250, 252, 0.85);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 520px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-landing .hero-description .check-green {
    color: #22c55e;
}

.page-landing .hero-benefits {
    font-size: 1rem;
    font-weight: 500;
    color: var(--landing-accent, #FF6A3D);
    margin-bottom: 1.5rem;
    max-width: 520px;
    line-height: 1.5;
}

.page-landing .hero-tagline {
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.5;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Hero badges – who it's for (clean chip style) */
.page-landing .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.page-landing .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #F8FAFC;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-landing .hero-badge:hover {
    border-color: rgba(255, 106, 61, 0.5);
    background: rgba(255, 106, 61, 0.12);
    box-shadow: var(--landing-shadow-md);
}

.page-landing .hero-badge i {
    color: #fff;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.page-landing .hero-badge span {
    line-height: 1.3;
}

@media (max-width: 768px) {
    .page-landing .hero-badges {
        justify-content: flex-start;
    }
    .page-landing .hero-badge {
        padding: 0.4375rem 0.75rem;
        font-size: 0.8125rem;
    }
}

/* Invoice preview – stands out, slight tilt, strong shadow */
.page-landing .hero-image {
    position: relative;
}
.page-landing .invoice-preview {
    position: relative;
    box-shadow:
        0 24px 48px rgba(11, 30, 63, 0.2),
        0 12px 24px rgba(255, 106, 61, 0.12),
        0 4px 16px rgba(91, 42, 134, 0.2);
    border-radius: 0;
    transform: rotate(3deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-landing .invoice-preview:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow:
        0 32px 64px rgba(11, 30, 63, 0.22),
        0 16px 32px rgba(255, 106, 61, 0.18),
        0 6px 20px rgba(91, 42, 134, 0.28);
}

/* Hero scroll hint – “zemāk ir vēl saturs” */
.page-landing .hero-scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page-landing .hero-scroll-hint:hover {
    color: var(--landing-accent, #FF6A3D);
}

.page-landing .hero-scroll-hint i {
    font-size: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
    .page-landing .hero-scroll-hint i {
        animation: hero-scroll-bounce 2s ease-in-out infinite;
    }
}
@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Sections – consistent container and spacing */
.page-landing .container {
    max-width: 1280px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
    box-sizing: border-box;
}

.page-landing .section-header.section-header-stacked {
    display: block;
    text-align: center;
}

.page-landing .section-header {
    margin-bottom: clamp(48px, 6vw, 80px);
    min-width: 0;
}

.page-landing .section-header h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--landing-text);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-landing .section-header p {
    font-size: 1.125rem;
    color: var(--landing-text-muted);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Features – 2026 cards */
.page-landing .features {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--landing-surface);
    min-width: 0;
}

.page-landing .features-grid {
    gap: clamp(24px, 3vw, 32px);
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.page-landing .feature-card {
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--landing-radius);
    border: 1px solid var(--landing-border);
    background: var(--landing-surface);
    box-shadow: var(--landing-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .page-landing .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--landing-shadow-lg);
        border-color: rgba(91, 42, 134, 0.3);
    }
}

.page-landing .feature-icon {
    display: none;
}

.page-landing .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--landing-text);
    letter-spacing: -0.01em;
}

.page-landing .feature-card p {
    color: var(--landing-text-muted);
    line-height: 1.65;
}

.page-landing .feature-card {
    min-width: 0;
}

.page-landing .feature-card h3,
.page-landing .feature-card p {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Demo section */
.page-landing .demo {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--landing-surface-2);
}

.page-landing .demo-content {
    gap: clamp(40px, 6vw, 64px);
}

.page-landing .demo-text,
.page-landing .demo-content {
    min-width: 0;
}

.page-landing .demo-text h2 {
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--landing-text);
}

.page-landing .demo-text p {
    color: var(--landing-text-muted);
}

.page-landing .demo-features li {
    color: var(--landing-text-muted);
}

.page-landing .demo-features i {
    color: #059669;
}

.page-landing .video-placeholder {
    border-radius: var(--landing-radius);
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 100%);
}

/* Pricing – refined cards */
.page-landing .pricing {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--landing-surface-2);
}

.page-landing .pricing-grid {
    gap: clamp(20px, 2.5vw, 28px);
    margin-top: clamp(48px, 6vw, 64px);
}

.page-landing .pricing-card {
    border-radius: var(--landing-radius);
    border: 1px solid var(--landing-border);
    padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 32px);
    background: var(--landing-surface);
    box-shadow: var(--landing-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .page-landing .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--landing-shadow-lg);
    }
}

.page-landing .pricing-card.featured {
    border-color: var(--landing-primary);
    box-shadow: 0 0 0 1px var(--landing-primary), var(--landing-shadow-md);
}

@media (prefers-reduced-motion: no-preference) {
    .page-landing .pricing-card.featured:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 0 1px var(--landing-primary), var(--landing-shadow-lg);
    }
}

.page-landing .pricing-plan-badge {
    display: inline-block;
    margin-top: -90px;
    margin-bottom: 20px;
    padding: 0.35rem 0.65rem;
    font-size: clamp(0.6rem, 2.5vw, 0.75rem);
    font-weight: 500;
    color: var(--landing-text-muted);
    background: var(--landing-surface-3);
    border: 1px solid var(--landing-border);
    border-radius: 9999px;
    line-height: 1.3;
    white-space: nowrap;
    max-width: 100%;
}

.page-landing .pricing-badge {
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 100%);
}

.page-landing .pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--landing-text);
}

.page-landing .amount {
    color: var(--landing-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-landing .pricing-features li {
    color: var(--landing-text-muted);
}

.page-landing .pricing-feature-invoice-limit {
    font-weight: 600;
    color: var(--landing-primary);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    margin: 0 -0.25rem 0.5rem -0.25rem;
    list-style: none;
}

.page-landing .pricing-feature-invoice-limit i {
    color: var(--landing-primary);
    margin-right: 0.35rem;
}

.page-landing .pricing-invoice-limit-text {
    color: var(--landing-primary);
}

.page-landing .pricing-features i {
    color: #059669;
}

.page-landing .pricing-note {
    margin-top: 1.5rem;
}

.page-landing .pricing-note p {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
}

/* Paid modules section */
.page-landing .paid-modules-section {
    background: var(--landing-surface);
}

.page-landing .paid-module-card {
    position: relative;
}

.page-landing .paid-module-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-landing .paid-module-header h3 {
    margin: 0;
}

.page-landing .paid-module-badge {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--landing-primary);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
    line-height: 1.3;
}

.page-landing .paid-module-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.page-landing .paid-module-currency {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--landing-text-muted);
}

.page-landing .paid-module-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--landing-primary);
    letter-spacing: -0.02em;
}

.page-landing .paid-module-period {
    font-size: 0.65rem;
    color: var(--landing-text-muted);
    font-weight: 500;
}

/* FAQ Section – accordion: + opens answer, opening next closes previous */
.page-landing .faq-section {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--landing-surface-2);
}

.page-landing .faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.page-landing .faq-item {
    border-bottom: 1px solid var(--landing-border);
}

.page-landing .faq-item:last-child {
    border-bottom: none;
}

.page-landing .faq-item-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

.page-landing .faq-item-trigger:hover,
.page-landing .faq-item-trigger:focus-visible {
    outline: none;
}

.page-landing .faq-item-trigger:hover .faq-question,
.page-landing .faq-item-trigger:focus-visible .faq-question {
    color: var(--landing-primary, #4f46e5);
}

.page-landing .faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--landing-text);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.page-landing .faq-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--landing-surface-3, rgba(0,0,0,.06));
    color: var(--landing-primary, #4f46e5);
    transition: transform 0.25s ease, background 0.2s ease;
}

.page-landing .faq-item-trigger:hover .faq-icon,
.page-landing .faq-item-trigger:focus-visible .faq-icon {
    background: var(--landing-primary, #4f46e5);
    color: #fff;
}

.page-landing .faq-item--open .faq-icon {
    transform: rotate(45deg);
}

.page-landing .faq-answer-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.page-landing .faq-item--open .faq-answer-wrap {
    max-height: 420px;
    opacity: 1;
}

.page-landing .faq-answer {
    font-size: 0.9375rem;
    color: var(--landing-text-muted);
    margin: 0 0 1.25rem 0;
    padding-left: 0;
    line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
    .page-landing .faq-answer-wrap {
        transition: none;
    }
    .page-landing .faq-item--open .faq-answer-wrap {
        max-height: none;
    }
    .page-landing .faq-icon {
        transition: none;
    }
}

/* Testimonials */
.page-landing .testimonials {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--landing-surface-3);
}

.page-landing .testimonials-grid {
    margin-top: clamp(48px, 6vw, 64px);
    gap: clamp(24px, 3vw, 32px);
}

.page-landing .testimonial-card {
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--landing-radius);
    border: 1px solid var(--landing-border);
    background: var(--landing-surface);
    box-shadow: var(--landing-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .page-landing .testimonial-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--landing-shadow-md);
    }
}

.page-landing .testimonial-content p {
    color: var(--landing-text-muted);
    font-size: 1.0625rem;
}

.page-landing .author-avatar {
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 100%);
}

.page-landing .feedback-stars {
    margin-bottom: 8px;
}

/* About */
.page-landing .about {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--landing-surface-2);
}

.page-landing .about-content {
    margin-top: clamp(48px, 6vw, 80px);
    gap: clamp(48px, 6vw, 80px);
}

.page-landing .about-description {
    color: var(--landing-text-muted);
    line-height: 1.8;
}

.page-landing .about-mission,
.page-landing .about-vision {
    border-radius: var(--landing-radius);
    border: 1px solid var(--landing-border);
    box-shadow: var(--landing-shadow);
}

.page-landing .about-item {
    border-radius: var(--landing-radius);
    border: 1px solid var(--landing-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-landing .about-item:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--landing-shadow-md);
}

.page-landing .about-item-icon {
    display: none;
}

/* Contact */
.page-landing .contact {
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--landing-surface);
}

.page-landing .contact-content {
    margin-top: clamp(48px, 6vw, 64px);
    gap: clamp(40px, 5vw, 60px);
}

.page-landing .contact-form {
    background: var(--landing-surface-2);
    border-radius: var(--landing-radius);
    border: 1px solid var(--landing-border);
    padding: clamp(28px, 3vw, 40px);
}

.page-landing .form-group input,
.page-landing .form-group textarea {
    border-radius: 12px;
    border-color: var(--landing-border);
}

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

.page-landing .contact-icon {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 100%);
}

/* Contact CTA block (index – link to /contact) – sekcija ~20% šaurāka */
.page-landing .contact-cta-section .container {
    max-width: 1024px; /* 80% no 1280px */
}
.page-landing .contact-cta-section .contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
    margin-top: clamp(32px, 4vw, 48px);
    padding: clamp(24px, 3vw, 32px) 0;
}
.page-landing .contact-cta-left {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
    flex: 1;
    min-width: 0;
}
.page-landing .contact-cta-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.page-landing .contact-cta-avatar,
.page-landing .contact-cta-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.page-landing .contact-cta-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-accent) 100%);
    color: #fff;
    font-size: 1.25rem;
}
.page-landing .contact-cta-avatar-wrap.contact-cta-avatar-wrap--online::after {
    content: '';
    position: absolute;
    top: 0px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 3px solid var(--landing-surface);
}
.page-landing .contact-cta-text {
    min-width: 0;
}
.page-landing .contact-cta-tagline {
    margin: 0 0 4px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--landing-primary);
    line-height: 1.3;
}
.page-landing .contact-cta-description {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--landing-text-secondary, #374151);
    line-height: 1.45;
}
.page-landing .contact-cta-right {
    flex-shrink: 0;
}
.page-landing .contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    background: var(--landing-primary);
    color: #fff;
    border: none;
    transition: background 0.2s, transform 0.15s;
}
.page-landing .contact-cta-btn:hover {
    background: var(--landing-accent);
    color: #fff;
    transform: translateY(-1px);
}
.page-landing .contact-cta-btn .btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive – tighter on small screens */
@media (max-width: 768px) {
    .page-landing .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-landing .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-landing .hero-description {
        max-width: none;
    }

    .page-landing .hero-content {
        min-width: 0;
    }

    .page-landing .invoice-preview {
        max-width: 100%;
    }

    .page-landing .features-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .page-landing .pricing-grid {
        grid-template-columns: 1fr;
    }

    .page-landing .pricing-card.featured {
        transform: none;
    }

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

    .page-landing .contact-cta {
        flex-direction: column;
        text-align: center;
    }

    .page-landing .contact-cta-left {
        flex-direction: column;
    }

    .page-landing .pricing-plan-badge {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .page-landing .hero-title {
        font-size: 1.875rem;
    }

    .page-landing .section-header h2 {
        font-size: 1.75rem;
    }

    .page-landing .pricing-plan-badge {
        font-size: 0.6rem;
    }
}

/* Lazy-load sections: reveal when in viewport */
.page-landing .lazy-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-landing .lazy-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .page-landing .lazy-section {
        transform: none;
        transition: opacity 0.3s ease-out;
    }
}

/* Demo video lazy placeholder (before iframe is injected) */
.page-landing .demo-video-lazy {
    min-height: 320px;
    position: relative;
    border-radius: var(--landing-radius, 16px);
    overflow: hidden;
    background: var(--landing-surface-2, #f8fafc);
}

.page-landing .demo-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    cursor: pointer;
    color: var(--landing-text-muted, #475569);
    transition: background 0.2s ease, color 0.2s ease;
}

.page-landing .demo-video-placeholder:hover {
    background: var(--landing-surface-3, #f1f5f9);
    color: var(--landing-primary, #0B1E3F);
}

.page-landing .demo-video-placeholder i {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.page-landing .demo-video-placeholder .demo-video-placeholder-text {
    font-size: 1rem;
    font-weight: 500;
}
