/* PM4Subs Design System - Tailwind Compatible */
/* This file provides custom component classes that work with Tailwind CSS */

/* ========================================
   Accessibility / SEO Utilities
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Brand Fonts
   ======================================== */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Inter:wght@400;500;600&display=swap");

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    /* Primary Colors */
    --color-primary: 26 90 142; /* Slate blue */
    --color-primary-light: 56 189 248; /* Sky-400 */
    --color-primary-dark: 14 165 233; /* Sky-500 */

    /* Background Colors */
    --color-bg: 241 245 249; /* Slate-100 */
    --color-surface: 255 255 255; /* White */
    --color-surface-hover: 248 250 252; /* Slate-50 */

    /* Border Colors */
    --color-border: 226 232 240; /* Slate-200 */
    --color-border-hover: 203 213 225; /* Slate-300 */

    /* Text Colors */
    --color-text: 15 23 42; /* Slate-900 */
    --color-text-muted: 100 116 139; /* Slate-500 */
    --color-text-light: 148 163 184; /* Slate-400 */

    /* Accent/Status Colors */
    --color-accent: 56 189 248; /* Sky-400 */
    --color-success: 34 197 94; /* Green-500 */
    --color-warning: 234 179 8; /* Yellow-500 */
    --color-danger: 239 68 68; /* Red-500 */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md:
        0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:
        0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dark Mode Variables */
.dark,
[data-theme="dark"] {
    --color-primary: 56 189 248; /* Sky-400 */
    --color-primary-light: 125 211 252; /* Sky-300 */
    --color-primary-dark: 14 165 233; /* Sky-500 */

    --color-bg: 15 23 42; /* Slate-900 */
    --color-surface: 17 24 39; /* Gray-900 */
    --color-surface-hover: 30 41 59; /* Slate-800 */

    --color-border: 30 41 59; /* Slate-800 */
    --color-border-hover: 51 65 85; /* Slate-700 */

    --color-text: 229 231 235; /* Gray-200 */
    --color-text-muted: 148 163 184; /* Slate-400 */
    --color-text-light: 100 116 139; /* Slate-500 */

    --color-accent: 56 189 248; /* Sky-400 */

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md:
        0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl:
        0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

/* ========================================
   Base Styles
   ======================================== */
body {
    background-color: rgb(var(--color-bg));
    color: rgb(var(--color-text));
}

/* ========================================
   Button Components
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid rgb(var(--color-accent));
    outline-offset: 2px;
}

.btn-primary {
    background-color: rgb(var(--color-accent));
    color: rgb(15 23 42);
    border-color: rgb(var(--color-accent));
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: rgb(var(--color-primary-dark));
    border-color: rgb(var(--color-primary-dark));
}

.btn-secondary {
    background-color: transparent;
    color: rgb(var(--color-text));
    border-color: rgb(var(--color-border));
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: rgb(var(--color-accent));
    color: rgb(var(--color-accent));
}

.btn-ghost {
    background-color: transparent;
    color: rgb(var(--color-text-muted));
    border-color: transparent;
}

.btn-ghost:hover {
    background-color: rgb(var(--color-surface-hover));
    color: rgb(var(--color-text));
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Utility: Full Width */
.w-full {
    width: 100%;
}

/* Form Note */
.form-note {
    text-align: center;
    color: rgb(var(--color-text-muted));
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ========================================
   Card Components
   ======================================== */
.card {
    background-color: rgb(var(--color-surface));
    border: 1px solid rgb(var(--color-border));
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgb(var(--color-border));
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(var(--color-text));
}

.card-body {
    color: rgb(var(--color-text-muted));
    line-height: 1.7;
}

/* Feature Card - Dark Chat Bubble Style */
.feature-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}

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

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.feature-card .card-title {
    font-size: 18px;
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card .card-title a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-card .card-title a:hover {
    color: #fb923c;
}

.feature-card .card-body {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.7;
}

/* Scroll reveal for feature cards */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.revealed {
    animation: revealCard 0.5s ease forwards;
}

/* Pain Card - Chat Bubble Style (Frustrated Text Messages) */
.pain-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.pain-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
}

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

.pain-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pain-card-sender {
    font-size: 11px;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.pain-card-time {
    font-size: 11px;
    color: #475569;
}

.pain-card-body {
    padding: 18px;
}

.pain-card .card-title {
    font-size: 15px;
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pain-card .card-body {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Scroll reveal animation for pain cards */
.pain-card {
    opacity: 0;
    transform: translateY(20px);
}

.pain-card.revealed {
    animation: revealCard 0.5s ease forwards;
}

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

/* ========================================
   Dashboard Tile (for product pages)
   ======================================== */
.dashboard-tile {
    background-color: rgb(var(--color-surface));
    border: 1px solid rgb(var(--color-border));
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.dashboard-tile:hover {
    border-color: rgb(var(--color-accent) / 0.5);
    box-shadow: var(--shadow-md);
}

.dashboard-tile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.dashboard-tile-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(var(--color-text-muted));
}

.dashboard-tile-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--color-text));
}

/* ========================================
   Chip/Badge Components
   ======================================== */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background-color: rgb(var(--color-surface-hover));
    color: rgb(var(--color-text-muted));
}

