/* ================================
   UK Politics Simulator - Styles
   Westminster Theme
   ================================ */

/* CSS Custom Properties - Game Color Scheme */
:root {
    /* Primary Brand Colors */
    --color-header-bg: #344050;
    --color-header-text: #ffffff;
    --color-primary: #007aff;
    --color-dark: #2c3e50;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --color-info: #17a2b8;

    /* Background Colors */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #e9ecef;

    /* Westminster Accents */
    --color-westminster-green: #006843;
    --color-westminster-gold: #D4AF37;

    /* Text Colors */
    --color-text-primary: #2c3e50;
    --color-text-secondary: #6c757d;
    --color-text-light: #adb5bd;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

/* ================================
   Reset & Base Styles
   ================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    background: linear-gradient(135deg, var(--color-header-bg) 0%, var(--color-dark) 100%);
}

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

a {
    color: var(--color-westminster-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ================================
   Typography
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ================================
   Layout
   ================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ================================
   Header & Navigation
   ================================ */

header {
    background-color: var(--color-header-bg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    color: var(--color-header-text);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Arial', 'Helvetica', sans-serif;
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1rem;
        letter-spacing: 0.3px;
    }
}

/* Extra small screens - hide text, show logo only */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.875rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--color-header-text);
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

.nav-links a:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-header-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-header-bg);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
    }

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

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

.btn-primary,
.btn-secondary,
.btn-large,
.btn-disabled {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Icon styling for buttons */
.btn-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-westminster-gold);
    border-color: var(--color-westminster-gold);
}

.btn-secondary:hover {
    background-color: var(--color-westminster-gold);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-disabled {
    background-color: var(--color-bg-tertiary);
    color: #ffffff;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

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

.hero {
    background: linear-gradient(135deg, var(--color-header-bg) 0%, var(--color-dark) 100%);
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

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

.hero h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-westminster-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: var(--spacing-xs);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* Hero with screenshot layout */
.hero-with-screenshot {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--color-header-bg);
}

.hero-with-screenshot .hero-content {
    margin: 0 auto;
}

.hero-screenshot {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-game-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-large {
        width: 100%;
    }
}

/* ================================
   Sections
   ================================ */

section {
    padding: var(--spacing-xl) var(--spacing-md);
}

section:nth-child(even) {
    background-color: var(--color-bg-secondary);
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* ================================
   Features Grid
   ================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.feature-card p {
    color: var(--color-text-secondary);
    margin: 0;
}

/* ================================
   Data Depth Section
   ================================ */

.data-depth {
    background: var(--color-westminster-green) !important;
    color: white !important;
}

.data-depth h2 {
    color: white !important;
}

.data-depth .section-intro {
    color: rgba(255, 255, 255, 0.9) !important;
}

.data-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.data-point {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.data-point h4 {
    color: var(--color-westminster-gold);
    margin-bottom: var(--spacing-sm);
}

.data-point p {
    opacity: 0.9;
    margin: 0;
}

/* ================================
   Screenshots Grid
   ================================ */

.screenshots-preview {
    background-color: var(--color-bg-secondary);
}

.screenshots-preview h2 {
    color: var(--color-dark);
}

.screenshots-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.screenshot-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card img {
    height: 240px;
    width: auto;
    object-fit: contain;
}

.screenshot-card:hover {
    transform: scale(1.02);
}

.screenshot-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    font-weight: 600;
}

.screenshots-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--color-bg-tertiary);
}

.screenshots-cta h3 {
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.75rem;
}

.community-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.community-buttons .btn-primary {
    min-width: 160px;
    font-size: 1rem;
}

/* ================================
   Community Section
   ================================ */

.community {
    background-color: var(--color-bg-primary);
}

.community h2 {
    color: var(--color-dark);
}

.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.community-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    min-height: 150px;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-westminster-gold);
}

