/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Remove tap highlight on mobile */
a, button {
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
}

:root {
    --primary: #4a4a4a;
    --primary-dark: #3a3a3a;
    --accent: #2563eb;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
}

/* Display mode: Browser vs PWA header toggle */
.header-browser { display: block; }
.header-pwa { display: none; }

/* PWA mode - CSS media query for Android/desktop */
@media (display-mode: standalone) {
    .header-browser { display: none; }
    .header-pwa { display: block; }
}

/* PWA mode - JS class fallback for iOS */
html.pwa-mode .header-browser { display: none; }
html.pwa-mode .header-pwa { display: block; }

/* Fix sticky header in PWA mode */
html.pwa-mode, html.pwa-mode body {
    overflow-x: clip;
}
@media (display-mode: standalone) {
    html, body {
        overflow-x: clip;
    }
}

/* PWA Header Styles */
.header-pwa {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pwa-nav {
    max-width: 672px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
}

.pwa-logo {
    display: flex;
    align-items: center;
}

.pwa-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

.pwa-menu-container {
    position: relative;
    margin-right: -20px;
}

.pwa-menu-btn {
    padding: 8px;
    border-radius: 9999px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pwa-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.pwa-menu-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.pwa-dropdown {
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    width: 14rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    z-index: 50;
}

.pwa-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    gap: 0.75rem;
    transition: background-color 0.15s;
}

.pwa-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.pwa-menu-item-icon {
    width: 20px;
    height: 20px;
    color: #6a6a6a;
    flex-shrink: 0;
}

.pwa-menu-divider {
    margin: 0.25rem 0;
    border-top: 1px solid #e0e0e0;
}

.pwa-menu-label {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #6a6a6a;
    text-transform: uppercase;
}

.pwa-lang-item {
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.pwa-lang-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pwa-lang-active {
    background-color: rgba(0, 0, 0, 0.05);
}

.pwa-check-icon {
    width: 16px;
    height: 16px;
    color: #1a1a1a;
}

.pwa-logout-form {
    margin: 0;
}

.pwa-logout-btn {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
}

/* AlpineJS x-cloak */
[x-cloak] { display: none !important; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

/* Header */
.header {
    background: var(--bg);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-login {
    font-weight: 500;
}

.nav-story {
    font-weight: 500;
}

.nav-pricing {
    font-weight: 500;
}

.lang-switch {
    color: var(--text-light) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3a5a7a 0%, #5a5a5a 50%, #7a5a3a 100%);
    color: white;
    box-shadow: 0 4px 16px 0 rgba(58, 90, 122, 0.25), 0 4px 16px 0 rgba(122, 90, 58, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a4a6a 0%, #4a4a4a 50%, #6a4a2a 100%);
    box-shadow: 0 6px 24px 0 rgba(58, 90, 122, 0.35), 0 6px 24px 0 rgba(122, 90, 58, 0.25);
    transform: translateY(-2px);
}

.btn-dark {
    background: #4a4a4a;
    color: #fff;
}

.btn-dark:hover {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(315deg, #ffffff 0%, #f3f4f6 100%);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
}

.btn-secondary span,
.btn-secondary {
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-secondary svg {
    stroke: #4a4a4a;
}

.btn-secondary:hover {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1), inset 0 0 0 100px rgba(0, 0, 0, 0.03);
    transform: translateY(-1px);
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-large svg {
    flex-shrink: 0;
}

/* Hero */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 60px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    overflow: visible;
}

.hero-phone {
    position: relative;
    z-index: 2;
    width: 300px;
    display: block;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-circle-1 {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 50px));
    border: 1px solid rgba(196, 122, 42, 0.3);
}

.hero-circle-2 {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(48, 128, 216, 0.25);
}

/* Showcase Section */
.showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 7.5rem;
}

.showcase-inner {
    background:
        radial-gradient(circle at 90% 10%, rgba(217, 119, 6, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(80, 80, 80, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, #2a3a4a 0%, #4a4a4a 50%, #5a4a3a 100%);
    border-radius: 16px;
    padding: 4rem 3rem 0;
    position: relative;
    overflow: visible;
}

.showcase-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.showcase-circle-1 {
    width: 450px;
    height: 450px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    top: -100px;
    right: -50px;
}

.showcase-circle-1::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.showcase-circle-2 {
    width: 350px;
    height: 350px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    bottom: 50px;
    left: -100px;
}

.showcase-circle-2::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.showcase-circle-3 {
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    top: 20%;
    left: 25%;
}

.showcase-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.showcase-dot-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    top: 15%;
    right: 8%;
}

.showcase-dot-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    top: 45%;
    right: 2%;
}

.showcase-dot-3 {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 35%;
    right: 12%;
}

.showcase-dot-4 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.07);
    top: 20%;
    left: 5%;
}

.showcase-dot-5 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.09);
    top: 50%;
    left: 2%;
}

.showcase-dot-6 {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.11);
    bottom: 40%;
    left: 10%;
}