.chip-primary {
    background-color: rgb(var(--color-accent) / 0.15);
    color: rgb(var(--color-accent));
}

.chip-success {
    background-color: rgb(var(--color-success) / 0.15);
    color: rgb(var(--color-success));
}

.chip-warning {
    background-color: rgb(var(--color-warning) / 0.15);
    color: rgb(var(--color-warning));
}

.chip-danger {
    background-color: rgb(var(--color-danger) / 0.15);
    color: rgb(var(--color-danger));
}

/* ========================================
   Navigation Components
   ======================================== */
.nav {
    background-color: rgb(var(--color-surface));
    border-bottom: 1px solid rgb(var(--color-border));
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-logo .pm,
.nav-logo .subs {
    color: #9ca3af;
}

.nav-logo .four {
    color: #3b82f6;
}

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

.nav-link {
    color: rgb(var(--color-text-muted));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: rgb(var(--color-text));
}

/* ========================================
   Form Components
   ======================================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    color: rgb(var(--color-text-muted));
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgb(var(--color-border));
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: rgb(var(--color-bg));
    color: rgb(var(--color-text));
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: rgb(var(--color-text-light));
}

.form-input:focus {
    outline: none;
    border-color: rgb(var(--color-accent));
    box-shadow: 0 0 0 3px rgb(var(--color-accent) / 0.1);
}

/* ========================================
   Section Components - Dark Theme
   ======================================== */
.section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-alt {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.5) 0%,
        rgba(12, 18, 32, 0.8) 100%
    );
}

.section-title {
    text-align: center;
    font-family: "Syne", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f1f5f9;
    letter-spacing: -0.5px;
}

.section-title .highlight {
    color: #f97316;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Dark full-width section wrapper */
.section-dark {
    background: #0c1220;
}

.section-darker {
    background: #080d16;
}

/* ========================================
   Hero Section (New Animated Design)
   ======================================== */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px 100px;
    align-items: center;
    background-color: #0c1220;
}

.hero-text .eyebrow {
    font-family: "Syne", sans-serif;
    font-size: 11px;
    color: #f97316;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-text .eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: #f97316;
}

.hero-title {
    font-family: "Syne", sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #e2e8f0;
}

.hero-title .highlight {
    color: #f97316;
}

.hero-subtitle {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-subtitle strong {
    color: #e2e8f0;
}

.hero .cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 48px;
}

.hero .btn-primary {
    background: #f97316;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
}

.hero .btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.hero .btn-secondary {
    color: #64748b;
    padding: 16px 20px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    background: transparent;
    border: none;
}

.hero .btn-secondary:hover {
    color: #fff;
}

.hero .credential {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero .credential-icon {
    width: 40px;
    height: 40px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero .credential-text {
    font-size: 13px;
    color: #64748b;
}

.hero .credential-text strong {
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}

/* Message Stack Animation */
.hero-visual {
    position: relative;
}

.message-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.message {
    background: #1e293b;
    border-radius: 12px;
    padding: 14px 18px;
    max-width: 300px;
    opacity: 0;
    animation: messageIn 0.5s ease forwards;
}

.message:nth-child(1) {
    animation-delay: 0.2s;
}
.message:nth-child(2) {
    animation-delay: 0.5s;
    margin-left: 30px;
}
.message:nth-child(3) {
    animation-delay: 0.8s;
}
.message:nth-child(4) {
    animation-delay: 1.1s;
    margin-left: 40px;
}
.message:nth-child(5) {
    animation-delay: 1.4s;
}

.message .sender {
    font-size: 10px;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message .text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.4;
}

.message.estimator,
.message.solution {
    background: linear-gradient(135deg, #2563a8 0%, #1e5a99 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message.solution {
    max-width: 360px;
    margin-left: 0;
}

.message.estimator .sender,
.message.solution .sender {
    color: rgba(255, 255, 255, 0.7);
}

.message.estimator .text,
.message.solution .text {
    color: #fff;
    font-weight: 500;
}

.driving-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-left: 20px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.15);
    max-width: fit-content;
    opacity: 0;
    animation: messageIn 0.5s ease forwards;
    animation-delay: 1.8s;
}

.driving-note .icon {
    font-size: 14px;
}

.driving-note .text {
    font-size: 12px;
    color: #f87171;
}

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

/* Hero Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 48px 24px 64px;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .message-stack {
        padding: 0;
    }

    .hero .cta-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   CTA Section - Dark with Orange Accent
   ======================================== */
.cta-section {
    padding: 6rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #0c1220 0%, #0a0f1a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(249, 115, 22, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-title {
    font-family: "Syne", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f1f5f9;
    position: relative;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-section .btn-primary {
    background: #f97316;
    color: #fff;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cta-section .btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.3);
}

/* ========================================
   FAQ Section - Chat Bubble Style
   ======================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.revealed {
    animation: revealCard 0.5s ease forwards;
}

.faq-item:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1);
}

.faq-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: 600;
}

.faq-item-sender {
    font-size: 12px;
    color: #f97316;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-item-body {
    padding: 20px;
}

.faq-question {
    color: #f1f5f9;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-answer {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 14px;
}

.faq-answer a {
    color: #f97316;
    text-decoration: none;
}

.faq-answer a:hover {
    color: #fb923c;
}

/* ========================================
   Grid Layouts
   ======================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Icon Styling
   ======================================== */
.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.icon-lg {
    font-size: 3rem;
}

/* ========================================
   Links
   ======================================== */
a {
    color: rgb(var(--color-accent));
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: rgb(var(--color-primary-dark));
}

/* ========================================
   Footer - Dark Theme
   ======================================== */
.footer {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    background: #080d16;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #f97316;
}

/* ========================================
   Hamburger Menu
   ======================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: rgb(var(--color-text));
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }
}

/* ========================================
   Side Panel
   ======================================== */
.side-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgb(var(--color-surface));
    border-left: 1px solid rgb(var(--color-border));
    z-index: 150;
    transition: right 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
}

.side-panel.open {
    right: 0;
}

.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 0.5);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-panel-overlay.show {
    opacity: 1;
    visibility: visible;
}

