/* ===================================
   Sinnograte GmbH - Main Stylesheet
   Primary: #BAFF39 (Neon Green) | Background: #6E6E6E
   =================================== */

:root {
    /* Primary Colors - From MudBlazor Theme */
    --primary: #BAFF39;
    --primary-dark: #9FD930;
    --primary-light: #CEFF6D;

    /* Light Theme (default) */
    --bg-body: #6E6E6E;
    --bg-card: #5A5A5A;
    --bg-navbar: #ffffff;
    --bg-footer: #383838;
    --bg-hero: linear-gradient(135deg, #6E6E6E 0%, #5A5A5A 50%, #383838 100%);
    --bg-input: #ffffff;
    --bg-input-focus: #ffffff;

    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #c0c0c0;
    --text-inverse: #333333;

    --border-color: #999999;
    --border-light: #aaaaaa;

    /* Legacy variables (for compatibility) */
    --background: #6E6E6E;
    --background-dark: #6E6E6E;
    --background-darker: #383838;
    --text-light: #ffffff;
    --text-dark: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Utilities */
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --bg-navbar: #1a1a1a;
    --bg-footer: #383838;
    --bg-hero: linear-gradient(135deg, #383838 0%, #6E6E6E 50%, #5A5A5A 100%);
    --bg-input: #2a2a2a;
    --bg-input-focus: #333333;

    --text-primary: #f0f0f0;
    --text-secondary: #c0c0c0;
    --text-muted: #a0a0a0;
    --text-inverse: #121212;

    --border-color: #333333;
    --border-light: #2a2a2a;

    --background: #121212;
    --text-dark: #f0f0f0;
    --gray-100: #1e1e1e;
    --gray-200: #2a2a2a;
    --gray-300: #b0b0b0;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-body);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-dark);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

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

@media (max-width: 768px) {
    .logo img {
        height: 28px;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
    background: var(--bg-hero);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-inverse);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Products Overview */
.products-overview {
    padding: 100px 0;
}

.products-overview h2 {
    text-align: center;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-line {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-line:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-line.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(186, 255, 57, 0.05) 100%);
}

.product-line-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.product-line h3 {
    margin-bottom: 0;
    color: var(--gray-900);
}

.badge {
    background-color: var(--primary);
    color: var(--background-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-line p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 25px;
}

.product-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-800);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    text-align: center;
}

.cta h2 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta p {
    color: var(--gray-300);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Secondary CTA */
.cta.cta-secondary {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
}

/* Software Page Styles */
.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--gray-100) 100%);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    min-height: 300px;
    text-align: center;
}

.screenshot-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--primary);
    opacity: 0.6;
    margin-bottom: 20px;
}

.screenshot-placeholder span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.screenshot-placeholder.code-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-color: var(--primary);
}

.screenshot-placeholder.code-placeholder svg {
    stroke: var(--primary-light);
    opacity: 0.8;
}

.screenshot-placeholder.code-placeholder span {
    color: var(--primary-light);
}

/* Product Info Icon (for sections without screenshots) */
.product-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 120px;
}

.product-info-icon .large-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(57, 209, 255, 0.1) 0%, rgba(57, 209, 255, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.product-info-icon .large-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
}

/* Adjust product-detail layout when using icon instead of carousel */
.product-detail:has(.product-info-icon) {
    gap: 40px;
}

.product-detail:has(.product-info-icon) .product-info {
    flex: 1;
}

@media (max-width: 992px) {
    .product-info-icon {
        width: 100%;
        margin-bottom: 20px;
    }

    .product-info-icon .large-icon {
        width: 80px;
        height: 80px;
    }

    .product-info-icon .large-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* Fleet Diagram for OTA Section */
.fleet-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--primary);
    padding: 40px;
    box-shadow: 0 0 40px rgba(57, 209, 255, 0.2);
    min-height: 300px;
    flex: 1;
    min-width: 350px;
}

.fleet-diagram svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

@media (max-width: 768px) {
    .fleet-diagram {
        padding: 30px 20px;
        min-height: 250px;
    }
}

/* API Code Examples */
.api-code-examples {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--primary);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(57, 209, 255, 0.2);
    flex: 1;
    min-width: 450px;
}

.code-example-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(57, 209, 255, 0.3);
}

.code-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.code-tab:hover {
    color: var(--primary-light);
    background: rgba(57, 209, 255, 0.1);
}

.code-tab.active {
    color: var(--primary);
    background: rgba(57, 209, 255, 0.15);
    border-bottom: 2px solid var(--primary);
}

.code-example-content {
    padding: 0;
    position: relative;
    min-height: 380px;
}

