/* =============================================
   APPLESTAN - Design System
   Matches Nava website styling exactly
   ============================================= */

/* =============================================
   Self-hosted Fonts (GDPR compliant)
   ============================================= */

/* DM Sans - Latin */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans - Latin Extended */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Outfit - Latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 500 600 700;
    font-display: swap;
    src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit - Latin Extended */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 500 600 700;
    font-display: swap;
    src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-tertiary: #21262D;
    --accent-blue: #58A6FF;
    --accent-teal: #3CB4B4;
    --accent-coral: #FF9678;
    --accent-purple: #64468C;
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-muted: #8B949E;
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(88, 166, 255, 0.15);
    --glow-blue: rgba(88, 166, 255, 0.4);
    --glow-teal: rgba(60, 180, 180, 0.3);
    /* Gold theme colors (used site-wide) */
    --gold: #C9A962;
    --gold-light: #E8D5A3;
    --gold-dark: #9A7B3E;
    --silver: #B8C0C8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img, svg {
    display: block;
    max-width: 100%;
}

/* =============================================
   Ambient Background
   ============================================= */

.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Content Container */
.content {
    position: relative;
    z-index: 2;
}

/* =============================================
   Navigation
   ============================================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(13, 17, 23, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-separator {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin: 0 0.25rem;
}

.logo.logo-app {
    font-size: 1.1rem !important;
    font-weight: 500;
    opacity: 0.9;
}

.logo-app .logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--accent-blue);
    color: var(--bg-primary) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--text-primary) !important;
    transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* =============================================
   Breadcrumb
   ============================================= */

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6.5rem 2rem 0.5rem;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.breadcrumb-nav .separator {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.breadcrumb-nav .current {
    color: var(--text-secondary);
}

.breadcrumb-nav .app-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
}

.breadcrumb-nav .app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =============================================
   Buttons
   ============================================= */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-blue);
    color: var(--bg-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-blue);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-blue);
}

.app-store-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.app-store-badge img {
    display: block;
}

/* =============================================
   Hero Visual
   ============================================= */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.1),
        0 25px 60px rgba(0,0,0,0.5),
        0 0 100px var(--glow-blue);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating elements around phone */
.floating-element {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: floatElement 4s ease-in-out infinite;
}

.floating-element svg {
    width: 18px;
    height: 18px;
}

.float-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 25%;
    left: -40px;
    animation-delay: -1.5s;
}

