/*
 * Meet & Eat – Shared Page Styles
 * Used by: Impressum, Datenschutz, Support, Landing Page
 */

:root {
    --brand-berry: #8c4573;
    --brand-coral: #f26a4b;
    --brand-gradient: linear-gradient(135deg, #8c4573 0%, #f26a4b 100%);
    --bg-light: #faf9f7;
    --bg-dark: #1a1a2e;
    --text-main: #2d2d2d;
    --text-muted: #6b6b6b;
    --card-bg: #ffffff;
    --border-light: rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    color: var(--brand-berry);
}

.nav-logo img {
    border-radius: 8px;
}

/* Old nav-links hidden */
.nav-links {
    display: none;
}

/* ===== Language Switch ===== */
.lang-switch {
    margin-left: auto;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--brand-berry);
    background: linear-gradient(135deg, rgba(140, 69, 115, 0.08), rgba(242, 106, 75, 0.06));
    border: 1px solid rgba(140, 69, 115, 0.15);
    text-decoration: none;
    transition: all 0.25s ease;
    z-index: 1001;
}

.lang-switch:hover {
    background: linear-gradient(135deg, rgba(140, 69, 115, 0.15), rgba(242, 106, 75, 0.12));
    border-color: rgba(140, 69, 115, 0.3);
    transform: scale(1.05);
}

/* ===== Burger Button ===== */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-berry);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

/* Animated to ✕ when open */
body.menu-open .burger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger-btn span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.menu-open .burger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Fullscreen Menu Overlay ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

/* Gradient glow background */
.menu-overlay::before,
.menu-overlay::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.menu-overlay::before {
    width: 400px;
    height: 400px;
    background: var(--brand-berry);
    opacity: 0.15;
    top: -80px;
    right: -100px;
}

.menu-overlay::after {
    width: 350px;
    height: 350px;
    background: var(--brand-coral);
    opacity: 0.12;
    bottom: -60px;
    left: -80px;
}

body.menu-open .menu-overlay {
    transform: translateX(0);
}

body.menu-open {
    overflow: hidden;
}

/* Overlay Logo */
.menu-overlay-logo {
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

body.menu-open .menu-overlay-logo {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay-logo img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-berry);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Overlay Navigation Links */
.menu-overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.menu-overlay-nav li {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body.menu-open .menu-overlay-nav li:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
}

body.menu-open .menu-overlay-nav li:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.22s;
}

body.menu-open .menu-overlay-nav li:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.29s;
}

body.menu-open .menu-overlay-nav li:nth-child(4) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.36s;
}

body.menu-open .menu-overlay-nav li:nth-child(5) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.43s;
}

.menu-overlay-nav a {
    display: block;
    padding: 14px 48px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.3px;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.menu-overlay-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.menu-overlay-nav a::after {
    content: '→';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--brand-coral);
}

.menu-overlay-nav a:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ===== Page Container ===== */
.page-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-container h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-berry);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.last-updated {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.intro {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ===== Legal Sections ===== */
.legal-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.legal-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-berry);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-section p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.legal-section ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--text-muted);
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-coral);
    font-weight: 700;
}

.legal-section a {
    color: var(--brand-berry);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* ===== Support: Contact Card ===== */
.support-contact {
    margin-bottom: 48px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.contact-card h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.contact-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(140, 69, 115, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(140, 69, 115, 0.4);
}

.response-time {
    font-size: 13px;
    margin-top: 12px;
}

/* ===== FAQ Items ===== */
.faq-item {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 0;
}

.faq-item a {
    color: var(--brand-berry);
    text-decoration: none;
    font-weight: 500;
}

/* ===== Info Table ===== */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border-light);
}

.info-table td {
    padding: 12px 0;
    font-size: 15px;
}

.info-table td:first-child {
    color: var(--text-muted);
    font-weight: 500;
    width: 40%;
}

.info-table td:last-child {
    font-weight: 600;
}

/* ===== Footer ===== */
.page-footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--border-light);
    background: white;
    overflow: hidden;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-berry);
}

.page-footer p {
    color: #aaa;
    font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .page-container {
        padding: 32px 16px 60px;
    }

    .page-container h1 {
        font-size: 28px;
    }

    .contact-card {
        padding: 28px 20px;
    }
}

/* ============================================
   LANDING PAGE STYLES – Premium Dark Design
   ============================================ */

/* --- Extended Dark Palette --- */
:root {
    --dark-bg: #0f0f1a;
    --dark-surface: #1a1a2e;
    --dark-surface-2: #222240;
    --dark-border: rgba(255, 255, 255, 0.08);
    --dark-text: #e8e6f0;
    --dark-text-muted: rgba(255, 255, 255, 0.55);
    --glow-berry: rgba(140, 69, 115, 0.5);
    --glow-coral: rgba(242, 106, 75, 0.35);
}