.community-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-icon svg,
.community-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.community-card h3 {
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

.community-card p {
    color: var(--color-text-secondary);
    margin: 0;
}

/* ================================
   Buy Section
   ================================ */

.buy-section {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.price-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    transition: all var(--transition-base);
}

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

.price-card.featured {
    border-color: var(--color-westminster-gold);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.price-badge {
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.featured .price-badge {
    background: var(--color-westminster-gold);
    color: var(--color-dark);
}

.price-card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.price {
    margin: var(--spacing-md) 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
    opacity: 0.7;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-westminster-gold);
}

.featured .amount {
    color: var(--color-westminster-green);
}

.price-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
    text-align: left;
}

.price-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-secondary);
}

.price-card .btn-large {
    width: 100%;
    margin-top: var(--spacing-md);
}

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

footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

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

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   Utility Classes
   ================================ */

.cta-center {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ================================
   Feature Detail Pages
   ================================ */

.feature-detail {
    padding: var(--spacing-xl) var(--spacing-md);
}

.feature-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.feature-header .feature-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.feature-header h2 {
    margin: 0;
    color: white;
}

.feature-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-description h3 {
    color: var(--color-westminster-gold);
    margin-bottom: var(--spacing-md);
}

.feature-description p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.feature-bullets {
    list-style: none;
    margin-top: var(--spacing-md);
}

.feature-bullets li {
    padding: var(--spacing-sm) 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Light background sections */
.feature-detail:nth-child(even) .feature-header h2 {
    color: var(--color-dark);
}

.feature-detail:nth-child(even) .feature-description h3 {
    color: var(--color-dark);
}

.feature-detail:nth-child(even) .feature-description p,
.feature-detail:nth-child(even) .feature-bullets li {
    color: var(--color-text-secondary);
}

.feature-detail:nth-child(even) .feature-bullets strong {
    color: var(--color-dark);
}

.feature-bullets li::before {
    content: "▸";
    color: var(--color-westminster-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feature-bullets strong {
    color: white;
    font-weight: 600;
}

.feature-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.stat-box {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-left: 4px solid var(--color-westminster-gold);
}

.stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-westminster-gold);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-box .stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-section {
    background: linear-gradient(135deg, var(--color-header-bg) 0%, var(--color-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile adjustments for feature pages */
@media (max-width: 968px) {
    .feature-content {
        grid-template-columns: 1fr;
    }

    .feature-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-box {
        flex: 1;
        min-width: 150px;
    }
}

/* ================================
   Screenshot Gallery
   ================================ */

.screenshot-category {
    padding: var(--spacing-xl) var(--spacing-md);
}

.screenshot-category h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: "📸";
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallery-caption {
    padding: var(--spacing-md);
    color: var(--color-text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

/* Gallery image styles (for when real screenshots are added) */
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   About Page
   ================================ */

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    padding: var(--spacing-lg) var(--spacing-md);
}

.about-section h2 {
    color: var(--color-westminster-gold);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.about-section p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.about-bullets {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.about-bullets li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.about-bullets li::before {
    content: "▸";
    color: var(--color-westminster-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-bullets strong {
    color: var(--color-dark);
    font-weight: 600;
}

.beta-section {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* ================================
   Dev Blog
   ================================ */

.dev-blog {
    background: var(--color-bg-secondary);
}

.blog-posts {
    max-width: 900px;
    margin: var(--spacing-lg) auto;
}

.blog-post {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

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

.blog-category {
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.blog-post h3 {
    margin-bottom: var(--spacing-sm);
}

.blog-post p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.blog-cta {
    max-width: 700px;
    margin: var(--spacing-xl) auto 0;
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.blog-cta h3 {
    margin-bottom: var(--spacing-sm);
}

.community-links-inline {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

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

.contact-section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-card {
    background: var(--color-bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--color-primary);
}

.contact-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

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

.contact-card a {
    color: var(--color-westminster-gold);
    font-weight: 500;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contact-links a {
    padding: var(--spacing-xs) 0;
}

/* ================================
   Responsive Utilities
   ================================ */

/* ================================
   Email Signup Forms
   ================================ */

.hero-signup-wrapper {
    margin-top: var(--spacing-md);
    width: 100%;
}

.hero-signup {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.hero-signup h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-signup-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.hero-community-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.hero-community-buttons .btn-large {
    min-width: 180px;
    font-size: 1rem;
}

.hero-logo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.hero-brand-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.email-signup-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    flex-wrap: wrap;
}

.email-signup-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transition: all var(--transition-base);
}

.email-signup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-westminster-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.email-signup-form button {
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.platform-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    margin: 0;
}

.platform-info strong {
    color: var(--color-westminster-gold);
    font-size: 1.0625rem;
}

.platform-coming-soon {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* ================================
   Career Progression Section
   ================================ */

.career-progression {
    background: linear-gradient(135deg, var(--color-westminster-green) 0%, #004830 100%);
    color: white;
}

.career-progression h2 {
    color: white;
}

.career-progression .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.progression-path {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.progression-step {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.progression-step:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-westminster-gold);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-westminster-gold);
    color: var(--color-dark);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: var(--spacing-xs) auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.progression-step h3 {
    color: var(--color-westminster-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.progression-step p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.progression-arrow {
    color: var(--color-westminster-gold);
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.progression-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--color-westminster-gold);
}

.progression-highlight p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin: 0;
}

/* ================================
   Enhanced Features Section
   ================================ */

.features-preview {
    background-color: var(--color-bg-primary);
}

.features-preview h2 {
    color: var(--color-dark);
}

.features-preview .section-intro {
    color: var(--color-text-secondary);
}

.featured-card {
    border: 2px solid var(--color-westminster-gold);
    background: linear-gradient(135deg, #ffffff 0%, #fefdf9 100%);
}

.featured-card .feature-icon {
    color: var(--color-westminster-gold);
}

.featured-card:hover {
    border-color: var(--color-westminster-green);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

/* ================================
   Final CTA Section
   ================================ */

.final-cta {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-header-bg) 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
}

.final-cta .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.final-signup {
    max-width: 700px;
    margin: 0 auto;
}

.signup-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
}

/* ================================
   Signup Confirmation
   ================================ */

.signup-confirmation {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.success-message,
.error-message {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-message h2 {
    color: var(--color-westminster-green);
    margin-bottom: var(--spacing-md);
}

.error-message h2 {
    color: var(--color-danger);
    margin-bottom: var(--spacing-md);
}

.confirmation-text {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.success-message p,
.error-message p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.success-message .cta-center,
.error-message .cta-center {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Info message (for already subscribed, etc.) */
.info-message {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.info-message h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.info-message p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.info-message .cta-center {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Community callout on signup confirmation */
.community-callout {
    background: linear-gradient(135deg, var(--color-westminster-green), #008050);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    color: white;
}

.community-callout h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.community-callout p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.community-links-compact {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.community-links-compact .btn-secondary {
    background: white;
    color: var(--color-westminster-green);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.95rem;
}

.community-links-compact .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ================================
   Responsive Utilities
   ================================ */

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.125rem;
    }

    .hero-with-screenshot {
        gap: var(--spacing-md);
    }

    .hero-signup-wrapper {
        margin-top: var(--spacing-md);
    }

    .hero-signup {
        padding: var(--spacing-md);
    }

    .features-grid,
    .screenshots-grid,
    .community-links {
        grid-template-columns: 1fr;
    }

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

    .hero-community-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .hero-community-buttons .btn-large {
        width: 100%;
    }

    .email-signup-form {
        flex-direction: column;
    }

    .email-signup-form input[type="email"],
    .email-signup-form button {
        width: 100%;
        min-width: 100%;
    }

    .screenshot-card img {
        height: 300px;
        width: 100%;
    }

    .progression-path {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .progression-arrow {
        display: none;
    }

    .progression-step {
        max-width: 100%;
        min-width: 100%;
    }

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

/* Extra small screens */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

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

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