.float-3 {
    bottom: 10%;
    right: -20px;
    animation-delay: -3s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =============================================
   Section Styles
   ============================================= */

section {
    padding: 6rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   Apps Grid
   ============================================= */

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.app-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 166, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.app-card-featured {
    border-color: rgba(88, 166, 255, 0.3);
}

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.app-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.app-status-live {
    background: rgba(60, 180, 180, 0.15);
    color: var(--accent-teal);
}

.app-status-soon {
    background: rgba(255, 150, 120, 0.15);
    color: var(--accent-coral);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.app-status-live .status-dot {
    animation: pulse 2s ease-in-out infinite;
}

.app-category {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.app-tagline {
    font-size: 1rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.app-card-footer {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-card-primary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-card-primary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-blue);
}

.btn-card-appstore {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-card-appstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.btn-card-appstore svg {
    width: 16px;
    height: 16px;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================
   About Section
   ============================================= */

.about-section {
    background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.value-content h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.value-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Stats Card */
.stats-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =============================================
   Contact Section
   ============================================= */

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

.contact-link:hover {
    color: var(--accent-blue);
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: var(--bg-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 166, 255, 0.3);
}

.contact-email-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* =============================================
   Footer
   ============================================= */

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top,
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-more-apps {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-more-apps span {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.footer-more-apps a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.footer-more-apps a:hover {
    color: var(--accent-blue);
    background: rgba(88, 166, 255, 0.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =============================================
   Scroll Animations
   ============================================= */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Responsive Design
   ============================================= */

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: 2rem;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .floating-element {
        display: none;
    }

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

    .about-content h2 {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-values {
        align-items: center;
    }

    .value-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-top,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
    }

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

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

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

    .footer-top,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .app-card {
        padding: 1.5rem;
    }

    .app-card-footer {
        flex-direction: column;
    }

    .btn-card {
        width: 100%;
        justify-content: center;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .stats-card {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* =============================================
   Blog Styles
   ============================================= */

/* Blog Listing Page - Applestan Gold Theme (matching homepage) */
:root {
    --blog-gold: #C9A962;
    --blog-gold-light: #E8D5A3;
    --blog-gold-dark: #9A7B3E;
    --blog-silver: #B8C0C8;
}

/* Blog Hero */
.blog-hero {
    padding: 8rem 2rem 3rem;
}

.blog-hero .section-header {
    margin-bottom: 2rem;
}

.blog-hero .section-label {
    color: var(--blog-gold);
    letter-spacing: 3px;
}

/* Blog Breadcrumb */
.blog-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: var(--blog-gold);
}

.blog-breadcrumb .separator {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.blog-breadcrumb .current {
    color: var(--text-secondary);
}

/* Blog Tags Filter */
.blog-tags-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Tag Pills - Applestan Gold */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 169, 98, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tag-pill:hover {
    background: rgba(201, 169, 98, 0.15);
    border-color: rgba(201, 169, 98, 0.4);
    color: var(--blog-gold);
}

.tag-pill-active {
    background: linear-gradient(135deg, var(--blog-gold-light), var(--blog-gold), var(--blog-gold-dark));
    border-color: var(--blog-gold);
    color: var(--bg-primary);
}

.tag-pill-active:hover {
    background: linear-gradient(135deg, var(--blog-gold), var(--blog-gold-light), var(--blog-gold));
    color: var(--bg-primary);
}

.tag-pill-small {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--blog-gold);
    font-weight: 500;
}

/* Blog Listing */
.blog-listing {
    padding: 2rem 2rem 6rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Card - Applestan Gold Theme */
.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blog-gold), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 98, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.blog-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(22, 27, 34, 0.9));
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-card-meta time {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card-meta time::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--blog-gold);
    border-radius: 50%;
}

.blog-card-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--blog-gold);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-card-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.blog-card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link {
    color: var(--blog-gold);
}

.blog-card:hover .blog-card-link::after {
    transform: translateX(4px);
}

/* Blog Empty State */
.blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* Tags Overview Page - Applestan Gold */
.tags-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.tag-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
    text-align: center;
}

.tag-card:hover {
    border-color: rgba(201, 169, 98, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.tag-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.tag-card:hover .tag-name {
    color: var(--blog-gold);
}

.tag-count {
    font-size: 0.8rem;
    color: var(--blog-gold);
    font-weight: 500;
}

/* =============================================
   Blog Post Page - Negink Copper/Amber Theme
   ============================================= */

.blog-post {
    /* Negink color palette for blog post content */
    --nk-copper: #B87333;
    --nk-copper-light: #D4915A;
    --nk-copper-dark: #8B5A2B;
    --nk-amber: #E8B84A;
    --nk-gold: #C9A962;

    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 2rem 4rem;
}

.blog-post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-post-header .blog-breadcrumb {
    margin-bottom: 2rem;
    justify-content: center;
}

.blog-post-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, #D4915A 50%, #E8B84A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-post-meta time {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-separator {
    color: rgba(184, 115, 51, 0.5);
    font-size: 1.2rem;
}

.blog-post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* =============================================
   Prose Content (Markdown) - Enhanced
   ============================================= */

.prose {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Headings with accent bar */
.prose h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 3.5rem 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(184, 115, 51, 0.3);
    position: relative;
}

.prose h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #B87333, #E8B84A);
}

.prose h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prose h3::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, #B87333, #E8B84A);
    border-radius: 2px;
}

.prose h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #D4915A;
    margin: 2rem 0 0.75rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose a {
    color: #D4915A;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 145, 90, 0.3);
    transition: all 0.3s ease;
}

.prose a:hover {
    color: #E8B84A;
    border-bottom-color: #E8B84A;
}

/* Enhanced Lists */
.prose ul,
.prose ol {
    margin: 1.75rem 0;
    padding-left: 0;
    list-style: none;
}

.prose ul li,
.prose ol li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #B87333, #E8B84A);
    border-radius: 2px;
    transform: rotate(45deg);
}

.prose ol {
    counter-reset: list-counter;
}

.prose ol li {
    counter-increment: list-counter;
}

.prose ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.2), rgba(232, 184, 74, 0.1));
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    color: #D4915A;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nested lists */
.prose ul ul,
.prose ol ul,
.prose ul ol,
.prose ol ol {
    margin: 0.5rem 0 0.5rem 1rem;
}

.prose ul ul li::before,
.prose ol ul li::before {
    width: 6px;
    height: 6px;
    background: #B87333;
    border-radius: 50%;
    transform: none;
}

/* Blockquotes */
.prose blockquote {
    border-left: 4px solid #B87333;
    background: linear-gradient(90deg, rgba(184, 115, 51, 0.08), transparent);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

/* Code */
.prose code {
    background: rgba(184, 115, 51, 0.1);
    border: 1px solid rgba(184, 115, 51, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.88em;
    font-family: 'SF Mono', Monaco, Menlo, Consolas, monospace;
    color: #D4915A;
}

.prose pre {
    background: linear-gradient(135deg, #161B22, #0D1117);
    border: 1px solid rgba(184, 115, 51, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.prose pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Images */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2.5rem 0;
    border: 1px solid rgba(184, 115, 51, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Blog Phone Screenshot (device-framed image) */
.blog-phone-screenshot {
    text-align: center;
    margin: 2.5rem 0;
}

.blog-phone-screenshot a {
    display: inline-block;
    max-width: 300px;
    width: 100%;
    transition: transform 0.2s ease;
}

.blog-phone-screenshot a:hover {
    transform: scale(1.03);
}

.blog-phone-screenshot img {
    width: 100%;
    height: auto;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* Blog App Store CTA */
.blog-app-cta {
    text-align: center;
    margin: 2rem 0;
}

.blog-app-cta a {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.blog-app-cta a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.blog-app-cta img {
    height: 54px;
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Horizontal Rule */
.prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.4), transparent);
    margin: 3.5rem 0;
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* =============================================
   Tables - Styled
   ============================================= */

.prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(184, 115, 51, 0.25);
    background: rgba(22, 27, 34, 0.6);
}

.prose thead {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.2), rgba(232, 184, 74, 0.1));
}

.prose th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #D4915A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(184, 115, 51, 0.3);
}

.prose td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(184, 115, 51, 0.1);
    font-size: 0.95rem;
    vertical-align: top;
}

.prose tbody tr {
    transition: all 0.3s ease;
}

.prose tbody tr:hover {
    background: rgba(184, 115, 51, 0.08);
}

.prose tbody tr:last-child td {
    border-bottom: none;
}

/* Alternating row colors */
.prose tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.15);
}

.prose tbody tr:nth-child(even):hover {
    background: rgba(184, 115, 51, 0.1);
}

/* Table responsive wrapper */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 16px;
}

/* =============================================
   Special Content Blocks
   ============================================= */

/* CTA Box */
.prose .cta-box,
.prose p:has(a[href*="apps.apple.com"]):last-of-type {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.15), rgba(232, 184, 74, 0.08));
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.prose .cta-box a,
.prose p:has(a[href*="apps.apple.com"]):last-of-type a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #B87333, #8B5A2B);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 115, 51, 0.3);
}

.prose .cta-box a:hover,
.prose p:has(a[href*="apps.apple.com"]):last-of-type a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.4);
}