.code-block {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.code-block.active {
    display: block;
}

.code-header {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(57, 209, 255, 0.2);
}

.code-label {
    color: var(--primary);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
}

.code-block pre {
    margin: 0;
    padding: 20px;
    background: transparent;
    overflow-x: auto;
}

.code-block code {
    color: #e0e0e0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: pre;
}

/* Syntax Highlighting */
.code-block code .string { color: #a5d6a7; }
.code-block code .number { color: #f48fb1; }
.code-block code .boolean { color: #ce93d8; }
.code-block code .null { color: #ce93d8; }
.code-block code .key { color: #90caf9; }
.code-block code .comment { color: #78909c; font-style: italic; }
.code-block code .command { color: #ffcc80; }
.code-block code .flag { color: #81d4fa; }
.code-block code .value { color: #a5d6a7; }

@media (max-width: 768px) {
    .api-code-examples {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100vw;
        margin: 0;
        border-radius: var(--border-radius);
        background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%) !important;
        border: 2px solid var(--primary) !important;
        overflow: hidden;
    }

    .code-example-tabs {
        display: flex !important;
        flex-wrap: nowrap;
        background: rgba(0, 0, 0, 0.3) !important;
        border-bottom: 1px solid rgba(57, 209, 255, 0.3) !important;
    }

    .code-tab {
        padding: 10px 12px;
        font-size: 0.75rem;
        flex: 1;
        text-align: center;
        background: transparent !important;
        color: var(--gray-300) !important;
        border: none !important;
        cursor: pointer;
    }

    .code-tab.active {
        background: rgba(57, 209, 255, 0.15) !important;
        color: var(--primary) !important;
        border-bottom: 2px solid var(--primary) !important;
    }

    .code-example-content {
        position: relative;
        min-height: 320px;
        overflow: hidden;
    }

    .code-block {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .code-block.active {
        display: block !important;
    }

    .code-header {
        padding: 10px 15px;
        background: rgba(0, 0, 0, 0.2) !important;
        border-bottom: 1px solid rgba(57, 209, 255, 0.2) !important;
    }

    .code-label {
        color: var(--primary) !important;
        font-size: 0.75rem;
    }

    .code-block pre {
        margin: 0;
        padding: 12px;
        background: transparent !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .code-block code {
        color: #e0e0e0 !important;
        font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
        font-size: 0.65rem;
        line-height: 1.5;
        white-space: pre;
    }

    /* Syntax Highlighting für Mobile */
    .code-block code .string { color: #a5d6a7 !important; }
    .code-block code .number { color: #f48fb1 !important; }
    .code-block code .boolean { color: #ce93d8 !important; }
    .code-block code .null { color: #ce93d8 !important; }
    .code-block code .key { color: #90caf9 !important; }
    .code-block code .comment { color: #78909c !important; font-style: italic; }
    .code-block code .command { color: #ffcc80 !important; }
    .code-block code .flag { color: #81d4fa !important; }
    .code-block code .value { color: #a5d6a7 !important; }
}

/* Software Philosophy Section */
.software-philosophy {
    background-color: var(--bg-body);
}

.software-philosophy .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-brand .footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand .footer-tagline {
    color: var(--gray-300);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.footer-brand .footer-parent {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.footer-brand .footer-parent a {
    color: var(--primary);
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-brand .footer-parent a:hover {
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary);
}

.footer-contact p {
    line-height: 2;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
    }

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

    .nav-toggle {
        display: flex;
    }
}

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

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

/* Page specific styles */
.page-header {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    padding: 140px 20px 60px;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .page-header {
        padding: 120px 15px 40px;
    }

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

    .page-header p {
        font-size: 0.95rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .form-container {
        padding: 30px 20px;
    }

    .form-container h2 {
        font-size: 1.4rem;
    }
}

/* Product Cards */
.product-section {
    padding: 80px 0;
}

.product-section:nth-child(even) {
    background-color: transparent;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-detail.reverse {
    direction: rtl;
}

.product-detail.reverse > * {
    direction: ltr;
}

.product-image {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    text-align: center;
    border: 2px solid var(--primary);
    box-shadow: 0 0 40px rgba(57, 209, 255, 0.2);
}

.product-image .size-indicator {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-image .model-name {
    font-size: 1.5rem;
    color: var(--text-light);
}

.product-info h2 {
    margin-bottom: 20px;
}

.product-info > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.spec-item h4 {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.spec-item p {
    color: var(--text-primary);
    font-weight: 500;
}

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

    .product-detail.reverse {
        direction: ltr;
    }
}

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

/* Forms */
.form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-800);
}

.form-group label .required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: inherit;
}

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

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

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--primary);
}

.form-check label {
    margin-bottom: 0;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-check a {
    color: var(--primary);
}

.form-check a:hover {
    text-decoration: underline;
}

.form-submit {
    margin-top: 30px;
}

.form-submit .btn {
    width: 100%;
}

.form-info {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(57, 209, 255, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
}

.form-info h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.form-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h2 {
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content ul li {
    color: var(--text-muted);
    margin-bottom: 8px;
    list-style: disc;
}

.legal-content a {
    color: var(--primary);
}

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

.company-info {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.company-info p {
    margin-bottom: 8px;
}

.company-info strong {
    color: var(--gray-800);
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background-color: var(--background-dark);
    color: var(--text-light);
    font-weight: 500;
}

.comparison-table th:first-child {
    background-color: var(--background-darker);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-card);
}

.comparison-table tbody tr:hover {
    background-color: rgba(57, 209, 255, 0.05);
}

.comparison-table td[colspan="2"] {
    text-align: center;
    color: var(--primary);
    font-weight: 500;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.checkbox-group .form-check {
    background-color: var(--bg-input);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.checkbox-group .form-check:hover {
    background-color: rgba(186, 255, 57, 0.1);
}

/* Select styling */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

/* ===================================
   Image Carousel
   =================================== */
.product-carousel {
    position: relative;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 40px rgba(57, 209, 255, 0.2);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(57, 209, 255, 0.2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-nav:hover {
    background-color: var(--primary);
    color: var(--background-dark);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

/* Carousel Dots/Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(57, 209, 255, 0.3);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot:hover {
    background-color: rgba(57, 209, 255, 0.5);
}

.carousel-dot.active {
    background-color: var(--primary);
}

/* Carousel Thumbnails */
.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.carousel-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    padding: 5px;
}

.carousel-thumb:hover {
    border-color: rgba(57, 209, 255, 0.5);
}

.carousel-thumb.active {
    border-color: var(--primary);
    background-color: rgba(57, 209, 255, 0.2);
}

.carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Color variant labels */
.carousel-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .carousel-nav {
        width: 36px;
        height: 36px;
    }

    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }

    .carousel-thumb {
        width: 50px;
        height: 50px;
    }

    .product-carousel {
        padding: 20px;
    }
}

/* Software Page Carousel - Larger for screenshots */
.software-carousel {
    max-width: 100%;
}

.software-carousel .carousel-container {
    aspect-ratio: 16/10;
    min-height: 400px;
}

.software-carousel .carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.software-carousel .carousel-thumbnails {
    gap: 8px;
}

.software-carousel .carousel-thumb {
    width: 80px;
    height: 50px;
    padding: 3px;
}

@media (min-width: 992px) {
    .software-carousel .carousel-container {
        min-height: 500px;
    }

    .software-carousel .carousel-thumb {
        width: 100px;
        height: 62px;
    }
}

@media (max-width: 768px) {
    .software-carousel .carousel-container {
        min-height: 280px;
        aspect-ratio: 16/10;
    }

    .software-carousel .carousel-thumb {
        width: 60px;
        height: 38px;
    }
}

/* ===================================
   Theme Toggle & Language Selector
   =================================== */

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
}

.theme-toggle:hover {
    background-color: rgba(57, 209, 255, 0.2);
    color: var(--primary);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.language-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.language-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.language-selector.active .language-btn svg {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    overflow: hidden;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    background-color: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 400;
}

.language-option:hover {
    background-color: rgba(186, 255, 57, 0.1);
    color: var(--primary);
}

.language-option.active {
    background-color: rgba(186, 255, 57, 0.2);
    color: var(--primary);
    font-weight: 600;
}

.language-option .flag {
    font-size: 1.2rem;
}

/* Dark Theme Adjustments */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .spec-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* Dark Theme Text Visibility Fixes */
[data-theme="dark"] .feature-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .product-line h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .product-info h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .page-header h1,
[data-theme="dark"] .page-header p {
    color: var(--text-light);
}

[data-theme="dark"] .features h2,
[data-theme="dark"] .products-overview h2,
[data-theme="dark"] .product-section h2,
[data-theme="dark"] h2 {
    color: var(--text-primary);
}

[data-theme="dark"] h1,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
    color: var(--text-primary);
}

/* Ensure white text on dark gradient backgrounds */
[data-theme="dark"] .page-header h1,
[data-theme="dark"] .page-header h1 .highlight {
    color: var(--text-light);
}

[data-theme="dark"] .page-header h1 .highlight {
    color: var(--primary);
}

[data-theme="dark"] .product-line {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .product-line.featured {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(57, 209, 255, 0.08) 100%);
}

[data-theme="dark"] .product-features li {
    color: var(--text-secondary);
}

[data-theme="dark"] .spec-item p {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-content h2,
[data-theme="dark"] .legal-content h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .form-container {
    background-color: var(--bg-card);
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

[data-theme="dark"] .comparison-table td:first-child {
    background-color: var(--gray-200);
    color: var(--text-primary);
}

[data-theme="dark"] .comparison-table {
    background-color: var(--bg-card);
}

[data-theme="dark"] .checkbox-group .form-check {
    background-color: var(--gray-200);
}

[data-theme="dark"] .features {
    background-color: var(--gray-100);
}

[data-theme="dark"] .product-section:nth-child(even) {
    background-color: transparent;
}

[data-theme="dark"] .footer-brand p {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-content {
    background-color: var(--bg-body);
}

[data-theme="dark"] .company-info {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background-color: var(--bg-input);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    background-color: var(--bg-input-focus);
}

[data-theme="dark"] .hero h1 {
    color: var(--text-primary);
}

[data-theme="dark"] .language-btn {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===================================
   Cookie Consent Dialog
   =================================== */
.cookie-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 2px solid var(--primary);
}

.cookie-dialog.show {
    transform: translateY(0);
}

.cookie-dialog-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 20px;
}

.cookie-dialog h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.cookie-dialog > .cookie-dialog-content > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.cookie-option {
    flex: 1;
    min-width: 200px;
    background-color: var(--bg-input);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
}

.cookie-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.cookie-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-required {
    font-size: 0.75rem;
    color: var(--primary);
    background-color: rgba(57, 209, 255, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

.cookie-option-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.cookie-privacy-link {
    color: var(--primary);
    font-size: 0.85rem;
}

.cookie-privacy-link:hover {
    text-decoration: underline;
}

/* Dark Theme Cookie Dialog */
[data-theme="dark"] .cookie-dialog {
    background-color: var(--bg-card);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .cookie-option {
    background-color: var(--gray-200);
    border-color: var(--border-color);
}

/* Mobile Cookie Dialog */
@media (max-width: 768px) {
    .cookie-dialog-content {
        padding: 20px 15px;
    }

    .cookie-options {
        flex-direction: column;
    }

    .cookie-option {
        min-width: 100%;
    }

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

    .cookie-buttons .btn {
        width: 100%;
    }
}

/* Mobile Navigation Controls */
@media (max-width: 768px) {
    .nav-controls {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
        margin-left: 0;
    }

    .language-btn span {
        display: none;
    }

    .language-btn {
        padding: 8px;
    }

    .language-dropdown {
        right: -20px;
    }
}

/* =====================================================
   OS COMPARISON SECTION
   ===================================================== */
.os-comparison {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.os-card {
    flex: 1;
    min-width: 320px;
    max-width: 480px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.os-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(57, 209, 255, 0.15);
}

.os-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 20px;
}

.os-icon {
    width: auto;
    height: 100px;
}

.os-icon.android-icon {
    height: 95px;
}

.os-icon.linux-icon {
    height: 105px;
}

.os-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.os-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.os-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.os-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.os-features li:last-child {
    border-bottom: none;
}

.os-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

/* Dark theme adjustments */
[data-theme="dark"] .os-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(15, 52, 96, 0.4));
}

[data-theme="dark"] .os-icon.linux-icon ellipse[fill="#1a1a1a"],
[data-theme="dark"] .os-icon.linux-icon circle[fill="#1a1a1a"] {
    fill: #2a2a3a;
}

/* Mobile OS Comparison */
@media (max-width: 768px) {
    .os-comparison {
        flex-direction: column;
        gap: 25px;
    }

    .os-card {
        min-width: 100%;
        padding: 30px 20px;
    }

    .os-logo {
        height: 100px;
    }

    .os-icon {
        height: 80px;
    }

    .os-icon.android-icon {
        height: 75px;
    }

    .os-icon.linux-icon {
        height: 85px;
    }
}

/* =====================================================
   SECTION SHARE BUTTON
   ===================================================== */
.section-share-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(57, 209, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

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

.section-share-btn svg {
    width: 16px;
    height: 16px;
}

.section-share-btn span {
    font-weight: 500;
}

/* Make sections position relative for absolute share button */
.product-section,
.features.software-section,
.features {
    position: relative;
}

/* Section header with share button for centered titles */
.section-header-with-share {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header-with-share h2 {
    margin-bottom: 0;
}

.section-share-btn-header {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Share tooltip */
.share-tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(57, 209, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.share-tooltip.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.share-tooltip-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.share-tooltip-content svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* Mobile adjustments for share button and specs */
@media (max-width: 768px) {
    .section-share-btn {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        padding: 0 !important;
        font-size: 0.75rem;
        background: rgba(57, 209, 255, 0.2) !important;
        border: 2px solid #39D1FF !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100 !important;
    }

    .section-share-btn span {
        display: none !important;
    }

    .section-share-btn svg {
        width: 20px !important;
        height: 20px !important;
        color: #39D1FF !important;
        stroke: #39D1FF !important;
    }

    /* Fix spec-items on mobile */
    .spec-item {
        padding: 15px;
        background-color: var(--bg-card) !important;
    }

    .spec-item h4 {
        font-size: 0.75rem;
        margin-bottom: 5px;
        color: var(--primary) !important;
    }

    .spec-item p {
        font-size: 0.85rem;
        color: var(--text-primary) !important;
    }

    .specs-grid {
        gap: 10px;
    }

    /* Fix product-info text visibility */
    .product-info h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .product-info p {
        font-size: 0.9rem;
    }
}

/* Dark mode text visibility fixes */
[data-theme="dark"] .spec-item h4 {
    color: var(--primary);
}

[data-theme="dark"] .spec-item p {
    color: var(--text-primary);
}

[data-theme="dark"] .product-info > p {
    color: var(--text-secondary);
}

[data-theme="dark"] .product-info h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .product-info h2 .highlight {
    color: var(--primary);
}

/* =====================================================
   MAP SECTION
   ===================================================== */
.map-section {
    padding: 60px 0 0;
    background-color: var(--bg-body);
}

.map-section .section-intro {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 30px;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.map-info-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    max-width: 280px;
}

[data-theme="dark"] .map-info-card {
    border-color: var(--gray-700);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.map-info-card .map-logo {
    height: 30px;
    width: auto;
    margin-bottom: 12px;
}

.map-info-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.map-info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Custom Map Marker */
.sinnotrade-marker {
    background: transparent;
    border: none;
}

.sinnotrade-marker .marker-pin {
    width: 40px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.sinnotrade-marker .marker-pin svg {
    width: 40px;
    height: 50px;
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 10px 15px;
    color: var(--text-primary);
}

.leaflet-popup-tip {
    background: var(--bg-card);
}

[data-theme="dark"] .leaflet-popup-content-wrapper,
[data-theme="dark"] .leaflet-popup-tip {
    background: var(--gray-800);
}

/* Map attribution styling */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8) !important;
    font-size: 10px;
}

[data-theme="dark"] .leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.6) !important;
    color: var(--gray-400);
}

[data-theme="dark"] .leaflet-control-attribution a {
    color: var(--primary);
}

/* Brighten dark map tiles */
[data-theme="dark"] #map {
    filter: brightness(1.3) contrast(0.95);
}

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }

    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin: -60px 15px 0;
        z-index: 1000;
    }

    .map-info-card {
        max-width: 100%;
    }

    .map-section {
        padding: 40px 0 0;
    }
}

/* ========================================
   Contact Page Styles
   ======================================== */

.contact-section {
    padding: 60px 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info-card,
.contact-form-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--background);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(186, 255, 57, 0.1);
}

.contact-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.contact-form .checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.contact-form .checkbox-label span {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-form .checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.captcha-group {
    margin: 25px 0;
}

.required {
    color: var(--error, #dc3545);
}

/* Responsive Contact Grid */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */

/* About Hero Section */
.about-hero {
    padding: 80px 0 60px;
    background: var(--background);
    text-align: center;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(186, 255, 57, 0.1);
}

.about-card .card-icon,
.about-card .about-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--primary);
    display: block;
}

.about-card .card-icon svg,
.about-card .about-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: var(--background);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* Timeline center line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating layout */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 40px);
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: calc(50% + 40px);
    text-align: right;
}

/* Timeline Marker */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.highlight .timeline-marker {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(186, 255, 57, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(186, 255, 57, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(186, 255, 57, 0.8);
    }
}

.timeline-marker svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.timeline-item.highlight .timeline-marker svg {
    color: var(--bg-body);
}

/* Timeline Content */
.timeline-content {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(186, 255, 57, 0.15);
}

/* Arrow pointing to marker */
.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 8px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--bg-card);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    right: -12px;
    top: 8px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid var(--bg-card);
}

.timeline-year {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.4rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.timeline-item:nth-child(even) .timeline-meta {
    justify-content: flex-end;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(186, 255, 57, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.timeline-badge svg {
    width: 16px;
    height: 16px;
}

.timeline-badge.in-progress {
    background: rgba(255, 193, 7, 0.1);
    border-color: #FFC107;
    color: #FFC107;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(186, 255, 57, 0.15);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--primary);
    display: block;
}

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

.value-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.3rem;
}

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

/* About CTA Section */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(186, 255, 57, 0.05) 0%, rgba(186, 255, 57, 0.1) 100%);
    text-align: center;
}

.about-cta h2 {
    margin-bottom: 20px;
}

.about-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Responsive About Page */
@media (max-width: 968px) {
    .about-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Timeline adjustments for tablets */
    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-marker {
        left: 30px;
        width: 50px;
        height: 50px;
    }

    .timeline-marker svg {
        width: 24px;
        height: 24px;
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -12px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -12px;
        right: auto;
        border-right: 12px solid var(--bg-card);
        border-left: none;
    }

    .timeline-item:nth-child(even) .timeline-meta {
        justify-content: flex-start;
    }
}

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

    .timeline {
        padding: 0 10px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 70px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .about-hero {
        padding: 60px 0 40px;
    }

    .timeline-section,
    .values-section,
    .about-cta {
        padding: 60px 0;
    }
}

/* ===================================
   Career Page Styles
   =================================== */

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* ===================================
   Career Page Animations
   =================================== */

/* Scroll Reveal Animation Base */
.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for cards */
.reveal-card:nth-child(1) { transition-delay: 0s; }
.reveal-card:nth-child(2) { transition-delay: 0.1s; }
.reveal-card:nth-child(3) { transition-delay: 0.2s; }
.reveal-card:nth-child(4) { transition-delay: 0.3s; }
.reveal-card:nth-child(5) { transition-delay: 0.4s; }
.reveal-card:nth-child(6) { transition-delay: 0.5s; }

/* Slide from left/right variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Benefit Card Styles */
.benefit-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

/* Benefit Icon with hover animation */
.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(186, 255, 57, 0.4);
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--text-inverse);
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Office & Remote Section */
.office-section {
    padding: 80px 0;
    background-color: var(--bg-card);
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.office-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.office-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.office-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 20px;
}

.office-location svg {
    width: 20px;
    height: 20px;
}

.office-remote {
    background-color: var(--bg-body);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--primary);
}

.remote-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.remote-stat,
.stat {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.remote-stat:hover,
.stat:hover {
    transform: scale(1.05);
    background-color: rgba(186, 255, 57, 0.1);
}

.remote-stat-number,
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    display: inline-block;
}

/* Counter animation */
.remote-stat-number.counting,
.stat-number.counting {
    animation: countPulse 0.3s ease;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

/* Events Section */
.events-section {
    padding: 80px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.event-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.event-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.event-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Jobs Section */
.jobs-section {
    padding: 80px 0;
    background-color: var(--bg-card);
}

.jobs-list {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.job-card {
    position: relative;
    background-color: var(--bg-body);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

/* Gradient border effect */
.job-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--border-color) 0%, var(--border-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s ease;
}

/* Top accent gradient line */
.job-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover::before {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
}

.job-card:hover::after {
    opacity: 1;
}

.job-card:hover {
    box-shadow: 0 10px 40px rgba(186, 255, 57, 0.15);
    transform: translateY(-4px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    flex: 1;
}

.job-type {
    background-color: var(--primary);
    color: var(--text-inverse);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.job-location svg {
    width: 18px;
    height: 18px;
}

.job-description {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.job-requirements {
    margin-bottom: 30px;
}

.job-requirements h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.job-requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Job Actions (Apply + Share) */
.job-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.job-actions .btn {
    width: auto;
    display: inline-block;
}

/* Job Share Buttons */
.job-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-linkedin:hover {
    background-color: #0077B5;
    border-color: #0077B5;
    color: #fff;
}

.share-facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.share-twitter:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.share-copy:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-inverse);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Job Actions */
@media (max-width: 640px) {
    .job-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .job-share {
        justify-content: center;
    }
}

/* No Jobs Message */
.no-jobs {
    text-align: center;
    padding: 60px 20px;
}

.no-jobs svg {
    width: 80px;
    height: 80px;
    stroke: var(--primary);
    margin-bottom: 30px;
}

.no-jobs h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.no-jobs p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Application Section */
.application-section {
    padding: 80px 0;
    background-color: var(--bg-body);
}

.application-form-card {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.application-form .form-group {
    margin-bottom: 25px;
}

.application-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.application-form input,
.application-form textarea,
.application-form select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-input);
    color: var(--text-inverse);
    transition: all 0.3s ease;
}

.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(186, 255, 57, 0.15);
}

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

.application-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .application-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* File Upload Styling for Application Form */
.application-form .file-upload-container {
    position: relative;
}

.application-form .file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.application-form .file-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-input);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
    font-weight: 500;
}

.application-form .file-label:hover {
    border-color: var(--primary);
    background: rgba(186, 255, 57, 0.05);
}

.application-form .file-label svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.application-form .file-name {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    word-break: break-all;
}

.application-form .form-hint {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Checkbox Styling */
.application-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.application-form .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary);
}

.application-form .checkbox-label span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.application-form .checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.application-form .checkbox-label a:hover {
    color: var(--primary-dark);
}

/* Captcha Group */
.application-form .captcha-group {
    margin: 30px 0;
}

.application-form .captcha-group label {
    margin-bottom: 15px;
}

/* Submit Button */
.application-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    font-weight: 500;
}

.form-message-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

.form-message-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Dark theme adjustments */
[data-theme="dark"] .application-form-card {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .application-form input,
[data-theme="dark"] .application-form textarea,
[data-theme="dark"] .application-form select {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .application-form .file-label {
    background: var(--bg-input);
    border-color: var(--border-color);
}

[data-theme="dark"] .application-form .file-label:hover {
    border-color: var(--primary);
    background: rgba(186, 255, 57, 0.1);
}

/* Legacy application-card (keep for backwards compatibility) */
.application-card {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid var(--primary);
}

.application-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.application-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.application-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    padding: 15px 30px;
    background-color: var(--bg-body);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.application-email:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.application-email svg {
    width: 24px;
    height: 24px;
}

/* Responsive Career Page */
@media (max-width: 968px) {
    .office-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .office-remote {
        padding: 30px;
    }
}

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

    .job-card {
        padding: 30px 20px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .application-card {
        padding: 40px 30px;
    }

    .remote-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .benefits-section,
    .office-section,
    .events-section,
    .jobs-section,
    .application-section {
        padding: 60px 0;
    }

    .benefit-card,
    .event-card {
        padding: 25px;
    }

    .application-email {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* ===================================
   Services Page Styles
   =================================== */

/* Services Overview */
.services-overview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--text-inverse);
}

.service-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Technologies Section */
.technologies-section {
    padding: 80px 0;
    background-color: var(--bg-card);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.tech-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background-color: var(--bg-body);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.tech-tag:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--text-inverse);
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 2px solid transparent;
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.process-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-inverse);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Services Page */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-categories {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 30px 25px;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-overview,
    .technologies-section,
    .process-section {
        padding: 60px 0;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   Enhanced Contact Form
   ============================================ */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-body);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236E6E6E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Budget Slider */
.budget-slider-container {
    margin-top: 10px;
}

.budget-slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 0%, var(--border-color) 0%, var(--border-color) 100%);
    outline: none;
    -webkit-appearance: none;
    margin: 20px 0;
    cursor: pointer;
}

.budget-slider-container input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: var(--border-color);
}

.budget-slider-container input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: var(--border-color);
}

.budget-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-top: -8px;
}

.budget-slider-container input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.budget-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.budget-slider-container input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 2px;
    position: relative;
}

.budget-labels span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: center;
    flex: 1;
    padding: 6px 2px;
    border-radius: 4px;
    transition: var(--transition);
    background-color: transparent;
    position: relative;
    z-index: 2;
}

.budget-labels span.active {
    color: var(--primary);
    font-weight: 700;
}

.budget-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    z-index: 1;
}

.budget-display {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 15px;
    padding: 12px 16px;
    background-color: var(--bg-body);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(186, 255, 57, 0.1);
}

/* File Upload */
.file-upload-container {
    margin-top: 10px;
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background-color: var(--bg-body);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    border-color: var(--primary);
    background-color: var(--bg-card);
}

.file-label svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-muted);
}

.file-label span {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.file-name {
    display: block;
    margin-top: 10px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .budget-labels {
        font-size: 0.65rem;
    }

    .budget-labels span {
        writing-mode: horizontal-tb;
    }
}

/* ============================================
   Technology Radar
   ============================================ */

/* Radar Legend Section */
.radar-legend-section {
    padding: 60px 0;
    background-color: var(--bg-body);
}

/* Combined Radar and Legend Container */
.radar-combined-container {
    display: flex;
    gap: 48px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.radar-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#radar-canvas {
    display: block;
}

.radar-legend {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.legend-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.legend-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Radar Visualization Section (removed) */
.radar-section {
    padding: 0;
    background-color: var(--bg-body);
}

/* Radar List Section */
.radar-list-section {
    padding: 60px 0;
    background-color: var(--bg-body);
}

.radar-list-section h2 {
    margin-bottom: 40px;
}

/* Filter Buttons */
.radar-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--bg-body);
}

.filter-btn.active {
    background-color: var(--primary);
    color: #1a1a1a;
    border-color: var(--primary);
}

/* Technology Cards Grid */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.tech-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 2px solid transparent;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary);
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tech-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: #1a1a1a;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.tech-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.tech-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.tech-ring {
    font-weight: 600;
}

.tech-quadrant {
    color: var(--text-secondary);
}

.tech-meta::after {
    content: '•';
    color: var(--text-muted);
}

.tech-meta .tech-quadrant::before {
    content: none;
}

.tech-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Radar */
@media (max-width: 1024px) {
    .radar-combined-container {
        flex-direction: column;
        gap: 32px;
    }

    .radar-legend {
        flex: 1;
        width: 100%;
        max-width: 600px;
    }

    .radar-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .radar-legend {
        gap: 16px;
    }

    .radar-container {
        padding: 20px 10px;
    }

    .radar-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .radar-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tech-card {
        padding: 20px;
    }

    .tech-label {
        font-size: 1.125rem;
    }
}

/* ============================================
   FAQ Page Styles
   ============================================ */

/* FAQ Search */
.faq-search-section {
    padding: 40px 0;
    background-color: var(--bg-body);
}

.faq-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-box svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.faq-search-box input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-input);
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-search-box input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-input-focus);
}

.faq-search-box input::placeholder {
    color: var(--text-muted);
}

/* FAQ Categories */
.faq-categories-section {
    padding: 20px 0 40px;
    background-color: var(--bg-body);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.faq-category-btn {
    padding: 12px 24px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.faq-category-btn:hover {
    border-color: var(--primary);
    background-color: var(--bg-card);
}

.faq-category-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #1a1a1a;
}

/* FAQ Content */
.faq-content-section {
    padding: 20px 0 80px;
    background-color: var(--bg-body);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-header {
    margin-top: 40px;
    margin-bottom: 24px;
}

.faq-category-header:first-child {
    margin-top: 0;
}

.faq-category-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* No Results */
.faq-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.faq-no-results svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.faq-no-results h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-no-results p {
    color: var(--text-secondary);
    max-width: 400px;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-search-section {
        padding: 30px 0;
    }

    .faq-categories-section {
        padding: 15px 0 30px;
    }

    .faq-category-btn {
        padding: 10px 18px;
        font-size: 0.875rem;
    }

    .faq-category-header h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* ============================================
   CTA Section Margin Fix
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    text-align: center;
    margin-bottom: 0;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--gray-300);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer spacing */
.footer {
    margin-top: 0;
}

/* =====================================================
   SECTION SHARE BUTTON
   ===================================================== */
.section-share-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(186, 255, 57, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.section-share-btn:hover {
    background: var(--primary);
    color: var(--gray-900);
}

.section-share-btn svg {
    width: 16px;
    height: 16px;
}

.section-share-btn span {
    font-weight: 500;
}

/* Make sections position relative for absolute share button */
.service-card,
.features,
.radar-list-section {
    position: relative;
}

/* Section header with share button for centered titles */
.section-header-with-share {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header-with-share h2 {
    margin-bottom: 0;
}

.section-share-btn-header {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Share tooltip */
.share-tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(186, 255, 57, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.share-tooltip.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.share-tooltip-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.share-tooltip-content svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* Mobile adjustments for share button */
@media (max-width: 768px) {
    .section-share-btn {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        padding: 0 !important;
        font-size: 0.75rem;
        background: rgba(186, 255, 57, 0.2) !important;
        border: 2px solid #BAFF39 !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100 !important;
    }

    .section-share-btn span {
        display: none !important;
    }

    .section-share-btn svg {
        width: 20px !important;
        height: 20px !important;
        color: #BAFF39 !important;
        stroke: #BAFF39 !important;
    }

    .section-share-btn-header {
        position: static;
        transform: none;
        margin-left: auto;
    }
}

/* ============================================
   Floating Apply Button (Career Page)
   ============================================ */

.floating-apply-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-inverse);
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(186, 255, 57, 0.4);
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 0;
    visibility: hidden;
}

.floating-apply-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-apply-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(186, 255, 57, 0.5);
}

.floating-apply-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.floating-apply-btn:hover svg {
    transform: translateX(4px);
}

/* Pulse animation */
.floating-apply-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: var(--primary);
    opacity: 0;
    z-index: -1;
    animation: floatingPulse 2s ease-in-out infinite;
}

@keyframes floatingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
}

/* Hide when near application section */
.floating-apply-btn.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-apply-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

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

@media (max-width: 480px) {
    .floating-apply-btn {
        right: 50%;
        transform: translateX(50%) translateY(0);
        padding: 14px 20px;
    }

    .floating-apply-btn.visible {
        transform: translateX(50%) translateY(0);
    }

    .floating-apply-btn:hover {
        transform: translateX(50%) translateY(-4px);
    }

    .floating-apply-btn.hidden {
        transform: translateX(50%) translateY(20px);
    }
}
