/* ARTHUR Landing Page — Vikinger dark theme */

:root {
    --bg-deep: #161b28;
    --bg-card: #1d2333;
    --bg-card-alt: #21283b;
    --purple: #7750f8;
    --purple-dark: #615dfa;
    --purple-glow: rgba(119, 80, 248, 0.35);
    --green: #3ad29f;
    --green-bright: #7ed321;
    --cyan: #23d2e2;
    --text: #ffffff;
    --text-muted: #9aa4bf;
    --text-soft: #c5c9d8;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --header-h: 72px;
    --font-body: "Rajdhani", sans-serif;
    --font-display: "Titillium Web", sans-serif;
    --wa: #25d366;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-soft);
    background: var(--bg-deep);
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
    width: min(1180px, 100% - 40px);
    margin-inline: auto;
}

/* Typography */
.eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-lead {
    margin-top: 14px;
    max-width: 640px;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: #fff;
    box-shadow: 0 8px 24px var(--purple-glow);
}

.btn--primary:hover { box-shadow: 0 12px 32px var(--purple-glow); }

.btn--green {
    background: linear-gradient(135deg, var(--green-bright) 0%, var(--green) 100%);
    color: #0f141f;
    box-shadow: 0 8px 24px rgba(62, 210, 159, 0.3);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--border);
}

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    background: linear-gradient(90deg, var(--purple-dark), var(--purple));
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.brand__logo { width: 32px; height: 44px; }

.brand__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 28px; }

.nav a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.nav a:hover { color: #fff; }

.header-cta { display: flex; gap: 12px; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 48px) 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url("../assets/images/landing-background.jpg") no-repeat left center;
    background-size: cover;
    pointer-events: none;
}

.hero__dots {
    position: absolute;
    z-index: 0;
    width: 64%;
    height: 140%;
    top: -20%;
    right: -32%;
    border-radius: 50%;
    background: url("../assets/images/dot-texture.png") repeat left top var(--bg-deep);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.hero__content { color: #fff; text-align: center; }

.hero__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero__logo svg { width: 56px; height: 72px; fill: #fff; }

.hero__pretitle {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.95;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-top: 6px;
}

.hero__tagline {
    max-width: 460px;
    margin: 20px auto 0;
    font-size: 1.125rem;
    opacity: 0.92;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
    min-width: 100px;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--green-bright);
}

.hero-stat span {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.hero__card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 32px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero__rocket {
    position: absolute;
    top: -42px;
    right: 24px;
    width: 84px;
    pointer-events: none;
}

.hero__card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.hero__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.975rem;
}

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

.hero__list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    fill: var(--green);
}

/* Trust bar */
.trust-bar {
    padding: 28px 0;
    background: var(--bg-card);
    border-block: 1px solid var(--border);
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.trust-bar strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: #fff;
}

.trust-bar span { font-size: 0.875rem; color: var(--text-muted); }

/* Sections */
.section { padding: 88px 0; }

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

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(119, 80, 248, 0.4);
}

.benefit-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    font-size: 1.375rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.benefit-card p { font-size: 0.975rem; color: var(--text-muted); }

/* Showcase tabs */
.showcase { padding: 88px 0; background: var(--bg-deep); }

.showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.showcase-tab {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.showcase-tab.is-active,
.showcase-tab:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

.showcase-panel { display: none; }
.showcase-panel.is-active { display: block; }

.showcase-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--bg-card);
}

.showcase-frame img { width: 100%; }

.showcase-caption {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 28px;
    align-items: start;
}

.showcase-caption h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Roles */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.role-card {
    background: var(--bg-card-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.role-card__banner {
    padding: 24px;
    background: linear-gradient(135deg, var(--green-bright), #f5d547);
    color: #0f141f;
}

.role-card__banner h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
}

.role-card__body { padding: 24px; }

.role-card ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.role-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
}

/* Social proof */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.testimonial__stars { color: #f5d547; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial blockquote {
    font-size: 1rem;
    color: var(--text-soft);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    color: #fff;
}

.testimonial cite span {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Authority */
.authority {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.authority__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.authority__list li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.authority__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--purple);
    font-weight: 700;
    color: #fff;
    font-size: 0.875rem;
}

.authority__list h4 {
    color: #fff;
    font-size: 1.0625rem;
    margin-bottom: 4px;
}

.authority__list p { font-size: 0.9375rem; color: var(--text-muted); }

/* Scarcity CTA */
.cta-banner {
    margin: 0 20px;
    padding: 56px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 50%, #5b3fd4 100%);
    text-align: center;
    box-shadow: 0 20px 60px var(--purple-glow);
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cta-banner p {
    max-width: 560px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.0625rem;
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.cta-banner .btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card-alt);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border: none;
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.25s;
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item__answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.975rem;
}

.faq-item.is-open .faq-item__answer { max-height: 300px; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(119, 80, 248, 0.2);
    display: grid;
    place-items: center;
    font-size: 1.125rem;
}

.contact-item a { color: var(--green); font-weight: 700; }
.contact-item a:hover { text-decoration: underline; }

.contact-item p { font-size: 0.9375rem; color: var(--text-muted); margin-top: 2px; }

/* Footer */
.site-footer {
    padding: 48px 0 28px;
    background: #0f131c;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand p {
    margin-top: 14px;
    max-width: 320px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.footer-col h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Theme preview */
.theme-switch {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.theme-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card-alt);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-switch__btn:hover {
    border-color: rgba(119, 80, 248, 0.45);
    color: #fff;
}

.theme-switch__btn.is-active {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px var(--purple-glow);
}

.theme-switch__icon { font-size: 1.125rem; line-height: 1; }

.theme-preview {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--bg-card);
}

.theme-preview__panel { display: none; }
.theme-preview__panel.is-active { display: block; }

.theme-preview__panel img { width: 100%; }

.theme-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.theme-feature {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
}

.theme-feature strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}

.theme-feature p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 200;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px var(--purple-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--purple-glow);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    background: rgba(22, 27, 40, 0.98);
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

.mobile-nav a {
    padding: 14px 16px;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    font-size: 1.0625rem;
}

.mobile-nav a:hover { background: rgba(119, 80, 248, 0.2); }

body.nav-open { overflow: hidden; }

/* Responsive */
@media (max-width: 1024px) {
    .hero__inner,
    .authority,
    .contact-grid,
    .showcase-caption { grid-template-columns: 1fr; }

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

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

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

    .theme-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav, .header-cta { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav { display: flex; }

    .hero { min-height: auto; padding-bottom: 60px; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__content { order: 1; }
    .hero__card { order: 2; }

    .benefits-grid,
    .roles-grid,
    .testimonials,
    .trust-bar__grid,
    .footer-grid { grid-template-columns: 1fr; }

    .section { padding: 64px 0; }

    .cta-banner { margin: 0; padding: 40px 24px; }

    .back-to-top {
        right: 16px;
        bottom: 88px;
        width: 44px;
        height: 44px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

}