/* Tip/Note Boxes (for **Pros:**/**Cons:**/etc.) */
.prose p strong:first-child:only-child,
.prose p > strong:first-child {
    color: #D4915A;
}

/* FAQ Section styling */
.prose h3:has(+ p) {
    cursor: default;
}

/* Section dividers with icons */
.prose h2 + p:first-of-type {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Blog Post Footer */
.blog-post-footer {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(184, 115, 51, 0.2);
    text-align: center;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #B87333;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(184, 115, 51, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: rgba(184, 115, 51, 0.1);
    border-color: #B87333;
    color: #D4915A;
}

/* More Posts Section */
.blog-more-posts {
    background: linear-gradient(180deg, rgba(184, 115, 51, 0.03), transparent);
    padding: 5rem 2rem;
}

.blog-more-posts h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

/* =============================================
   Featured Image Header
   ============================================= */

.blog-post-featured-image {
    margin: -2rem -2rem 3rem -2rem;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    position: relative;
}

.blog-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-featured-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, var(--bg-primary));
}

/* =============================================
   Blog Responsive
   ============================================= */

@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 1.5rem 2rem;
    }

    .blog-listing {
        padding: 1.5rem 1.5rem 4rem;
    }

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

    .blog-post {
        padding: 6rem 1.5rem 3rem;
    }

    .blog-post-header h1 {
        font-size: 1.75rem;
    }

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

    .prose table {
        font-size: 0.85rem;
    }

    .prose th,
    .prose td {
        padding: 0.75rem;
    }

    .prose h2 {
        font-size: 1.5rem;
    }

    .prose h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .blog-tags-filter {
        justify-content: flex-start;
    }

    .tags-overview {
        grid-template-columns: 1fr;
    }

    .prose table {
        display: block;
        overflow-x: auto;
    }
}

/* =============================================
   Homepage Footer
   ============================================= */

.footer-home {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
}

.footer-home-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-home-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-home-links {
    display: flex;
    gap: 2rem;
}

.footer-home-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-home-links a:hover {
    color: var(--gold);
}

.footer-home-right {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 968px) {
    .footer-home-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-home-left {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =============================================
   Cookie Consent Banner (EU GDPR/ePrivacy)
   ============================================= */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
}

.cookie-consent-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-consent-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.cookie-consent-text p:first-child {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.cookie-consent-text p:last-child {
    margin-bottom: 0;
}

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

.cookie-consent-text a:hover {
    color: var(--gold-light);
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

/* Equal prominence for both buttons (EU compliance) */
.cookie-btn-accept {
    background: var(--gold);
    color: var(--bg-primary);
    border: 1px solid var(--gold);
}

.cookie-btn-accept:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.cookie-btn-decline {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie settings link in footer */
.cookie-settings-link {
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.cookie-settings-link:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem;
    }

    .cookie-consent-text p {
        font-size: 0.8rem;
    }

    .cookie-consent-text p:first-child {
        font-size: 0.9rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}
