/* Custom styles */
:root {
    /* Theme colors - these can be overridden dynamically */
    --primary-color: #2563eb;
    --primary-hover: color-mix(in srgb, var(--primary-color) 84%, black);
    --secondary-color: #6b7280;
    --accent-color: #10b981;
    --primary-rgb: 37, 99, 235;

    /* Text colors */
    --text-dark: #0a0a0a;
    --text-primary: #1a1a1a;
    --text-muted: #525252;
    --text-light: #737373;
    --text-secondary: var(--text-muted);

    /* Background colors */
    --bg-page: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --bg-primary: var(--bg-page);
    --bg-secondary: var(--bg-light);
    --surface-elevated: color-mix(in srgb, var(--bg-page) 92%, transparent);

    /* Border and shadow */
    --border-color: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Special colors */
    --star-color: #facc15;

    /* Font families */
    --font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
    --font-family-serif: Georgia, "Times New Roman", Times, serif;
    --font-family-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;
    --font-family: var(--font-family-system);

    /* Spacing scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 5rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --border-radius-sm: var(--radius-sm);
    --border-radius-lg: var(--radius-lg);
    --section-padding-y: var(--spacing-3xl);
    --section-padding: var(--section-padding-y) 0;
}

/* Dark mode via class */
body[data-site-classes~="dark-mode"] {
    --text-dark: #fafafa;
    --text-primary: #e5e5e5;
    --text-muted: #a1a1aa;
    --text-light: #71717a;
    --bg-page: #0a0a0a;
    --bg-light: #18181b;
    --bg-card: #27272a;
    --surface-elevated: rgba(10, 10, 10, 0.92);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body[data-site-classes~="dark-mode"] .site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark mode via system preference (auto) */
@media (prefers-color-scheme: dark) {
    body:not([data-site-classes~="light-mode"]):not([data-site-classes~="dark-mode"]) {
        --text-dark: #fafafa;
        --text-primary: #e5e5e5;
        --text-muted: #a1a1aa;
        --text-light: #71717a;
        --bg-page: #0a0a0a;
        --bg-light: #18181b;
        --bg-card: #27272a;
        --surface-elevated: rgba(10, 10, 10, 0.92);
        --border-color: rgba(255, 255, 255, 0.1);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    }

    body:not([data-site-classes~="light-mode"]):not([data-site-classes~="dark-mode"]) .site-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Spacing density variations */
body[data-site-classes~="density-compact"] {
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 3.5rem;
}

body[data-site-classes~="density-spacious"] {
    --spacing-md: 1.25rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
}

/* Font family variations */
body[data-site-classes~="font-serif"] {
    --font-family: var(--font-family-serif);
}

body[data-site-classes~="font-mono"] {
    --font-family: var(--font-family-mono);
}

/* Base Styles */
html {
    background-color: var(--bg-page);
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

.site-main {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* Header */
.site-header {
    background: var(--surface-elevated);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md) 0;
    --bs-navbar-color: var(--text-muted);
    --bs-navbar-hover-color: var(--text-dark);
    --bs-navbar-active-color: var(--text-dark);
    --bs-navbar-brand-color: var(--text-dark);
    --bs-navbar-brand-hover-color: var(--text-dark);
    --bs-navbar-disabled-color: var(--text-light);
    --bs-navbar-toggler-border-color: var(--border-color);
    --bs-navbar-toggler-focus-width: 0;
}

.site-header .container {
    align-items: center;
    gap: var(--spacing-sm) var(--spacing-lg);
}

.site-header .navbar-brand {
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.brand-link:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.site-logo {
    height: 3rem;
    width: 3rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    object-fit: cover;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.site-header .navbar-collapse {
    align-items: center;
}

.site-header .navbar-nav {
    align-items: flex-start;
    gap: var(--spacing-xs);
}

.site-header .nav-link,
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

.site-header .nav-link:hover,
.nav-link:hover {
    color: var(--text-dark);
    text-decoration: none;
}

.site-header .nav-link.active {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.site-header .navbar-toggler {
    padding: 0.4rem 0.55rem;
    border-radius: var(--radius-sm);
}

.site-header .navbar-toggler:focus {
    box-shadow: none;
}

.site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810,10,10,0.82%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.875rem 2rem;
    border-radius: 0.625rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

.nav-cta-button {
    padding: 0.625rem 1rem;
    border-radius: 999px;
    box-shadow: none;
}

.nav-cta-button:hover {
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.cta-button-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-page) 100%);
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 7rem 0 5rem;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-cta {
    margin-bottom: 2.5rem;
}

.hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: var(--star-color);
    font-size: 1.25rem;
}

.rating-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.rating-count {
    color: var(--text-light);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

/* Screenshots Section */
.screenshots-section {
    padding: 5rem 0;
    background: var(--bg-page);
}

.screenshots-label {
    text-align: center;
    margin-bottom: 1.5rem;
}

.screenshots-container {
    margin-bottom: 2rem;
}

.screenshots-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
    height: 8px;
}

.screenshots-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.screenshot-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.screenshot-image {
    width: 280px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.screenshots-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Highlights Section */
.highlights-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.highlight-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.highlight-title {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.highlight-description {
    color: var(--text-muted);
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--bg-page);
}

.feature-category {
    margin-bottom: 4rem;
}

.feature-category:last-child {
    margin-bottom: 0;
}

.category-title {
    text-align: center;
    margin-bottom: 0.75rem;
}

.category-description {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

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

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-icon-image {
    font-size: 1.5rem;
    color: #fff;
}

.feature-title {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-muted);
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonials-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 320px;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Download Section */
.download-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    text-align: center;
}

.download-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.download-description {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.download-section .cta-button {
    background: var(--bg-page);
    color: var(--primary-color) !important;
}

.download-section .cta-button:hover {
    background: var(--bg-light);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-page);
}

.faq-accordion {
    --bs-accordion-bg: var(--bg-card);
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-border-radius: var(--radius-lg);
    --bs-accordion-btn-bg: var(--bg-card);
    --bs-accordion-btn-color: var(--text-dark);
    --bs-accordion-active-bg: color-mix(in srgb, var(--bg-light) 76%, var(--bg-card));
    --bs-accordion-active-color: var(--text-dark);
    --bs-accordion-btn-focus-border-color: rgba(var(--primary-rgb), 0.45);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion .accordion-item {
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-item + .accordion-item {
    margin-top: 1rem;
}

.faq-accordion .accordion-button {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    box-shadow: inset 0 -1px 0 var(--border-color);
}

.faq-accordion .accordion-body {
    color: var(--text-primary);
    padding: 0 1.5rem 1.25rem;
}

/* Footer */
.site-footer {
    background: color-mix(in srgb, var(--bg-light) 92%, var(--bg-page));
    color: var(--text-primary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

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

.footer-copyright p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .site-header .navbar-collapse {
        padding-top: var(--spacing-md);
    }

    .site-header .navbar-nav {
        width: 100%;
    }

    .site-header .nav-link::after {
        display: none;
    }

    .site-header .nav-cta-button {
        margin-top: var(--spacing-xs);
    }

    .screenshot-image {
        width: 240px;
    }

    .testimonial-card {
        width: 280px;
    }
}

@media (min-width: 768px) {
    .site-header .navbar-nav {
        align-items: center;
        gap: 1.25rem;
    }

    .site-header .navbar-collapse {
        justify-content: flex-end;
    }
}

/* ============================================
   Section Layout Variants
   ============================================ */

/* Hero Layout Variants */
.hero-centered {
    text-align: center;
}

.hero-centered .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-left {
    text-align: left;
}

.hero-left .hero-content {
    max-width: 700px;
    margin: 0;
}

.hero-left .hero-cta {
    justify-content: flex-start;
}

.hero-left .hero-rating {
    justify-content: flex-start;
}

.hero-split {
    text-align: left;
}

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

.hero-split .hero-text {
    order: 1;
}

.hero-split .hero-image {
    order: 2;
}

@media (max-width: 767px) {
    .hero-split .hero-content {
        grid-template-columns: 1fr;
    }
}

/* Features Layout Variants */
.features-grid-layout .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.features-list-layout .features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.features-list-layout .feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    padding: 1.5rem;
}

.features-list-layout .feature-icon {
    margin: 0;
    flex-shrink: 0;
}

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

.features-cards-layout .feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.features-cards-layout .feature-card:hover {
    box-shadow: var(--shadow-lg);
}

/* Screenshots Layout Variants */
.screenshots-carousel .screenshots-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

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

.screenshots-grid .screenshot-card {
    flex: none;
}

.screenshots-mockup .screenshots-scroll {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
}

.screenshots-mockup .screenshot-card {
    position: relative;
    flex: 0 0 auto;
}

.screenshots-mockup .screenshot-image {
    border: 8px solid #1a1a1a;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Testimonials Layout Variants */
.testimonials-carousel .testimonials-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

.testimonials-grid .testimonials-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    overflow-x: visible;
}

.testimonials-grid .testimonial-card {
    flex: none;
    width: auto;
}

.testimonials-quotes .testimonials-scroll {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: visible;
}

.testimonials-quotes .testimonial-card {
    flex: none;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.testimonials-quotes .testimonial-card:last-child {
    border-bottom: none;
}

.testimonials-quotes .testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.testimonials-quotes .testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.testimonials-quotes .testimonial-author {
    font-size: 1.125rem;
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-tier {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-tier:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-tier-highlighted {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-tier-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-tier-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-cta {
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.feature-included {
    color: #10b981;
    font-weight: 600;
}

.feature-excluded {
    color: #ef4444;
    font-weight: 600;
}

/* ==========================================
   TEAM SECTION
   ========================================== */

.team-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-secondary);
}

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

.team-member {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--border-color);
}

.team-member-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-secondary);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-member-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: background 0.2s ease, color 0.2s ease;
}

.team-social-link:hover {
    background: var(--primary-color);
    color: white;
}

.team-twitter::before {
    content: "𝕏";
    font-weight: 700;
}

.team-linkedin::before {
    content: "in";
    font-weight: 700;
}

/* ==========================================
   VIDEO SECTION
   ========================================== */

.video-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
}

.video-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.video-embed {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-custom {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    color: var(--text-secondary);
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-section {
    padding: var(--section-padding-y) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.stats-section .section-header {
    color: white;
}

.stats-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.stat-icon {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */

.newsletter-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-secondary);
}

.newsletter-container {
    max-width: 600px;
    margin: 2rem auto 0;
}

.newsletter-form {
    width: 100%;
}

.newsletter-form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

.newsletter-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.newsletter-button:hover {
    background: color-mix(in srgb, var(--primary-color) 85%, black);
    transform: translateY(-2px);
}

.newsletter-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.newsletter-disabled {
    opacity: 0.6;
}

.newsletter-config-notice {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.newsletter-privacy {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==========================================
   CHANGELOG SECTION
   ========================================== */

.changelog-section {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
}

.changelog-entries {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.changelog-entry {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
}

.changelog-entry-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.changelog-version {
    font-weight: 700;
    color: var(--text-primary);
}

.changelog-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.changelog-summary {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.changelog-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.changelog-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.changelog-badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.changelog-badge-new {
    background: #dcfce7;
    color: #166534;
}

.changelog-badge-improved {
    background: #dbeafe;
    color: #1e40af;
}

.changelog-badge-fixed {
    background: #fef3c7;
    color: #92400e;
}

.changelog-badge-removed {
    background: #fee2e2;
    color: #991b1b;
}

.changelog-item-text {
    color: var(--text-primary);
    line-height: 1.5;
}

/* Dark mode adjustments for changelog badges */
@media (prefers-color-scheme: dark) {
    .changelog-badge-new {
        background: rgba(16, 185, 129, 0.2);
        color: #6ee7b7;
    }

    .changelog-badge-improved {
        background: rgba(59, 130, 246, 0.2);
        color: #93c5fd;
    }

    .changelog-badge-fixed {
        background: rgba(245, 158, 11, 0.2);
        color: #fcd34d;
    }

    .changelog-badge-removed {
        background: rgba(239, 68, 68, 0.2);
        color: #fca5a5;
    }
}

/* ==========================================
   PRIVACY POLICY PAGE
   ========================================== */

.privacy-page {
    padding: var(--section-padding-y) 0;
    background: var(--bg-primary);
    min-height: 80vh;
}

.privacy-title {
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.privacy-content {
    max-width: 800px;
    line-height: 1.8;
    color: var(--text-primary);
}

.privacy-content h2,
.privacy-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.privacy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.footer-links {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
}

.footer-privacy-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-privacy-link:hover {
    color: var(--primary-color);
}

/* ==========================================
   BLOG
   ========================================== */

.blog-index-page {
    padding: var(--spacing-3xl) 0;
    min-height: 80vh;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-page) 100%);
}

.blog-index-header {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    align-items: start;
}

.blog-index-title {
    margin: 0;
    color: var(--text-dark);
}

.blog-index-description {
    margin: 0;
    max-width: 44rem;
    color: var(--text-muted);
}

.blog-feed-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-card) 88%, var(--bg-light));
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-feed-link:hover {
    color: var(--primary-color);
    border-color: color-mix(in srgb, var(--primary-color) 22%, var(--border-color));
    text-decoration: none;
    transform: translateY(-1px);
}

.blog-index-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.blog-card {
    display: grid;
    gap: var(--spacing-md);
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--bg-card) 0%, color-mix(in srgb, var(--bg-card) 70%, var(--bg-light)) 100%);
    box-shadow: var(--shadow-sm);
}

.blog-card-date {
    color: var(--text-light);
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.blog-card-title {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.25;
}

.blog-card-title:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-card-summary {
    margin: 0;
    color: var(--text-muted);
}

.blog-card-meta,
.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.blog-card-meta-item,
.blog-post-meta-item {
    color: inherit;
}

.blog-card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.blog-card-link:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.blog-empty-state {
    padding: var(--spacing-2xl);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    color: var(--text-muted);
    text-align: center;
}

.blog-post-page {
    padding: var(--spacing-3xl) 0;
    min-height: 80vh;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-light) 80%, var(--bg-page)) 0%, var(--bg-page) 100%);
}

.blog-article-page {
    max-width: 52rem;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-muted);
    text-decoration: none;
}

.blog-back-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-post-title {
    margin: 0;
    color: var(--text-dark);
}

.blog-post-summary {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.blog-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 10%, var(--bg-light));
    color: var(--primary-color);
    font-size: 0.875rem;
    line-height: 1;
}

.blog-article-body {
    margin-top: var(--spacing-xl);
    padding: clamp(1.5rem, 2vw, 2rem);
    border: 1px solid var(--border-color);
    border-radius: calc(var(--radius-lg) + 0.25rem);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.blog-article-body > :first-child {
    margin-top: 0;
}

.blog-article-body > :last-child {
    margin-bottom: 0;
}

.blog-article-body h2,
.blog-article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-article-body p,
.blog-article-body li {
    color: var(--text-primary);
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body pre,
.blog-article-body blockquote,
.blog-article-body img {
    margin-bottom: 1.25rem;
}

.blog-article-body ul,
.blog-article-body ol {
    padding-left: 1.5rem;
}

.blog-article-body a {
    color: var(--primary-color);
}

.blog-article-body a:hover {
    color: var(--primary-hover);
}

.blog-article-body blockquote {
    margin-left: 0;
    padding: 0.25rem 0 0.25rem 1rem;
    border-left: 3px solid color-mix(in srgb, var(--primary-color) 45%, var(--border-color));
    color: var(--text-muted);
    background: color-mix(in srgb, var(--bg-light) 80%, transparent);
}

.blog-article-body code {
    padding: 0.15rem 0.35rem;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--bg-light) 88%, var(--bg-card));
    font-family: var(--font-family-mono);
    font-size: 0.9375em;
}

.blog-article-body pre {
    overflow-x: auto;
    padding: 1rem 1.125rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg-light) 78%, var(--bg-card));
}

.blog-article-body pre code {
    padding: 0;
    background: transparent;
}

.blog-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .blog-index-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--spacing-lg);
    }
}