.showcase-header {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.showcase-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    max-width: 450px;
}

.showcase-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 420px;
    text-align: right;
    line-height: 1.5;
}

.showcase-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.showcase-left {
    display: contents;
}

.showcase-right {
    display: contents;
}

.showcase-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    height: 420px;
    margin-bottom: -100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.showcase-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.showcase-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.showcase-card-tall {
    height: 420px;
}

.showcase-phone {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 1rem;
    position: relative;
}

.showcase-phone img {
    width: 260px;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px -5px rgba(0, 0, 0, 0.15);
}

.showcase-card:first-child .showcase-phone img {
    transform: rotate(-6deg) translateX(20px);
    box-shadow: none;
}

.showcase-card:nth-child(2) .showcase-phone img {
    transform: rotate(3deg) translateX(0);
    box-shadow: none;
}

.showcase-card-tall .showcase-phone img {
    transform: translateX(20px);
}


/* Steps Section */
.steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

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

.steps-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.steps-phone {
    position: relative;
    z-index: 2;
    width: 480px;
    display: block;
}

.steps-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.steps-circle-1 {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 50px));
    border: 1px solid rgba(196, 122, 42, 0.3);
}

.steps-circle-2 {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(48, 128, 216, 0.25);
}

.steps-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    margin-bottom: 2.5rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 40px;
    width: 0;
    height: calc(100% + 2rem - 34px);
    border-left: 2px dashed #d1d5db;
}

.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #3a5a7a 0%, #5a5a5a 50%, #7a5a3a 100%);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    margin-top: -4px;
    box-shadow: 0 2px 8px rgba(58, 90, 122, 0.25), 0 2px 8px rgba(122, 90, 58, 0.15);
}

.step-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.step-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* FAQ Section */
.faq {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

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

.faq-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a4a4a;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: #4a4a4a;
    transition: transform 0.2s;
}

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

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    overflow: visible;
}

.faq-image img {
    position: relative;
    z-index: 2;
    width: 300px;
    display: block;
}

.faq-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.faq-circle-1 {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 50px));
    border: 1px solid rgba(196, 122, 42, 0.3);
}

.faq-circle-2 {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(48, 128, 216, 0.25);
}

/* Subscriptions Section */
.subscriptions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

.subscriptions-inner {
    background:
        radial-gradient(circle at 90% 10%, rgba(217, 119, 6, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(80, 80, 80, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, #2a3a4a 0%, #4a4a4a 50%, #5a4a3a 100%);
    border-radius: 16px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.subscriptions-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.subscriptions-circle-1 {
    width: 450px;
    height: 450px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    top: -100px;
    right: -50px;
}

.subscriptions-circle-1::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.subscriptions-circle-2 {
    width: 350px;
    height: 350px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    bottom: -100px;
    left: -100px;
}

.subscriptions-circle-2::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.subscriptions-circle-3 {
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    top: 20%;
    left: 25%;
}

.subscriptions-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.subscriptions-dot-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    top: 15%;
    right: 8%;
}

.subscriptions-dot-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    top: 45%;
    right: 2%;
}

.subscriptions-dot-3 {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 35%;
    right: 12%;
}

.subscriptions-dot-4 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.07);
    top: 20%;
    left: 5%;
}