.side-panel-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-panel-nav a {
    color: rgb(var(--color-text));
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.side-panel-nav a:hover {
    background-color: rgb(var(--color-bg));
    color: rgb(var(--color-accent));
}

.nav-section-title {
    color: rgb(var(--color-text-muted));
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1rem 0.5rem;
    margin-top: 1rem;
}

.nav-section-title:first-child {
    margin-top: 0;
}

.side-panel-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(var(--color-border));
}

.side-panel-cta .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Modal
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: rgb(var(--color-surface));
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(var(--color-border));
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.75rem;
    color: rgb(var(--color-text-muted));
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    color: rgb(var(--color-text));
}

.modal-title {
    color: rgb(var(--color-text));
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ========================================
   Floating CTA - Orange Theme
   ======================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: floatIn 0.5s ease;
}

.floating-cta-button {
    padding: 14px 24px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.floating-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

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

/* Hide floating CTA when modal is open */
.modal-overlay.show ~ .floating-cta {
    display: none;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .floating-cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Quick Links Section - Dark Theme
   ======================================== */
.quick-links-section {
    padding: 3rem 1.5rem;
    background: #0a0f1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.quick-links-title {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.quick-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.quick-links a:hover {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.05);
}

/* ========================================
   Screenshots Section - Dark Theme
   ======================================== */
.screenshots {
    background: #080d16;
    padding: 5rem 0;
}

.screenshots-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
    align-items: start;
}

.mobile-column {
    position: sticky;
    top: 80px;
}

.desktop-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.screenshot-card {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.screenshot-card.revealed {
    animation: revealCard 0.5s ease forwards;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.15);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-column .screenshot-card img {
    max-height: 700px;
    object-fit: cover;
    object-position: top;
}

.screenshot-caption {
    padding: 1.25rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.screenshot-caption h4 {
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.screenshot-caption p {
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .screenshots-layout {
        grid-template-columns: 1fr;
    }

    .mobile-column {
        position: relative;
    }

    .mobile-column .screenshot-card img {
        max-height: 500px;
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1.125rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .floating-cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   Success Message
   ======================================== */
.success-message {
    display: none;
    background-color: rgb(var(--color-success));
    color: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    margin-top: 1.25rem;
}

/* ========================================
   Utility: Container
   ======================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Privacy Page Content
   ======================================== */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.privacy-content h1 {
    color: rgb(var(--color-accent));
    margin-bottom: 0.5rem;
}

.privacy-content h2 {
    color: rgb(var(--color-text));
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.privacy-content p {
    color: rgb(var(--color-text-muted));
    margin-bottom: 1rem;
    line-height: 1.7;
}

.privacy-content ul {
    color: rgb(var(--color-text-muted));
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.privacy-content strong {
    color: rgb(var(--color-text));
}

/* ========================================
   About Page List Styling
   ======================================== */
.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgb(var(--color-text-muted));
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: rgb(var(--color-accent));
    border-radius: 50%;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-muted {
    color: rgb(var(--color-text-muted));
}

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

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* ========================================
   Focus States for Accessibility
   ======================================== */
button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 2px solid rgb(var(--color-accent));
    outline-offset: 2px;
}

/* ========================================
   Smooth Scrolling
   ======================================== */
html {
    scroll-behavior: smooth;
}

/* ========================================
   Selection Styling
   ======================================== */
::selection {
    background-color: rgb(var(--color-accent));
    color: rgb(var(--color-bg));
}