@media (min-width: 900px) {
    .blog-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-index-page,
    .blog-post-page {
        padding: var(--spacing-2xl) 0;
    }

    .blog-article-body {
        padding: 1.25rem;
    }
}

/* =========================================
   App Icon Styles
   ========================================= */

/* Header App Icon */
.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

/* Footer App Icon */
.footer-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1rem;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

/* Hero App Icon */
.hero-app-icon {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .app-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .footer-app-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .hero-app-icon {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }
}

/* =========================================
   Social Links Styles
   ========================================= */

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.25rem;
}

body[data-site-classes~="dark-mode"] .social-link {
    background: rgba(255, 255, 255, 0.1);
}

body[data-site-classes~="dark-mode"] .social-link:hover {
    background: var(--primary-color);
}

/* =========================================
   Store Badges Styles
   ========================================= */

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.store-badge-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.store-badge {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

@media (max-width: 768px) {
    .store-badges {
        flex-direction: column;
        align-items: center;
    }

    .store-badge {
        height: 45px;
    }
}

/* =========================================
   Contact Form Styles
   ========================================= */

.contact-form-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form .form-control {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    outline: none;
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

body[data-site-classes~="dark-mode"] .contact-form {
    background: rgba(255, 255, 255, 0.05);
}

body[data-site-classes~="dark-mode"] .contact-form .form-control {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   Custom HTML Section Styles
   ========================================= */

.custom-html-section {
    padding: var(--section-padding);
}

.custom-html-content {
    margin-top: var(--spacing-lg);
}

/* =========================================
   Press Kit Styles
   ========================================= */

.presskit-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.presskit-cards {
    margin-top: var(--spacing-xl);
}

.presskit-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    height: 100%;
}

.presskit-app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
}

.presskit-metadata {
    margin-top: 1rem;
}

.presskit-meta-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.presskit-meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.presskit-contact {
    margin-top: 1rem;
}

.presskit-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.presskit-notes {
    margin-top: var(--spacing-xl);
    color: var(--text-secondary);
    line-height: 1.6;
}

.presskit-notes h2,
.presskit-notes h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.presskit-notes p,
.presskit-notes li {
    color: var(--text-secondary);
}

.presskit-notes ul {
    margin-left: 1.25rem;
}

.presskit-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.presskit-screenshot-link {
    display: block;
}

.presskit-screenshot {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.presskit-download {
    margin-top: var(--spacing-xl);
}

body[data-site-classes~="dark-mode"] .presskit-card {
    background: rgba(255, 255, 255, 0.05);
}
