/* ============================================
   Sable Servers - Professional Dark Theme
   with Left Sidebar Navigation
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #07090f;
    --bg-secondary: #0d111a;
    --bg-elevated: #111725;
    --bg-overlay: rgba(7, 9, 15, 0.95);
    --text-primary: #e6e8f2;
    --text-muted: #a6adca;
    --accent: #3f8cff;
    --accent-hover: #5ba1ff;
    --accent-soft: rgba(63, 140, 255, 0.14);
    --accent-gradient: linear-gradient(135deg, #3f8cff 0%, #6d73ff 50%, #9c53ff 100%);
    --border: rgba(230, 232, 242, 0.08);
    --border-hover: rgba(230, 232, 242, 0.15);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-soft: 0 24px 48px rgba(7, 11, 22, 0.45);
    --shadow-card: 0 16px 32px rgba(4, 8, 18, 0.6);
    --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
    --sidebar-width: 280px;
    --mobile-header-height: 70px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

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

/* Layout with Sidebar */
body.has-sidebar {
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Promotional Banner */
.promo-banner {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    background: linear-gradient(135deg, #9c53ff 0%, #6d73ff 50%, #3f8cff 100%);
    color: #ffffff;
    z-index: 1100;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
    max-width: 1200px;
}

.promo-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.promo-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.promo-text strong {
    font-weight: 700;
    color: #ffffff;
}

.promo-cta {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition);
    white-space: nowrap;
}

.promo-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.promo-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    margin-left: 1rem;
    opacity: 0.8;
    transition: opacity var(--transition);
    line-height: 1;
}

.promo-close:hover {
    opacity: 1;
}

/* Adjust main content when promo banner is visible */
body:has(.promo-banner) .main-content {
    padding-top: 3rem;
}

body:has(.promo-banner) .mobile-header {
    top: 3rem;
}

@media (max-width: 768px) {
    .promo-banner {
        left: 0;
        padding: 0.65rem 1rem;
    }

    .promo-content {
        gap: 0.75rem;
    }

    .promo-text {
        font-size: 0.85rem;
    }

    .promo-cta {
        display: none;
    }

    .promo-icon {
        font-size: 1.2rem;
    }

    body:has(.promo-banner) .main-content {
        padding-top: calc(var(--mobile-header-height) + 2.5rem);
    }
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--mobile-header-height);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-header-spacer {
    flex: 1;
}

.mobile-login-btn {
    background: var(--accent-gradient);
    color: #0a0c18;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 900;
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.sidebar-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin: 0.25rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    min-height: 48px;
}

.nav-link:hover {
    background: var(--accent-soft);
    color: var(--text-primary);
}

.nav-link.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-left: 3px solid var(--accent);
}

.nav-icon {
    width: 22px;
    margin-right: 0.85rem;
    font-size: 1.1rem;
    flex-shrink: 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-label {
    flex: 1;
    white-space: nowrap;
    font-weight: 600;
}

.nav-arrow {
    width: 20px;
    margin-left: auto;
    font-size: 1rem;
    transition: transform var(--transition);
    flex-shrink: 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.submenu-trigger {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
}

.submenu-trigger .nav-label {
    font-weight: 600;
}

.has-submenu.open .nav-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    background: rgba(0, 0, 0, 0.2);
}

.has-submenu.open .nav-submenu {
    max-height: 500px;
}

.nav-submenu li {
    margin: 0;
}

.nav-sublink {
    display: block;
    padding: 0.6rem 1.5rem 0.6rem 3.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-sublink:hover {
    background: var(--accent-soft);
    color: var(--text-primary);
}

.nav-sublink.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.sidebar-portal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--accent-gradient);
    color: #0a0c18;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: transform var(--transition);
}

.sidebar-portal-btn:hover {
    transform: translateY(-2px);
}

.sidebar-tagline {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 850;
    backdrop-filter: blur(4px);
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0a0c18;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(63, 140, 255, 0.35);
}

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

.btn-secondary:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

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

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

.btn-block {
    width: 100%;
}

.pricing-card .btn-block {
    margin-top: auto;
}

/* Page Header */
.page-header {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, rgba(63, 140, 255, 0.1) 0%, transparent 50%);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
}