.subscriptions-dot-5 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.09);
    top: 50%;
    left: 2%;
}

.subscriptions-dot-6 {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.11);
    bottom: 40%;
    left: 10%;
}

.subscriptions-header {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.subscriptions-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.subscriptions-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.subscriptions-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.subscription-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.subscription-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.subscription-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.subscription-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.subscription-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscription-price .price-contact {
    font-size: 1.5rem;
}

.subscription-price .period {
    font-size: 1.1rem;
    color: var(--text-light);
}

.subscription-title-gradient {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.subscription-card-contact {
    justify-content: center;
}

/* Documentation Page */
.docs-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.docs-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    align-items: start;
}

.docs-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 2rem;
    align-self: start;
}

.docs-sidebar h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #4d4d4d;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.docs-toc {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: sticky;
    top: 2rem;
}

.docs-toc a {
    font-size: 0.95rem;
    color: #6b7280;
    text-decoration: none;
    padding: 0.4rem 0;
    border-left: 2px solid transparent;
    padding-left: 1rem;
    transition: all 0.2s;
}

.docs-toc a:hover {
    color: #4a4a4a;
    border-left-color: #4a4a4a;
}

.docs-toc a.active {
    color: #4a4a4a;
    border-left-color: #4a4a4a;
    font-weight: 600;
}

.docs-toc a.toc-main {
    font-weight: 500;
    color: #4a4a4a;
}

.docs-toc a.toc-sub {
    font-size: 0.875rem;
    padding-left: 1.75rem;
    color: #9ca3af;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.docs-toc a.toc-sub:hover {
    color: #6b7280;
}

.docs-toc a.toc-sub.active {
    color: #4a4a4a;
    font-weight: 500;
}

/* Mobile TOC - hidden on desktop */
.docs-toc-mobile {
    display: none;
}

.docs-content {
    max-width: 800px;
}

.docs-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.docs-intro {
    font-size: 1.15rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.docs-notice {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(48, 128, 216, 0.08) 0%, rgba(74, 74, 74, 0.06) 50%, rgba(196, 122, 42, 0.08) 100%);
    border: 1px solid rgba(48, 128, 216, 0.2);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.docs-notice svg {
    flex-shrink: 0;
    color: #3080d8;
    margin-top: 0.125rem;
}

.docs-notice p {
    font-size: 0.95rem;
    color: #4d4d4d;
    line-height: 1.5;
    margin: 0;
}

.docs-notice-section {
    margin-top: 1.5rem;
}

.docs-section {
    margin-bottom: 3rem;
    scroll-margin-top: 2rem;
}

.docs-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.docs-section p {
    font-size: 1rem;
    color: #4d4d4d;
    line-height: 1.7;
}

.docs-list {
    margin: 0;
    padding: 0 0 0 1.5rem;
    counter-reset: list-counter;
    list-style: none;
}

.docs-list > li {
    font-size: 1rem;
    color: #4d4d4d;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    counter-increment: list-counter;
    position: relative;
}

.docs-list > li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: -1.5rem;
    font-weight: 400;
    color: var(--primary);
}

.docs-list li strong {
    color: #333;
}

.docs-list li a {
    color: var(--accent);
    text-decoration: none;
}

.docs-list li a:hover {
    text-decoration: underline;
}

.docs-sub-item {
    margin-top: 0.5rem;
}

.docs-sub-item:last-child {
    margin-bottom: 0.5rem;
}

.docs-sub-title {
    font-weight: 600;
}

.docs-sub-list {
    margin: 0.25rem 0 0 0;
    padding: 0 0 0 1.25rem;
    list-style: decimal;
}

.docs-sub-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
    color: #4d4d4d;
}

.docs-sub-list-bullet {
    margin: 0.5rem 0 0.5rem 0;
    padding: 0 0 0 1.25rem;
    list-style: disc;
}

.docs-sub-list-bullet li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
    color: #4d4d4d;
}