/* --- Scroll Animation Utility --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.animate-delay-1 {
    transition-delay: 0.08s;
}

.animate-delay-2 {
    transition-delay: 0.16s;
}

.animate-delay-3 {
    transition-delay: 0.24s;
}

.animate-delay-4 {
    transition-delay: 0.32s;
}

.animate-delay-5 {
    transition-delay: 0.40s;
}

.animate-delay-6 {
    transition-delay: 0.48s;
}

/* ===== Hero Section ===== */
.hero {
    background: url('/assets/img/peopleeatingmeet.webp') center / cover no-repeat;
    padding: 100px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for readability */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.78) 0%, rgba(8, 12, 20, 0.6) 45%, rgba(8, 12, 20, 0.82) 100%);
    z-index: 0;
}

.hero::after {
    content: none;
}

@keyframes hero-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.05);
    }

    100% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

/* Subtle grid overlay */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
    z-index: 1;
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: hero-fade-in 1s ease-out;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: 130px;
    height: 130px;
    border-radius: 30px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px var(--glow-berry);
    margin-bottom: 28px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    animation: hero-logo-glow 4s ease-in-out infinite alternate;
}

@keyframes hero-logo-glow {
    from {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--glow-berry);
    }

    to {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px var(--glow-coral);
    }
}

.hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-tagline {
    font-size: clamp(17px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta:hover {
    transform: scale(1.08) translateY(-2px);
}

.hero-cta img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* ===== Features Section ===== */
.features {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 56px;
    letter-spacing: -0.5px;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(140, 69, 115, 0.12);
    border-color: rgba(140, 69, 115, 0.2);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(140, 69, 115, 0.1), rgba(242, 106, 75, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 24px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

/* Background glow for pricing */
.pricing::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--brand-berry);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(120px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

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

.pricing h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.pricing-subtitle {
    color: var(--dark-text-muted);
    font-size: 18px;
    margin-bottom: 48px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: left;
}

.pricing-card {
    background: var(--dark-surface);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid var(--dark-border);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card-premium {
    background: var(--dark-surface-2);
    border: 1px solid rgba(140, 69, 115, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(140, 69, 115, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-card-premium:hover {
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.4),
        0 0 40px var(--glow-berry);
    border-color: rgba(140, 69, 115, 0.5);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--brand-gradient);
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px var(--glow-berry);
}

.pricing-icon {
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.pricing-price {
    font-size: 40px;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--dark-text-muted);
    font-size: 15px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-coral);
    font-weight: 700;
    font-size: 16px;
}

.pricing-cta {
    display: block;
    margin-top: 24px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-cta:hover {
    transform: scale(1.08);
}

.pricing-cta img {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* ===== Screenshot Showcase ===== */
.screenshots {
    padding: 100px 24px;
    background: var(--bg-light);
    overflow: hidden;
}

.screenshots h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 48px;
}

.screenshot-gallery {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
}

.screenshot-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 48px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-berry) transparent;
}

.screenshot-scroll::-webkit-scrollbar {
    height: 4px;
}

.screenshot-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.screenshot-scroll::-webkit-scrollbar-thumb {
    background: var(--brand-gradient);
    border-radius: 2px;
}

.screenshot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-main);
    font-size: 26px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.screenshot-nav:hover {
    transform: translateY(-60%) scale(1.12);
    box-shadow: 0 8px 32px rgba(140, 69, 115, 0.2);
    border-color: rgba(140, 69, 115, 0.3);
}

.screenshot-nav-left {
    left: 4px;
}

.screenshot-nav-right {
    right: 4px;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-item img {
    height: 520px;
    width: auto;
    border-radius: 24px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s;
}

.screenshot-item:hover img {
    box-shadow:
        0 32px 80px rgba(140, 69, 115, 0.18),
        0 0 0 1px rgba(140, 69, 115, 0.1);
}

.screenshot-item figcaption {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(ellipse at 30% 50%, var(--glow-berry) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, var(--glow-coral) 0%, transparent 60%);
    opacity: 0.15;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.5px;
}

.cta-section p {
    color: var(--dark-text-muted);
    font-size: 18px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow:
        0 8px 32px var(--glow-berry),
        0 0 0 0 rgba(140, 69, 115, 0);
    position: relative;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 16px 48px var(--glow-berry),
        0 0 0 4px rgba(140, 69, 115, 0.15);
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 19px;
    background: var(--brand-gradient);
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 0.4s;
}

.cta-button:hover::after {
    opacity: 0.5;
}

/* ===== Landing Page Responsive ===== */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
        min-height: 70vh;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features {
        padding: 64px 16px;
    }

    .pricing {
        padding: 64px 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshots {
        padding: 64px 16px;
    }

    .screenshot-item img {
        height: 420px;
    }

    .screenshot-nav {
        display: none;
    }

    .screenshot-scroll {
        padding: 12px 16px 16px;
        gap: 16px;
        scrollbar-width: none;
    }

    .screenshot-scroll::-webkit-scrollbar {
        display: none;
    }

    .cta-section {
        padding: 64px 20px;
    }

    .cta-button {
        padding: 16px 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 16px 48px;
        min-height: auto;
    }

    .hero-logo {
        width: 88px;
        height: 88px;
        border-radius: 22px;
    }

    .screenshot-item img {
        height: 360px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .pricing-card {
        padding: 28px 24px;
    }
}

/* ============================================
   GUIDE PAGE STYLES – Step-by-Step Timeline
   ============================================ */

/* --- Guide Hero --- */
.guide-hero {
    background: var(--dark-bg);
    padding: 100px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guide-hero::before,
.guide-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.guide-hero::before {
    width: 400px;
    height: 400px;
    background: var(--brand-berry);
    opacity: 0.2;
    top: -120px;
    left: -60px;
}

.guide-hero::after {
    width: 350px;
    height: 350px;
    background: var(--brand-coral);
    opacity: 0.15;
    bottom: -100px;
    right: -40px;
}

.guide-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.guide-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.guide-hero-tagline {
    font-size: clamp(16px, 2.2vw, 20px);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    line-height: 1.6;
}

/* --- Guide Steps --- */
.guide-steps {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    position: relative;
}

/* Vertical timeline line */
.guide-steps::before {
    content: '';
    position: absolute;
    top: 80px;
    bottom: 60px;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-berry), var(--brand-coral), transparent);
    transform: translateX(-50%);
    opacity: 0.2;
}

.guide-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.guide-step:last-child {
    margin-bottom: 0;
}

/* Alternating layout */
.guide-step:nth-child(even) .guide-step-img {
    order: 2;
}

.guide-step:nth-child(even) .guide-step-text {
    order: 1;
    text-align: right;
}

/* Step number badge */
.guide-step-number {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 20px var(--glow-berry);
}

/* Screenshot image */
.guide-step-img img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 24px;
    box-shadow:
        0 20px 56px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s;
}

.guide-step-img {
    display: flex;
    justify-content: center;
}

.guide-step:nth-child(odd) .guide-step-img {
    justify-content: flex-end;
}

.guide-step:nth-child(even) .guide-step-img {
    justify-content: flex-start;
}

.guide-step-img img:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow:
        0 28px 72px rgba(140, 69, 115, 0.16),
        0 0 0 1px rgba(140, 69, 115, 0.1);
}

/* Step text */
.guide-step-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.guide-step-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Guide Responsive --- */
@media (max-width: 768px) {
    .guide-hero {
        padding: 80px 20px 48px;
    }

    .guide-steps {
        padding: 48px 16px 40px;
    }

    /* Hide timeline line on mobile */
    .guide-steps::before {
        display: none;
    }

    .guide-step {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 48px;
        padding-left: 0;
    }

    /* Step number centered above card */
    .guide-step-number {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto 12px;
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    /* Screenshot first, then text */
    .guide-step:nth-child(even) .guide-step-img,
    .guide-step:nth-child(odd) .guide-step-img {
        order: 1;
        justify-content: center;
    }

    .guide-step:nth-child(even) .guide-step-text,
    .guide-step:nth-child(odd) .guide-step-text {
        order: 2;
        text-align: center;
    }

    /* Full-width screenshots */
    .guide-step-img img {
        max-width: 100%;
        width: 280px;
    }

    .guide-step-text h2 {
        font-size: 20px;
    }

    .guide-step-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .guide-hero {
        padding: 60px 16px 36px;
    }

    .guide-step-img img {
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
    }

    .guide-step {
        margin-bottom: 40px;
        gap: 12px;
    }
}

/* ===== Mobile Performance Optimizations ===== */
/* Reduces GPU-heavy effects on lower-powered devices */
@media (max-width: 768px) {

    /* Reduce heavy blur on pseudo-element orbs */
    .hero::before,
    .hero::after {
        filter: blur(40px);
        animation: none;
    }

    /* Disable infinite logo glow animation */
    .hero-logo {
        animation: none;
    }

    /* Remove grid overlay (compositing layer) */
    .hero-bg-grid {
        display: none;
    }

    /* Replace navbar backdrop-filter with solid background */
    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }

    /* Reduce blur on pricing glow */
    .pricing::before {
        filter: blur(40px);
    }

    /* Reduce blur on menu overlay pseudo-elements */
    .menu-overlay::before,
    .menu-overlay::after {
        filter: blur(40px);
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {

    .hero::before,
    .hero::after,
    .hero-logo,
    .animate-on-scroll {
        animation: none !important;
        transition: none !important;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== Pricing Packs (One-Time) ===== */
.pricing-packs {
    margin-top: 64px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    border-top: 1px solid var(--dark-border);
}

.pricing-packs h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-packs p {
    color: var(--dark-text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.packs-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pack-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.pack-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pack-icon {
    font-size: 24px;
}

.pack-info strong {
    color: white;
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.pack-price {
    color: var(--brand-coral);
    font-size: 14px;
    font-weight: 500;
    margin-top: 2px;
}

@media (max-width: 480px) {
    .packs-grid {
        flex-direction: column;
    }
    
    .pack-card {
        width: 100%;
        justify-content: center;
    }
}