/* Section Styles */
section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: radial-gradient(circle at top right, rgba(63, 140, 255, 0.2), transparent 60%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.highlight-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.highlight-card h2 {
    margin-bottom: 0.5rem;
}

.highlight-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.highlight-features {
    list-style: none;
    margin-top: 1.5rem;
}

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

.highlight-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Services Grid */
.services-section {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    padding: 0.4rem 0;
    padding-left: 1.3rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    background: var(--accent-gradient);
    color: #0a0c18;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    transition: all var(--transition);
    margin-top: auto;
    width: 100%;
    text-align: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(63, 140, 255, 0.3);
    color: #0a0c18;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.75rem;
}

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

/* Pricing Section */
.pricing-section {
    background: var(--bg-secondary);
}

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

.category-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.category-header-row > div {
    flex: 1;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.category-desc {
    text-align: left;
    color: var(--text-muted);
    margin-bottom: 0;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.view-more-btn:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
    transform: translateX(4px);
}

.view-more-btn .arrow {
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.view-more-btn:hover .arrow {
    transform: translateX(4px);
}

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

.hosting-pricing {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all var(--transition);
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #0a0c18;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.pricing-badge.custom {
    background: linear-gradient(135deg, #9c53ff 0%, #6d73ff 100%);
}

/* Promo Badge - Positioned below plan title */
.pricing-promo-badge {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    z-index: 10;
}

.pricing-header h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

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

.price-currency-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.8;
    margin-left: 0.25rem;
    vertical-align: middle;
    letter-spacing: 0.05em;
}

/* Promotional Pricing */
.price-original {
    display: flex !important;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.price-original .price-currency {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #8b92a8 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.5px !important;
}

.price-original .price-amount {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #8b92a8 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.5px !important;
}

.price-save-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
    letter-spacing: 0.03em;
}

.price-custom {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.pricing-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-specs li {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    gap: 1rem;
    overflow: visible;
}

.spec-label {
    color: var(--text-primary);
    font-weight: 500;
    text-align: left;
}

.spec-value {
    text-align: right;
    color: var(--text-primary);
    line-height: 1.4;
    white-space: nowrap;
}

.pricing-specs li > :last-child {
    text-align: right;
    line-height: 1.4;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Storage Add-ons List */
.spec-addons {
    display: block !important;
    grid-column: 1 / -1;
    padding: 0.8rem 0;
    /* border-bottom already inherited from .pricing-specs li */
}

.spec-addons .spec-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.addon-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.addon-list li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.pricing-features {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.features-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 0.35rem 0;
    padding-left: 1.3rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.custom-quote-card {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(156, 83, 255, 0.1) 0%, var(--bg-elevated) 50%);
}

/* Spec Badge (for NVMe, etc.) */
.spec-badge {
    display: inline;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.75;
    letter-spacing: 0.03em;
    white-space: nowrap;
    margin-left: 0.15rem;
}

/* Custom Quote - Horizontal Layout */
.custom-quote-horizontal {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(156, 83, 255, 0.1) 0%, var(--bg-elevated) 50%);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
}

.custom-quote-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #9c53ff 0%, #6d73ff 100%);
    color: #0a0c18;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-quote-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.custom-quote-left h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.custom-quote-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.custom-quote-left .btn {
    display: inline-flex;
}

.custom-quote-right {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.custom-quote-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
}

.custom-quote-features li {
    padding: 0.35rem 0;
    padding-left: 1.3rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.custom-quote-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

@media (max-width: 992px) {
    .custom-quote-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .custom-quote-features {
        grid-template-columns: 1fr;
    }
}

/* Comparison Table */
.comparison-section {
    background: var(--bg-secondary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-elevated);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.comparison-table td {
    color: var(--text-muted);
}

.comparison-table tbody tr:hover {
    background: rgba(63, 140, 255, 0.05);
}

/* Forms */
.quote-form-wrapper,
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.quote-form,
.contact-form {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Why Section */
.why-section {
    background: var(--bg-secondary);
}

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

.why-item {
    padding: 1.5rem;
}

.why-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    color: #0a0c18;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    margin-bottom: 0.75rem;
}

.why-item p {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: radial-gradient(circle at center, rgba(63, 140, 255, 0.15), transparent 70%);
}

.cta-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.cta-card h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Styles */
.mission-section {
    padding: 4rem 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-text h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.mission-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.mission-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.values-section {
    background: var(--bg-secondary);
}

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

.value-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

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

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

.infra-item {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.infra-item h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.infra-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

.focus-section {
    background: var(--bg-secondary);
}

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

.focus-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.focus-item:last-child {
    border-bottom: none;
}

.focus-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: #0a0c18;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.focus-content h3 {
    margin-bottom: 0.75rem;
}

.focus-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.method-icon {
    font-size: 2rem;
    width: 50px;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.method-content a {
    color: var(--accent);
    font-weight: 500;
}

.method-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.enterprise-only {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(156, 83, 255, 0.2) 0%, rgba(109, 115, 255, 0.2) 100%);
    border: 1px solid rgba(156, 83, 255, 0.4);
    border-radius: var(--radius-sm);
    color: #9c53ff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.discord-cta {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, var(--bg-elevated) 100%);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 3.5rem;
    text-align: center;
}

.discord-cta h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.discord-cta p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.discord-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.discord-cta .btn span {
    font-size: 1.2rem;
}

.business-hours {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
}

.business-hours h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

/* FAQ Section */
.faq-section {
    background: var(--bg-secondary);
}

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

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Client Portal Page */
.portal-overview-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.portal-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: #0a0c18;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.flow-step h3 {
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--accent);
}

/* Client Login Section */
.client-login-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.login-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.login-info > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-benefits {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.login-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.login-note a {
    color: var(--accent);
    font-weight: 600;
}

.login-form-container {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-redirect-box {
    text-align: center;
}

.login-redirect-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.redirect-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.panel-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.panel-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.panel-option:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.panel-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.panel-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.panel-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.portal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.portal-links a {
    color: var(--accent);
    text-decoration: none;
}

.portal-links a:hover {
    text-decoration: underline;
}

.portal-links .divider {
    color: var(--text-muted);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    color: #10b981;
    font-size: 0.9rem;
}

.security-badge a {
    color: #10b981;
    font-weight: 600;
    text-decoration: underline;
}

.security-badge a:hover {
    color: #059669;
}

.badge-icon {
    font-size: 1.2rem;
}

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

.portal-access-section {
    padding: 4rem 0;
}

.portal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

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

.portal-cards-four {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .portal-cards-three {
        grid-template-columns: 1fr;
    }
}

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

.portal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.portal-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
}

.portal-icon {
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.portal-card h2 {
    margin-bottom: 1rem;
}

.portal-card > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.portal-features {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.portal-features h4 {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.portal-features ul {
    list-style: none;
}

.portal-features li {
    padding: 0.4rem 0;
    padding-left: 1.3rem;
    position: relative;
    color: var(--text-muted);
}

.portal-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.portal-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.portal-note a {
    color: var(--accent);
    font-weight: 500;
}

.quick-links-section {
    background: var(--bg-secondary);
}

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

.quick-link-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.quick-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
}

.link-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.quick-link-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.help-section {
    padding: 3rem 0;
}

.help-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.help-content h2 {
    margin-bottom: 1rem;
}

.help-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.help-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.security-notice-section {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

.security-notice {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notice-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notice-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: #05070d;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3rem 0 2rem;
    margin-top: auto;
    margin-left: var(--sidebar-width);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links,
.footer-contact {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.footer-contact li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-disclaimer {
    margin-top: 0.75rem;
    opacity: 0.7;
}

.footer-disclaimer small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

@media (max-width: 1024px) {
    :root {
        --sidebar-width: 260px;
    }

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

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

    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    /* Hide sidebar, show mobile header */
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
        padding-top: var(--mobile-header-height);
    }

    .sidebar.active {
        transform: translateX(0);
        z-index: 1050;
    }

    .sidebar-overlay {
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding-top: var(--mobile-header-height);
    }

    .site-footer {
        margin-left: 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
    }

    .portal-cards {
        grid-template-columns: 1fr;
    }

    .portal-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

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

    .category-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

@media (max-width: 480px) {
    .page-header {
        padding: 2rem 0 1.5rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

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

    .quote-form,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scroll for anchor links */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Datacenter location footnote */
.location-footnote {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
    font-size: 0.875rem;
}

/* VPS Grid - 4 cards horizontal */
.vps-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
}

.vps-grid .pricing-card {
    min-width: 0;
}

@media (max-width: 1600px) {
    .vps-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 1200px) {
    .vps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

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

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    background: var(--bg-elevated);
    border-top: 2px solid var(--accent);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    z-index: 999;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.cookie-consent.show {
    display: block;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

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

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

/* FAQ Search Section */
.faq-search-section {
    padding: 2rem 0;
    background: var(--surface-color);
}

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

.faq-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 140, 255, 0.1);
}

.faq-search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-muted);
    pointer-events: none;
}

.faq-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* FAQ Categories Navigation */
.faq-categories-section {
    padding: 1.5rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.faq-category-pills {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
}

.faq-category-pills::-webkit-scrollbar {
    height: 4px;
}

.faq-category-pills::-webkit-scrollbar-track {
    background: var(--surface-color);
    border-radius: 2px;
}

.faq-category-pills::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 2px;
}

.category-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--surface-color);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* FAQ Content Section */
.faq-content-section {
    padding: 3rem 0;
}

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

.faq-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(4, 8, 18, 0.1);
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

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

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

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

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-answer code {
    background: var(--surface-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.faq-answer blockquote {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--surface-color);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

.faq-answer table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.faq-answer table td,
.faq-answer table tr {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
}

.faq-answer table tr:first-child {
    background: var(--surface-color);
    font-weight: 600;
}

/* No Results Message */
.faq-no-results {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--surface-color);
    border-radius: 12px;
    margin: 2rem 0;
}

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

.faq-no-results a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-no-results a:hover {
    text-decoration: underline;
}

/* FAQ CTA Section */
.faq-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.faq-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.faq-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-buttons .btn {
    min-width: 150px;
}

.faq-cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.faq-cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.faq-cta-buttons .btn-ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.faq-cta-buttons .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }

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

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-icon {
        font-size: 1.25rem;
    }

    .faq-cta {
        padding: 2rem 1.5rem;
    }

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

    .faq-cta p {
        font-size: 1rem;
    }

    .faq-cta-buttons {
        flex-direction: column;
    }

    .faq-cta-buttons .btn {
        width: 100%;
    }

    .faq-category-pills {
        gap: 0.5rem;
    }

    .category-pill {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

/* ========================================
   FAQ Dark Theme Override
   ======================================== */

/* Override FAQ styles for dark theme */
.faq-search-section {
    background: var(--bg-primary);
}

.faq-search-input {
    background: var(--surface-color);
    color: var(--text-primary);
    border-color: rgba(166, 173, 202, 0.2);
}

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

.faq-categories-section {
    background: var(--bg-primary);
    border-bottom-color: rgba(166, 173, 202, 0.1);
}

.faq-content-section {
    background: var(--bg-primary);
}

.faq-item {
    background: var(--surface-color);
    border-color: rgba(166, 173, 202, 0.2);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(63, 140, 255, 0.2);
}

.faq-no-results {
    background: var(--surface-color);
}

.faq-answer code {
    background: var(--bg-primary);
}

.faq-answer blockquote {
    background: var(--bg-primary);
}

.faq-answer table tr:first-child {
    background: var(--bg-primary);
}

.faq-answer table td,
.faq-answer table tr {
    border-color: rgba(166, 173, 202, 0.2);
}

/* Fix FAQ expansion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 5000px !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* ========================================
   Legal Pages (TOS/AUP) Styles
   ======================================== */

.legal-content-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(4, 8, 18, 0.1);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(166, 173, 202, 0.1);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

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

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.contact-box {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 1rem 0;
}

.contact-box p {
    margin: 0;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-color);
    text-align: center;
}

.legal-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .legal-section ul {
        padding-left: 1.5rem;
    }
}

/* Footer legal links styling */
.footer-legal-links {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

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

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

/* Fix FAQ blockquote visibility in dark theme */
.faq-answer blockquote {
    background: var(--surface-color) !important;
    color: var(--text-primary) !important;
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    margin: 1rem 0;
}

.faq-answer blockquote strong {
    color: var(--primary-color);
}