.docs-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4d4d4d;
    margin: 2rem 0 0.75rem 0;
}

.docs-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 0.25rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.docs-icon-plus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

.docs-icon-join {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='8.5' cy='7' r='4'%3E%3C/circle%3E%3Cline x1='20' y1='8' x2='20' y2='14'%3E%3C/line%3E%3Cline x1='23' y1='11' x2='17' y2='11'%3E%3C/line%3E%3C/svg%3E");
}

.docs-icon-bell {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'%3E%3C/path%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'%3E%3C/path%3E%3C/svg%3E");
}

.docs-icon-edit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'%3E%3C/path%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'%3E%3C/path%3E%3C/svg%3E");
}

.docs-icon-x {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='15' y1='9' x2='9' y2='15'%3E%3C/line%3E%3Cline x1='9' y1='9' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 2rem 1.5rem 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 0;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 32px;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-copyright-mobile {
    display: none;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.25rem;
}

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

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

.footer-column a {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
    .hero {
        gap: 3rem;
        padding: 3rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-phone {
        width: 300px;
    }

    .showcase-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .showcase-content {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-card {
        height: 380px;
    }

    .showcase-card-tall {
        grid-row: span 2;
        height: 380px;
    }

    .showcase-phone img {
        width: 200px;
    }

    /* Steps */
    .steps-inner {
        gap: 3rem;
    }

    .steps-phone {
        width: 300px;
    }

    .steps-content h2 {
        font-size: 2.25rem;
    }

    /* FAQ */
    .faq-inner {
        gap: 3rem;
    }

    .faq-content h2 {
        font-size: 2.25rem;
    }

    .faq-image img {
        width: 300px;
    }

    /* Subscriptions */
    .subscriptions-header h2 {
        font-size: 2rem;
    }

    .subscriptions-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .subscription-card {
        padding: 1.5rem;
    }

    .subscription-price .price {
        font-size: 2rem;
    }

    /* Documentation - Tablet */
    .docs-container {
        grid-template-columns: 200px 1fr;
        gap: 3rem;
    }

    .docs-content h1 {
        font-size: 2rem;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    /* Navigation */
    .nav {
        padding: 1.5rem 2rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a:not(.nav-login):not(.nav-pricing):not(.nav-story):not(.lang-switch) {
        display: none;
    }

    .logo-img {
        height: 24px;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        text-align: center;
        min-height: auto;
        gap: 2.5rem;
    }

    .hero-image {
        order: 1;
        overflow: hidden;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-phone {
        width: 280px;
    }

    .hero-circle-1 {
        width: 320px;
        height: 320px;
        transform: translate(-50%, calc(-50% + 40px));
    }

    .hero-circle-2 {
        width: 400px;
        height: 400px;
    }

    .cta-buttons {
        justify-content: center;
        margin-bottom: 1rem;
    }

    /* Showcase */
    .showcase {
        padding: 0 2rem 3rem;
    }

    .showcase-inner {
        padding: 2rem 1.5rem 2rem;
    }

    .showcase-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .showcase-header h2 {
        font-size: 1.75rem;
    }

    .showcase-header p {
        text-align: left;
        font-size: 1rem;
    }

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

    .showcase-card {
        height: 420px;
        margin-bottom: 0;
        overflow: hidden;
    }

    .showcase-card-tall {
        grid-row: span 1;
        height: 420px;
    }

    .showcase-card h3 {
        font-size: 1.25rem;
    }

    .showcase-phone img {
        width: 260px;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 1.5rem 3rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Steps */
    .steps {
        padding: 3rem 2rem 3rem;
        overflow: hidden;
    }

    .steps-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .steps-image {
        order: -1;
        overflow: hidden;
    }

    .steps-phone {
        width: 100%;
        max-width: 480px;
    }

    .steps-circle-1 {
        width: 320px;
        height: 320px;
        transform: translate(-50%, calc(-50% + 40px));
    }

    .steps-circle-2 {
        width: 400px;
        height: 400px;
    }

    .steps-content h2 {
        font-size: 1.75rem;
    }

    .steps-list {
        gap: 1.5rem;
    }

    .step-item {
        text-align: left;
        padding: 0 0.5rem;
    }

    .step-item:not(:last-child)::after {
        left: 25px;
    }

    /* FAQ */
    .faq {
        padding: 3rem 2rem 3rem;
    }

    .faq-list {
        padding: 0 0.5rem;
    }

    .faq-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-image {
        order: -1;
    }

    .faq-content h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-image img {
        width: 280px;
    }

    .faq-circle-1 {
        width: 320px;
        height: 320px;
        transform: translate(-50%, calc(-50% + 40px));
    }

    .faq-circle-2 {
        width: 400px;
        height: 400px;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 3rem 2rem 2rem;
    }

    .footer-brand {
        display: none;
    }

    .footer-copyright-mobile {
        display: block;
    }

    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        padding: 1.25rem 1.5rem;
    }

    /* Subscriptions */
    .subscriptions {
        padding: 3rem 2rem 3rem;
    }

    .subscriptions-inner {
        padding: 2rem 1.5rem;
    }

    .subscriptions-header {
        margin-bottom: 2rem;
    }

    .subscriptions-header h2 {
        font-size: 1.75rem;
    }

    .subscriptions-header p {
        font-size: 1rem;
    }

    .subscriptions-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .subscription-card h3 {
        font-size: 1.25rem;
    }

    /* Documentation - Mobile */
    .docs-main {
        padding: 2rem 1.5rem 3rem;
    }

    .docs-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .docs-sidebar {
        display: none;
    }

    .docs-toc-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 1.5rem;
        background: #f8f9fa;
        border-radius: 12px;
        margin-bottom: 2rem;
    }

    .docs-toc-mobile a {
        font-size: 0.9rem;
        color: #6b7280;
        text-decoration: none;
        padding: 0.375rem 0;
    }

    .docs-toc-mobile a:hover,
    .docs-toc-mobile a.active {
        color: #4a4a4a;
        font-weight: 600;
    }

    .docs-toc-mobile a.toc-main {
        font-weight: 500;
        color: #4a4a4a;
    }

    .docs-toc-mobile a.toc-sub {
        font-size: 0.85rem;
        padding-left: 1rem;
        color: #9ca3af;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .docs-toc-mobile a.toc-sub.active {
        color: #4a4a4a;
        font-weight: 500;
    }

    .docs-content h1 {
        font-size: 1.75rem;
    }

    .docs-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .docs-section {
        margin-bottom: 2rem;
    }

    .docs-section h2 {
        font-size: 1.25rem;
    }
}

/* Small mobile - 480px and below */
@media (max-width: 480px) {
    .nav {
        padding: 1.25rem 1.5rem 0.875rem;
    }


    .hero {
        padding: 5rem 1rem 2rem;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-phone {
        width: 250px;
    }

    .hero-circle-1 {
        width: 280px;
        height: 280px;
        transform: translate(-50%, calc(-50% + 30px));
    }

    .hero-circle-2 {
        width: 340px;
        height: 340px;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .cta-buttons .btn {
        padding: 0.625rem 1rem;
        font-size: 1rem;
    }

    .showcase {
        padding: 2rem 1.5rem 0;
    }

    .cta-section {
        padding: 2rem 1.5rem 2rem;
    }

    .showcase-header h2 {
        font-size: 1.75rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .showcase-card {
        height: 380px;
        overflow: hidden;
    }

    .showcase-card-tall {
        height: 380px;
        overflow: hidden;
    }

    .showcase-phone img {
        width: 240px;
    }

    /* Footer */
    .footer-main {
        padding: 2rem 1.5rem 1.5rem;
        gap: 2rem;
    }

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

    .footer-column:last-child {
        grid-column: span 2;
    }

    .footer-bottom {
        padding: 1rem 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Steps */
    .steps {
        padding: 2rem 1.5rem 2rem;
        overflow: hidden;
    }

    .steps-image {
        overflow: hidden;
    }

    .steps-phone {
        width: 100%;
        max-width: 400px;
    }

    .steps-circle-1 {
        width: 260px;
        height: 260px;
        transform: translate(-50%, calc(-50% + 30px));
    }

    .steps-circle-2 {
        width: 320px;
        height: 320px;
    }

    .steps-content h2 {
        font-size: 1.75rem;
    }

    .step-text h3 {
        font-size: 1.1rem;
    }

    .step-text p {
        font-size: 1rem;
    }

    /* FAQ */
    .faq {
        padding: 2rem 1.5rem 2rem;
    }

    .faq-content h2 {
        font-size: 1.75rem;
    }

    .faq-circle-1 {
        width: 280px;
        height: 280px;
        transform: translate(-50%, calc(-50% + 30px));
    }

    .faq-circle-2 {
        width: 340px;
        height: 340px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .faq-answer p {
        font-size: 1rem;
    }

    .faq-image img {
        width: 250px;
    }

    /* Subscriptions */
    .subscriptions {
        padding: 2rem 1.5rem 2rem;
    }

    .subscriptions-header h2 {
        font-size: 1.75rem;
    }

    .subscription-price .price {
        font-size: 2rem;
    }
}

/* ==========================================
   Legal Pages (Privacy Policy, Terms)
   ========================================== */

.legal-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #4d4d4d;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    font-size: 1rem;
    color: #4d4d4d;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--accent);
    text-decoration: none;
}

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

.legal-list {
    margin: 0.75rem 0 1rem 0;
    padding: 0 0 0 1.5rem;
    list-style: disc;
}

.legal-list > li {
    font-size: 1rem;
    color: #4d4d4d;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-list li strong {
    color: #333;
}

.legal-list li a {
    color: var(--accent);
    text-decoration: none;
}

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

.legal-info-box {
    background: linear-gradient(135deg, rgba(48, 128, 216, 0.06) 0%, rgba(74, 74, 74, 0.04) 50%, rgba(196, 122, 42, 0.06) 100%);
    border: 1px solid rgba(48, 128, 216, 0.15);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.legal-info-box p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-info-box a {
    color: var(--accent);
    text-decoration: none;
}

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

/* Legal pages responsive */
@media (max-width: 768px) {
    .legal-main {
        padding: 2rem 1.5rem 3rem;
    }

    .legal-content h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-section h3 {
        font-size: 1.05rem;
    }

    .legal-updated {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
}

/* ==========================================
   Cookie Consent Popup
   ========================================== */

.cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    max-width: 320px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 9999;
    border: 1px solid var(--border);
}

.cookie-consent.hidden {
    display: none;
}

.cookie-consent-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent-inner p {
    font-size: 0.9rem;
    color: #4d4d4d;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-inner a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-inner a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn-accept {
    flex: 1;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
    background: linear-gradient(135deg, #3a5a7a 0%, #5a5a5a 50%, #7a5a3a 100%);
    color: white;
    box-shadow: 0 4px 16px 0 rgba(58, 90, 122, 0.25), 0 4px 16px 0 rgba(122, 90, 58, 0.15);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #2a4a6a 0%, #4a4a4a 50%, #6a4a2a 100%);
    box-shadow: 0 6px 24px 0 rgba(58, 90, 122, 0.35), 0 6px 24px 0 rgba(122, 90, 58, 0.25);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    flex: 1;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(315deg, #ffffff 0%, #f3f4f6 100%);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
    color: #4a4a4a;
}

.cookie-btn-decline:hover {
    background: #f3f4f6;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        padding: 1.25rem;
    }

    .cookie-consent-inner p {
        font-size: 0.85rem;
    }

    .cookie-btn-accept,
    .cookie-btn-decline {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
}

/* ==========================================
   Story Page
   ========================================== */

/* Story Hero */
.story-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.story-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(48, 128, 216, 0.1) 0%, rgba(74, 74, 74, 0.08) 50%, rgba(196, 122, 42, 0.1) 100%);
    border-radius: 20px;
}

.story-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3080d8 0%, #3080d8 25%, #4a4a4a 60%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.story-author-link {
    color: #3080d8;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.story-author-link:hover {
    color: #2060a8;
}

.story-author-link .linkedin-icon {
    width: 18px;
    height: 18px;
    color: #0077b5;
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.story-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.story-circle {
    position: absolute;
    border-radius: 50%;
}

/* Blue outlined circle - center right */
.story-circle-1 {
    width: 130px;
    height: 130px;
    top: 35%;
    right: 30%;
    border: 1px solid rgba(48, 128, 216, 0.25);
}

/* Orange outlined circle - center left */
.story-circle-2 {
    width: 100px;
    height: 100px;
    top: 45%;
    left: 28%;
    border: 1px solid rgba(196, 122, 42, 0.3);
}

/* Soft blue filled circle - right side mid */
.story-circle-3 {
    width: 90px;
    height: 90px;
    top: 55%;
    right: 25%;
    background: rgba(48, 128, 216, 0.06);
}

/* Story Origin */
.story-origin {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

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

.story-origin-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.story-origin-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.story-origin-content p:last-child {
    margin-bottom: 0;
}

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

.story-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

/* First image (me.jpg) */
.story-origin-visual .story-image {
    max-width: 380px;
    max-height: 480px;
}

/* Second image (orkester.jpg) */
.story-idea-visual .story-image {
    max-width: 550px;
}

.story-icon-container {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(48, 128, 216, 0.08) 0%, rgba(74, 74, 74, 0.06) 50%, rgba(196, 122, 42, 0.08) 100%);
    border-radius: 50%;
    color: #4a4a4a;
}

/* Story Idea */
.story-idea {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

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

.story-idea-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.story-idea-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

/* Story Timeline */
.story-timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.story-timeline-inner {
    background:
        radial-gradient(circle at 90% 10%, rgba(217, 119, 6, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(80, 80, 80, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, #2a3a4a 0%, #4a4a4a 50%, #5a4a3a 100%);
    border-radius: 16px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.story-timeline-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.story-timeline-circle-1 {
    width: 350px;
    height: 350px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    top: -100px;
    right: -80px;
}

.story-timeline-circle-2 {
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    bottom: -60px;
    left: -60px;
}

.story-timeline-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.story-timeline-dot-1 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    top: 20%;
    left: 5%;
}

.story-timeline-dot-2 {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    bottom: 30%;
    right: 10%;
}

.story-timeline-dot-3 {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    top: 40%;
    right: 5%;
}

.story-timeline-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.story-timeline-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.story-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.story-timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.story-timeline-marker {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    color: white;
}

.story-timeline-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.story-timeline-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Story Values */
.story-values {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.story-values-inner {
    text-align: center;
}

.story-values-inner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.story-values-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.story-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.story-value-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.story-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.story-value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(48, 128, 216, 0.1) 0%, rgba(74, 74, 74, 0.08) 50%, rgba(196, 122, 42, 0.1) 100%);
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    color: #4a4a4a;
}

.story-value-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.story-value-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Story Mission */
.story-mission {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}

.story-mission-inner {
    background: linear-gradient(135deg, rgba(48, 128, 216, 0.06) 0%, rgba(74, 74, 74, 0.04) 50%, rgba(196, 122, 42, 0.06) 100%);
    border: 1px solid rgba(48, 128, 216, 0.15);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-mission-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.story-mission-circle {
    position: absolute;
    border-radius: 50%;
}

.story-mission-circle-1 {
    width: 150px;
    height: 150px;
    top: 20px;
    right: 30px;
    border: 1px solid rgba(48, 128, 216, 0.12);
}

.story-mission-circle-2 {
    width: 100px;
    height: 100px;
    bottom: 20px;
    left: 30px;
    border: 1px solid rgba(196, 122, 42, 0.12);
}

.story-mission-content {
    position: relative;
    z-index: 2;
}

.story-mission-content h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3080d8 0%, #4a4a4a 50%, #c47a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.story-mission-text {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.story-mission-cta {
    display: flex;
    justify-content: center;
}

/* Story Page Responsive - Tablet */
@media (max-width: 1024px) {
    .story-hero h1 {
        font-size: 2.75rem;
    }

    .story-hero-subtitle {
        font-size: 1.15rem;
    }

    .story-origin-inner {
        gap: 3rem;
    }

    .story-origin-content h2 {
        font-size: 2rem;
    }

    .story-idea-inner {
        gap: 3rem;
    }

    .story-idea-content h2 {
        font-size: 2rem;
    }

    .story-timeline-header h2 {
        font-size: 2rem;
    }

    .story-values-inner h2 {
        font-size: 2rem;
    }
}

/* Story Page Responsive - Mobile */
@media (max-width: 768px) {
    .story-hero {
        padding: 3rem 1.5rem 4rem;
    }

    .story-hero h1 {
        font-size: 2rem;
    }

    .story-hero-subtitle {
        font-size: 1rem;
    }

    .story-circle-1 {
        width: 100px;
        height: 100px;
        top: 32%;
        right: 22%;
    }

    .story-circle-2 {
        width: 80px;
        height: 80px;
        top: 48%;
        left: 20%;
    }

    .story-circle-3 {
        width: 70px;
        height: 70px;
        top: 55%;
        right: 28%;
    }

    .story-origin {
        padding: 0 2rem 4rem;
    }

    .story-origin-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .story-origin-visual {
        order: -1;
    }

    .story-icon-container {
        width: 150px;
        height: 150px;
    }

    .story-icon-container svg {
        width: 60px;
        height: 60px;
    }

    .story-origin-content h2 {
        font-size: 1.75rem;
    }

    .story-origin-content p {
        font-size: 1rem;
    }

    .story-image {
        max-width: 300px;
    }

    .story-origin-visual .story-image {
        max-width: 280px;
        max-height: 320px;
    }

    .story-idea-visual .story-image {
        max-width: 100%;
    }

    .story-idea {
        padding: 0 2rem 4rem;
    }

    .story-idea-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .story-idea-visual {
        order: -1;
    }

    .story-idea-content h2 {
        font-size: 1.75rem;
    }

    .story-idea-content p {
        font-size: 1rem;
    }

    .story-timeline {
        padding: 0 2rem 4rem;
    }

    .story-timeline-inner {
        padding: 2.5rem 1.5rem;
    }

    .story-timeline-header h2 {
        font-size: 1.75rem;
    }

    .story-timeline-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        text-align: center;
    }

    .story-timeline-marker {
        margin: 0 auto;
    }

    .story-values {
        padding: 2rem 2rem 4rem;
    }

    .story-values-inner h2 {
        font-size: 1.75rem;
    }

    .story-values-subtitle {
        font-size: 1rem;
    }

    .story-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-value-card {
        padding: 2rem 1.5rem;
    }

    .story-mission {
        padding: 0 2rem 4rem;
    }

    .story-mission-inner {
        padding: 2.5rem 1.5rem;
    }

    .story-mission-content h2 {
        font-size: 1.5rem;
    }

    .story-mission-text {
        font-size: 1rem;
    }
}

/* Story Page Responsive - Small Mobile */
@media (max-width: 480px) {
    .story-hero {
        padding: 2rem 1.5rem 3rem;
    }

    .story-hero h1 {
        font-size: 1.75rem;
    }

    .story-label {
        font-size: 0.75rem;
    }

    .story-circle-1 {
        width: 80px;
        height: 80px;
        top: 30%;
        right: 15%;
    }

    .story-circle-2 {
        width: 60px;
        height: 60px;
        top: 50%;
        left: 12%;
    }

    .story-circle-3 {
        width: 55px;
        height: 55px;
        top: 58%;
        right: 18%;
    }

    .story-origin {
        padding: 0 1.5rem 3rem;
    }

    .story-idea {
        padding: 0 1.5rem 3rem;
    }

    .story-timeline {
        padding: 0 1.5rem 3rem;
    }

    .story-values {
        padding: 1.5rem 1.5rem 3rem;
    }

    .story-mission {
        padding: 0 1.5rem 3rem;
    }
}
