
/* --- START: base/_variables.css --- */
:root {
    --primary: #000000;
    --primary-light: #333333;
    --primary-glow: rgba(0, 0, 0, 0.1);
    
    --secondary: #f0f4f8;
    --light: #ffffff;
    --dark: #111111;
    --gray: #666666;
    --gray-light: #f7f9fa;
    --line-color: rgba(0, 0, 0, 0.05);
    
    --highlight: #E5FF45;
    --highlight-blue: #2E5BFF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --offer-color: #F97316;
    --offer-bg: #FFF7ED;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}
/* --- START: base/_reset.css --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

body {
    font-family: var(--font-body);
    background-color: var(--light); 
    color: var(--gray);
    line-height: 1.6; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
/* --- START: components/_buttons.css --- */
.login-button {
    display: flex; align-items: center; color: var(--dark); text-decoration: none;
    font-weight: 500; transition: color 0.3s; padding: 8px 16px;
    border: 1px solid var(--gray); border-radius: 6px;
}
.login-button:before {
    content: ''; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d3557' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
    width: 16px; height: 16px; display: inline-block; margin-right: 8px;
}
.login-button:hover { color: var(--primary); border-color: var(--primary); }

.cta-button {
    background-color: var(--primary); color: white; border: none;
    padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    text-decoration: none; display: inline-block;
}
.cta-button:hover {
    background-color: var(--primary-light); transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.white-button {
    background-color: white; color: var(--primary); border: none;
    padding: 12px 30px; border-radius: 6px; font-weight: 600; cursor: pointer;
    transition: all 0.3s; text-decoration: none; display: inline-block;
}
.white-button:hover {
    background-color: var(--light); transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.outline-button {
    background-color: transparent; color: white; border: 2px solid white;
    padding: 10px 28px; border-radius: 6px; font-weight: 600; cursor: pointer;
    transition: all 0.3s; text-decoration: none; display: inline-block;
}
.outline-button:hover {
    background-color: rgba(255, 255, 255, 0.1); transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* --- START: components/_forms.css --- */
/* Generella Input-fält */
.form-container { max-width: 800px; margin: 50px auto; padding: 20px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; margin-bottom: 8px; color: var(--dark); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 12px; border: 2px solid var(--gray-light); border-radius: 5px; transition: all 0.3s;
}
.form-row input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1); }
.form-row input::placeholder { color: #999; font-style: italic; }
.required-field::after { content: "*"; color: var(--primary); margin-left: 4px; }
.hidden-field { display: none; }

/* Submit Button Override */
.submit-button {
    background-color: var(--primary); color: white; padding: 15px 30px;
    border: none; border-radius: 6px; cursor: pointer; font-size: 16px;
    font-weight: 600; transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; width: 100%;
}
.submit-button:hover {
    background-color: var(--primary-light); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Alerts & Info */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.alert-success { background-color: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-error { background-color: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.info-text { font-size: 14px; color: #666; margin-top: 5px; }

/* Phone input fixes */
.iti { width: 100%; }
.iti__flag-container { right: auto; left: 0; }
.country-select { padding-left: 90px !important; }
.iti__country-list { max-height: 200px; width: 350px; overflow-y: scroll; }
.iti__flag { margin-right: 8px; }
/* --- START: components/_status-indicator.css --- */
/* --- STATUS INDICATOR (Gemensam stil) --- */
.status-indicator { position: relative; margin-right: 10px; z-index: 1001; }

.status-indicator-dot {
    display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px;
}
.status-indicator-dot.operational { background-color: var(--success); }
.status-indicator-dot.degraded, .status-indicator-dot.maintenance { background-color: var(--warning); }
.status-indicator-dot.outage { background-color: var(--danger); }
.status-indicator-text { font-size: 13px; color: var(--dark); }

/* Dropdown för desktop */
.status-dropdown {
    display: none; position: absolute; top: 25px; right: 0; background: white;
    width: 250px; border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 15px; z-index: 1000; text-align: left;
}
.status-indicator:hover .status-dropdown { display: block; }
.status-indicator:after {
    content: ""; position: absolute; height: 15px; bottom: -15px; left: 0; right: 0; z-index: 999;
}

/* --- MOBILE STATUS (Dold som standard på desktop) --- */
.mobile-status-indicator { display: none; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    /* Visa mobil-varianten */
    .mobile-status-indicator {
        display: flex;
        align-items: center;
        margin-left: auto;  /* Tryck den till höger mot menyn */
        
        /* VIKTIGT: 60px marginal gör att den inte ligger under hamburgermenyn */
        margin-right: 60px; 
        
        background-color: rgba(255, 255, 255, 0.8);
        padding: 4px 8px;
        border-radius: 4px;
        
        /* VIKTIGT: Ingen understrykning på länken */
        text-decoration: none;
    }
    
    .mobile-status-indicator .status-indicator-text {
        font-size: 12px;
        font-weight: 600;
        color: var(--dark);
    }

    /* Göm desktop-varianten helt på mobil för säkerhets skull */
    .nav-buttons .status-indicator {
        display: none !important;
    }
}
/* --- START: sections/_header.css --- */
header {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    position: fixed; width: 100%; top: 0; z-index: 1000; transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; transition: padding 0.3s ease; position: relative;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-image { height: 32px; width: auto; max-width: 200px; filter: grayscale(100%) contrast(1000%); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: var(--gray); text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }

.nav-buttons { display: flex; align-items: center; gap: 16px; }

/* Buttons inside header */
.login-button {
    color: var(--dark); text-decoration: none; font-weight: 600; font-size: 15px; transition: opacity 0.2s;
}
.login-button:hover { opacity: 0.7; }

.cta-button {
    background-color: var(--primary); color: white; padding: 10px 20px;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.cta-button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: white; }

/* Status indicator adjustments for new sleek header */
.status-indicator { position: relative; }
.status-indicator-text { font-size: 14px; font-weight: 500; color: var(--dark); }
.status-indicator-dot { margin-right: 6px; }

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--light);
    z-index: 2000; display: flex; flex-direction: column; justify-content: center;
    align-items: center; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-links {
    flex-direction: column; align-items: center; gap: 20px; margin-bottom: 40px; display: flex;
}
.mobile-menu .nav-links a { font-size: 24px; font-weight: 600; color: var(--dark); padding: 10px 0; display: block; }
.mobile-menu .nav-buttons {
    flex-direction: column; width: 80%; max-width: 300px; display: flex; gap: 15px;
}
.mobile-menu .login-button, .mobile-menu .cta-button {
    width: 100%; text-align: center; justify-content: center; padding: 14px; font-size: 16px;
}
.mobile-menu .close-menu {
    position: absolute; top: 20px; right: 20px; background: none; border: none;
    font-size: 24px; color: var(--dark); cursor: pointer; padding: 10px; z-index: 2001;
}
.mobile-menu-toggle {
    display: none; background: none; border: none; font-size: 24px;
    color: var(--dark); cursor: pointer; padding: 5px;
}

/* Responsive adjustments for header */
@media (max-width: 900px) {
    .nav-links, .nav-buttons { display: none; }
    .mobile-menu-toggle { display: block; }
}
/* --- START: sections/_footer.css --- */
footer {
    position: relative;
    background-color: var(--light);
    color: var(--gray);
    padding: 100px 0 40px;
    border-top: 1px solid var(--line-color);
    overflow: hidden;
}

/* The Mesh Gradient Fade Effect inspired by Overflow.io */
footer::after {
    content: '';
    position: absolute;
    bottom: -200px; right: -200px;
    width: 800px; height: 800px;
    background: radial-gradient(circle at 60% 60%, rgba(0, 122, 255, 0.1) 0%, rgba(223, 76, 246, 0.08) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: breatheGradient 8s ease-in-out infinite alternate;
}

@keyframes breatheGradient {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.1) translate(-20px, -20px); opacity: 1; }
    100% { transform: scale(0.95) translate(10px, 10px); opacity: 0.8; }
}

.footer-container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-column.brand-col {
    padding-right: 40px;
}
.footer-logo {
    height: 32px;
    margin-bottom: 24px;
    filter: grayscale(100%) contrast(1000%);
}
.footer-brand-text {
    font-size: 15px; line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

.footer-column h3 {
    font-size: 13px;
    margin-bottom: 24px;
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 16px; }
.footer-column a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}
.footer-column a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--dark);
    transition: width 0.3s ease;
}
.footer-column a:hover {
    color: var(--dark);
    transform: translateX(4px);
}
.footer-column a:hover::after {
    width: 100%;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: #888;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright-links {
    display: flex; gap: 24px;
}
.copyright-links a {
    color: #888; text-decoration: none; transition: color 0.2s;
}
.copyright-links a:hover { color: var(--dark); }

@media (max-width: 900px) {
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .copyright { flex-direction: column; text-align: center; gap: 20px; }
    .copyright-links { justify-content: center; flex-wrap: wrap; }
}
/* --- START: sections/_cta-bar.css --- */
/* --- GLOBAL CTA SECTION (OVERFLOW.IO STYLE) --- */
.cta-section {
    padding: 100px 0;
    background-color: #1c1c1e;
    color: white;
    text-align: center;
    position: relative;
}

.cta-section h2 {
    color: white !important;
    font-size: 48px !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    margin-bottom: 24px !important;
}

.cta-section p {
    color: #a1a1aa !important;
    font-size: 20px !important;
    max-width: 600px !important;
    margin: 0 auto 40px !important;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button-light {
    background: white;
    color: #1c1c1e !important;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 16px;
}

.cta-button-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .cta-section { padding: 60px 20px; }
    .cta-section h2 { font-size: 36px !important; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-button-light { justify-content: center; width: 100%; }
}
/* --- START: pages/_home.css --- */
/* =========================================
   HOME PAGE (INDEX.PHP) - REDESIGN (Overflow.io style)
   ========================================= */

/* Hero Section with Mesh Gradient */
.hero-mesh {
    position: relative;
    padding: 140px 0 100px;
    background-color: var(--light);
    overflow: hidden;
    text-align: center;
}
.hero-mesh::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%; width: 140%; height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 220, 100, 0.25) 0%, transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(100, 150, 255, 0.25) 0%, transparent 40%),
                radial-gradient(circle at 40% 80%, rgba(200, 100, 255, 0.2) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}
.hero-content {
    position: relative; z-index: 2; max-width: 900px; margin: 0 auto;
}
.hero-tag {
    display: inline-flex; align-items: center; background: white;
    border: 1px solid rgba(0,0,0,0.08); padding: 6px 16px 6px 6px; border-radius: 40px;
    font-size: 14px; font-weight: 600; margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); color: var(--dark);
}
.hero-tag span.badge {
    background: var(--highlight); color: var(--dark);
    padding: 4px 10px; border-radius: 20px; margin-right: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.hero-text h1 {
    font-size: 72px; font-weight: 900; line-height: 1.05; margin-bottom: 24px;
    letter-spacing: -0.03em; color: var(--dark);
}
.hero-text p {
    font-size: 21px; color: var(--gray); margin-bottom: 48px;
    max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.5;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; align-items: center; }
.btn-primary {
    background: var(--dark); color: white; padding: 16px 32px;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); color: white; }
.btn-secondary {
    background: transparent; color: var(--dark); padding: 16px 24px;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px;
    transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(0,0,0,0.05); }

/* Floating Mockup */
.hero-mockup {
    position: relative; z-index: 2; margin-top: 80px;
    background: white; border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.08); padding: 8px;
    border: 1px solid rgba(0,0,0,0.05); max-width: 1040px; margin-left: auto; margin-right: auto;
}
.mockup-inner {
    background: var(--secondary); border-radius: 18px; height: 540px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    position: relative;
}

/* Feature Sections */
/* Trusted Brands Banner */
.trusted-brands {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}
.trusted-brands p {
    font-size: 14px; font-weight: 600; color: #888;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 32px;
}
.brands-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}
.logo-wrapper {
    height: 45px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(40%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    mix-blend-mode: multiply;
    transform: scale(var(--base-scale, 1));
}
.logo-wrapper:hover .brand-logo {
    filter: grayscale(0%) opacity(100%);
    transform: scale(var(--hover-scale, 1.1));
}

.feature-section { padding: 140px 0; background: white; }
.feature-row {
    display: flex; align-items: center; gap: 100px; margin-bottom: 160px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h2 { font-size: 48px; font-weight: 800; margin-bottom: 24px; line-height: 1.1; letter-spacing: -0.02em; }
.feature-text p { font-size: 18px; color: var(--gray); margin-bottom: 32px; line-height: 1.6; }

.feature-visual {
    flex: 1.2; background: var(--secondary); border-radius: 32px;
    height: 500px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}

/* Sticker Elements for fun vibe */
.sticker {
    position: absolute; background: white; padding: 10px 20px;
    border-radius: 40px; font-weight: bold; font-size: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.05);
    z-index: 10;
}
.sticker.blue { background: var(--highlight-blue); color: white; }
.sticker.yellow { background: var(--highlight); color: var(--dark); }

/* Feature Grid */
.grid-container { padding: 40px 0 100px; background: white; }
.section-header { text-align: center; margin-bottom: 80px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 42px; font-weight: 800; margin-bottom: 20px; }
.section-header p { font-size: 18px; color: var(--gray); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-card {
    background: var(--gray-light); border-radius: 20px; padding: 40px;
    transition: transform 0.3s ease; border: 1px solid transparent;
}
.grid-card:hover { transform: translateY(-5px); border-color: rgba(0,0,0,0.05); background: white; box-shadow: 0 12px 30px rgba(0,0,0,0.05); }
.icon-box {
    width: 56px; height: 56px; background: white; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); font-size: 24px; color: var(--dark);
}
.grid-card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.grid-card p { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* Stats Banner */
.stats-banner { 
    padding: 80px 0; background: var(--dark); color: white; text-align: center; 
    border-radius: 32px; margin: 40px 0; position: relative; overflow: hidden;
}
.stats-grid { display: flex; justify-content: space-around; max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.stat-item h4 { font-size: 64px; font-weight: 900; color: white; margin-bottom: 8px; }
.stat-item p { color: rgba(255,255,255,0.7); font-size: 18px; font-weight: 500; }

/* Testimonials */
.testimonials { padding: 120px 0; background: var(--gray-light); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.testi-card { background: white; padding: 48px; border-radius: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.testi-text { font-size: 20px; line-height: 1.6; color: var(--dark); margin-bottom: 32px; font-weight: 500; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--secondary); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; color: var(--dark); }
.author-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.author-info p { font-size: 14px; color: var(--gray); margin: 0; }

/* CTA Bottom */
.bottom-cta { padding: 140px 0; text-align: center; background: var(--dark); color: white; }
.bottom-cta h2 { font-size: 56px; font-weight: 900; margin-bottom: 24px; letter-spacing: -0.02em; color: white; }
.bottom-cta p { font-size: 21px; color: rgba(255, 255, 255, 0.7); margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.bottom-cta .btn-primary { background: white; color: var(--dark); }
.bottom-cta .btn-primary:hover { background: white; color: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,255,255,0.15); }

/* UI Mockup Details inside the visual areas */
.ui-skeleton { width: 80%; height: 80%; background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; flex-direction: column; overflow: hidden; }
.ui-top { height: 40px; background: #f9f9f9; border-bottom: 1px solid #eee; display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.ui-dot { width: 10px; height: 10px; border-radius: 50%; background: #e0e0e0; }
.ui-body { display: flex; flex: 1; }
.ui-sidebar { width: 60px; background: #f4f5f7; border-right: 1px solid #eee; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ui-item { height: 12px; background: #e0e0e0; border-radius: 4px; }
.ui-content { flex: 1; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.ui-car-shape { width: 60%; height: 40px; background: rgba(0,0,0,0.05); border-radius: 20px 20px 0 0; border: 2px dashed rgba(0,0,0,0.1); }

@media(max-width: 900px) {
    .hero-text h1 { font-size: 48px; }
    .hero-mesh { padding: 100px 0 60px; }
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 40px; }
    .feature-text h2 { font-size: 36px; }
    .feature-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; gap: 40px; }
    .stat-item h4 { font-size: 48px; }
    .bottom-cta h2 { font-size: 40px; }
    
    /* Dölj de flytande klistermärkena på mobil så de inte täcker viktig text */
    .sticker { display: none !important; }
}

/* SEO Content Section */
.seo-section {
    padding: 100px 0;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.03);
}
.seo-container {
    max-width: 800px;
    margin: 0 auto;
}
.seo-block {
    margin-bottom: 48px;
}
.seo-block:last-child {
    margin-bottom: 0;
}
.seo-block h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.02em;
}
.seo-block h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
    letter-spacing: -0.01em;
}
.seo-block p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}
.seo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.seo-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}
.seo-list li i {
    color: var(--success);
    font-size: 14px;
    margin-top: 5px;
}
/* --- START: pages/_pricing.css --- */
/* --- PRICING PAGE OVERHAUL (OVERFLOW.IO CLONE) --- */

.pricing-hero {
    padding: 220px 0 40px; /* Accounts for fixed transparent header */
    background-color: #f9fafb;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-hero h1 { font-size: 72px; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); margin-bottom: 24px; position: relative; z-index: 2; }
.pricing-hero p { font-size: 20px; color: var(--gray); max-width: 600px; margin: 0 auto; position: relative; z-index: 2; line-height: 1.6; }

.pricing-section { padding: 40px 0 120px; background: #f9fafb; position: relative; z-index: 2; overflow: hidden; }

/* Subtle Ambient Background Gradients (Overflow Style) */
.pricing-section::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 60%);
    bottom: 20%; left: -10%; z-index: 0; filter: blur(60px); pointer-events: none;
}
.pricing-section::after {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 86, 214, 0.15) 0%, transparent 60%);
    top: 20%; right: -10%; z-index: 0; filter: blur(60px); pointer-events: none;
}

/* Toggle */
.pricing-toggle { display: flex; justify-content: center; align-items: center; margin-bottom: 60px; gap: 20px; position: relative; z-index: 2; }
.toggle-label { font-size: 16px; font-weight: 600; color: #8e8e93; transition: color 0.3s; }
.toggle-label.active { color: #1c1c1e; font-weight: 700; }
.toggle-switch {
    position: relative; width: 64px; height: 32px; border-radius: 20px;
    background: #e5e5ea; cursor: pointer; transition: background 0.3s;
}
.toggle-switch.yearly { background: #1c1c1e; }
.toggle-slider {
    position: absolute; top: 3px; left: 3px; width: 26px; height: 26px;
    border-radius: 50%; background: white; transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.toggle-switch.yearly .toggle-slider { transform: translateX(32px); }
.save-badge {
    background: #e5e5ea; color: #1c1c1e; font-size: 12px; font-weight: 700;
    padding: 4px 10px; border-radius: 20px; margin-left: 8px; vertical-align: middle;
}

/* Grid */
.pricing-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; align-items: stretch; }

/* Cards (Overflow Style) */
.pricing-card {
    background: #ffffff; border-radius: 24px; padding: 48px 32px; display: flex; flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02); border: none;
    transition: transform 0.3s; position: relative;
}
.pricing-card:hover { transform: translateY(-5px); }

/* Card Titles */
.pricing-card-title { font-size: 18px; font-weight: 800; text-align: center; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.5px; }
.card-basic .pricing-card-title { color: #007aff; }
.card-pro .pricing-card-title { color: #5856d6; }
.card-enterprise .pricing-card-title { color: #1c1c1e; }

/* Price Block */
.pricing-price-box { text-align: center; margin-bottom: 32px; min-height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.pricing-price { display: flex; align-items: flex-start; justify-content: center; color: #000000; }
.pricing-price .currency { font-size: 24px; font-weight: 700; margin-top: 8px; margin-right: 4px; }
.pricing-price .amount { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pricing-subtitle { font-size: 14px; color: #8e8e93; font-weight: 500; margin-top: 12px; }

/* Enterprise Banner */
.enterprise-banner {
    background: #f2f2f7; border-radius: 8px; padding: 12px 24px; width: 85%; margin: 0 auto;
    font-size: 14px; font-weight: 500; color: #1c1c1e; display: flex; justify-content: center; align-items: center; gap: 8px;
}
.enterprise-banner strong { font-weight: 700; }

/* Divider */
.pricing-divider { width: 100%; height: 1px; background: #e5e5ea; margin-bottom: 32px; }

/* Features List */
.pricing-features { list-style: none; padding: 0; margin: 0 0 40px 0; flex-grow: 1; }
.pricing-features li {
    font-size: 15px; color: #1c1c1e; font-weight: 500; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; line-height: 1.4;
}
.pricing-features .check-icon {
    width: 18px; height: 18px; background: #000000; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 10px; font-weight: 900; flex-shrink: 0;
}
.pricing-features li.not-included { color: #8e8e93; }
.pricing-features li.not-included .check-icon { background: #e5e5ea; color: #8e8e93; }

/* Buttons */
.button-group { margin-top: auto; display: flex; flex-direction: column; align-items: center; }
.pricing-button {
    width: 100%; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: center;
    text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; display: flex; justify-content: center; align-items: center; gap: 8px;
}
.btn-primary { background: #000000; color: white; }
.btn-primary:hover { background: #1c1c1e; transform: scale(1.02); }
.btn-secondary { background: #e5e5ea; color: #1c1c1e; }
.btn-secondary:hover { background: #d1d1d6; }

.sub-action-link { font-size: 14px; color: #007aff; font-weight: 500; text-decoration: none; margin-top: 16px; transition: opacity 0.2s; }
.sub-action-link:hover { opacity: 0.7; }

/* Footnote */
.pricing-footnote { text-align: center; margin-top: 48px; font-size: 14px; color: #8e8e93; font-weight: 500; position: relative; z-index: 2; }

/* Compare Table (Cleaner) */
.compare-section { padding: 100px 0; background: white; }
.table-container { overflow-x: auto; max-width: 1000px; margin: 0 auto; background: white; border-radius: 16px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 24px; font-size: 18px; font-weight: 800; color: var(--dark); border-bottom: 2px solid rgba(0,0,0,0.05); text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,0.05); color: #334155; font-size: 15px; text-align: center; }
.compare-table td.feature-name { text-align: left; font-weight: 600; color: var(--dark); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: #000000; font-size: 18px; }
.compare-table .cross { color: #e5e5ea; font-size: 18px; }
.category-header td { background: #f8fafc; font-weight: 800; color: #8e8e93; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; text-align: left !important; border-radius: 8px; }

/* Accordion FAQs (Cleaned up) */
.faq-section { padding: 100px 0; background: #f9fafb; }
.faq-container { max-width: 800px; margin: 0 auto; }
.accordion { margin-bottom: 12px; background: white; border-radius: 12px; border: 1px solid rgba(0,0,0,0.04); overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: box-shadow 0.3s; }
.accordion:hover { box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
.accordion-header { padding: 24px; font-size: 18px; font-weight: 700; color: var(--dark); cursor: pointer; position: relative; user-select: none; transition: background-color 0.3s; }
.accordion-header::after {
    content: '\f067'; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--dark); transition: transform 0.3s;
}
.accordion.active .accordion-header::after { content: '\f068'; transform: translateY(-50%) rotate(180deg); }
.accordion-content { max-height: 0; padding: 0 24px; overflow: hidden; transition: all 0.3s ease; color: #64748b; font-size: 16px; line-height: 1.6; }
.accordion.active .accordion-content { max-height: 1000px; padding: 0 24px 24px; }

/* Custom / Enterprise Sections simplified */
.custom-section { padding: 100px 0; background: white; text-align: center; }

@media (max-width: 992px) {
    .pricing-plans { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-hero h1 { font-size: 48px; }
}
/* --- START: pages/_features.css --- */
/* --- FEATURES PAGE OVERHAUL (OVERFLOW.IO STYLE) --- */

.features-hero {
    padding: 220px 0 100px; /* Accounts for fixed transparent header */
    background-color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.features-hero::before {
    content: '';
    position: absolute;
    top: -30%; left: 0%; width: 100%; height: 150%;
    background: radial-gradient(circle at 50% 20%, rgba(230, 57, 70, 0.06) 0%, transparent 40%),
                radial-gradient(circle at 20% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}
.features-hero .container { position: relative; z-index: 2; max-width: 900px; }
.features-hero h1 {
    font-size: 84px; font-weight: 900; line-height: 1.05; letter-spacing: -0.04em;
    color: var(--dark); margin-bottom: 24px;
}
.features-hero p {
    font-size: 22px; color: var(--gray); line-height: 1.6; max-width: 700px; margin: 0 auto;
}

/* Bento Grid */
.bento-section { padding: 80px 0; background: white; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 24px;
}
.bento-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.bento-card.span-2 { grid-column: span 2; }
.bento-content { position: relative; z-index: 2; }
.bento-content h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; color: var(--dark); letter-spacing: -0.5px; }
.bento-content p { font-size: 16px; color: #64748b; line-height: 1.5; margin-bottom: 24px; }
.bento-visual { flex-grow: 1; display: flex; align-items: flex-end; justify-content: center; position: relative; z-index: 1; }

/* Deep Dives */
.feature-deep-dive { padding: 100px 0; background: white; }
.deep-dive-row {
    display: flex; align-items: center; gap: 80px; margin-bottom: 140px;
}
.deep-dive-row:last-child { margin-bottom: 0; }
.deep-dive-row.reverse { flex-direction: row-reverse; }
.deep-dive-text { flex: 1; }
.feature-badge {
    display: inline-block; padding: 6px 14px; background: rgba(230, 57, 70, 0.1);
    color: var(--primary); font-size: 13px; font-weight: 800; border-radius: 20px;
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 24px;
}
.deep-dive-text h2 { font-size: 48px; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 24px; line-height: 1.1; color: var(--dark); }
.deep-dive-text p { font-size: 20px; color: #64748b; margin-bottom: 32px; line-height: 1.6; }

.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.clean-list li i { color: var(--primary); background: rgba(230, 57, 70, 0.1); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; }

.deep-dive-visual { flex: 1.2; position: relative; }
.abstract-window {
    background: white; border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.05);
    aspect-ratio: 4/3; display: flex; flex-direction: column;
}
.window-header {
    background: #f8fafc; padding: 16px; display: flex; gap: 8px; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.window-header span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.window-header span:nth-child(1) { background: #ff5f56; }
.window-header span:nth-child(2) { background: #ffbd2e; }
.window-header span:nth-child(3) { background: #27c93f; }
.window-body { flex-grow: 1; background: #fafcff; position: relative; overflow: hidden; display: flex; flex-direction: column; }

/* FAQ Updates (Clean Style) */
.faq-section { padding: 100px 0; background: #f8fafc; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 12px; border-radius: 12px; overflow: hidden;
    background: white; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    cursor: pointer; transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
.faq-question {
    background-color: white; padding: 24px; position: relative;
    font-size: 18px; font-weight: 700; transition: background-color 0.3s;
    display: flex; align-items: center; color: var(--dark); user-select: none;
}
.faq-question .fa-plus { display: inline-block; margin-right: 15px; color: var(--primary); font-size: 14px; }
.faq-question .fa-minus { display: none; margin-right: 15px; color: var(--primary); font-size: 14px; }
.faq-item.active .fa-plus { display: none; }
.faq-item.active .fa-minus { display: inline-block; }
.faq-item.active .faq-answer { padding: 0 24px 24px; max-height: 1000px; opacity: 1; }
.faq-answer {
    background-color: white; padding: 0 24px; max-height: 0; overflow: hidden;
    transition: all 0.3s ease; color: #64748b; font-size: 16px; line-height: 1.6; opacity: 0;
}
.faq-answer p { margin: 0; }

/* CTA Updates */
.cta-section { background: var(--dark); color: white; padding: 120px 0; text-align: center; }

@media (max-width: 992px) {
    .features-hero h1 { font-size: 52px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.span-2 { grid-column: span 1; }
    .deep-dive-row, .deep-dive-row.reverse { flex-direction: column; gap: 40px; margin-bottom: 80px; }
    .deep-dive-visual { width: 100%; }
    .deep-dive-text h2 { font-size: 36px; }
    
    /* Låt fönstret växa på höjden på mobil för att undvika att innehållet klipps av */
    .abstract-window { aspect-ratio: auto; min-height: 350px; }
}
/* --- START: pages/_machines.css --- */
/* --- MACHINES PAGE --- */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: white; padding: 100px 0 80px; position: relative; overflow: hidden;
}
.plotter-showcase {
    background: rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 40px;
    backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.plotter-image {
    width: 100%; max-width: 400px; height: 300px;
    background: linear-gradient(45deg, #ddd 25%, transparent 25%), 
                linear-gradient(-45deg, #ddd 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #ddd 75%), 
                linear-gradient(-45deg, transparent 75%, #ddd 75%);
    background-size: 20px 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--gray); font-size: 18px; margin-bottom: 20px;
}
.price-badge {
    position: absolute; top: 20px; right: 20px; background: var(--primary);
    color: white; padding: 10px 20px; border-radius: 20px; font-weight: 700;
    font-size: 18px; box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}
.specs-section { padding: 80px 0; background-color: var(--gray-light); }
.specs-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.specs-content h2 { font-size: 36px; margin-bottom: 30px; color: var(--dark); }
.specs-content p { font-size: 18px; margin-bottom: 30px; color: var(--gray); }
.specs-table {
    background: white; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); overflow: hidden;
}
.specs-table table { width: 100%; border-collapse: collapse; }
.specs-table th { background-color: var(--dark); color: white; padding: 15px 20px; text-align: left; font-weight: 600; }
.specs-table td { padding: 12px 20px; border-bottom: 1px solid var(--gray-light); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) { background-color: #f9f9f9; }
.highlight-spec { background-color: #f8e1e3 !important; font-weight: 600; color: var(--dark); }
.benefits-section {
    padding: 80px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white;
}
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.benefit-item { text-align: center; padding: 20px; }
.benefit-number { font-size: 48px; font-weight: 700; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
.benefit-text { font-size: 18px; opacity: 0.9; }
.package-section { padding: 80px 0; background-color: white; }
.package-card {
    background-color: var(--gray-light); border-radius: 15px; padding: 40px;
    text-align: center; position: relative; transition: transform 0.3s, box-shadow 0.3s;
}
.package-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
.package-card.featured { border: 3px solid var(--primary); background: linear-gradient(135deg, white 0%, var(--light) 100%); }
.package-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 8px 25px;
    border-radius: 20px; font-weight: 700; font-size: 14px;
}
.package-card h3 { font-size: 28px; margin-bottom: 20px; color: var(--dark); }
.package-price { font-size: 42px; font-weight: 700; color: var(--primary); margin-bottom: 30px; }
.package-features { list-style: none; margin-bottom: 30px; }
.package-features li { margin-bottom: 12px; padding-left: 25px; position: relative; text-align: left; }
.package-features li:before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.package-button {
    background: var(--primary); color: white; border: none; padding: 12px 30px;
    border-radius: 6px; font-weight: 600; cursor: pointer; transition: all 0.3s;
    text-decoration: none; display: inline-block; width: 100%;
}
.package-button:hover { background: var(--dark); transform: translateY(-2px); }

/* Responsive Machines */
@media (max-width: 768px) {
    .specs-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-buttons { justify-content: center; }
}
/* --- START: pages/_contact.css --- */
/* --- CONTACT PAGE OVERHAUL (OVERFLOW.IO CLONE) --- */

.contact-hero {
    padding: 220px 0 60px; /* Accounts for fixed transparent header */
    background-color: #f9fafb;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 60%);
    top: -20%; left: -10%; z-index: 0; filter: blur(60px); pointer-events: none;
}
.contact-hero h1 { font-size: 72px; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); margin-bottom: 24px; position: relative; z-index: 2; }
.contact-hero p { font-size: 20px; color: var(--gray); max-width: 600px; margin: 0 auto; position: relative; z-index: 2; line-height: 1.6; }

.contact-section { padding: 40px 0 60px; background: #f9fafb; position: relative; z-index: 2; }
.contact-content { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto; }

/* The Form Bento Box */
.contact-form-container {
    flex: 1.5; min-width: 320px; background-color: white;
    border-radius: 24px; padding: 48px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.02);
}
.form-title { margin-bottom: 32px; font-size: 28px; font-weight: 800; color: #1c1c1e; letter-spacing: -0.5px; }

.contact-form-container .form-row { margin-bottom: 24px; }
.contact-form-container label { display: block; font-size: 14px; font-weight: 600; color: #1c1c1e; margin-bottom: 8px; }
.contact-form-container label.required-field::after { content: "*"; color: #e63946; margin-left: 4px; }
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container select,
.contact-form-container textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #e5e5ea; border-radius: 12px;
    font-size: 16px; font-family: inherit; color: #1c1c1e; transition: all 0.2s;
    background: #fcfcfc;
}
.contact-form-container textarea { min-height: 150px; resize: vertical; }
.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    outline: none; border-color: #007aff; box-shadow: 0 0 0 3px rgba(0,122,255,0.15); background: white;
}
.submit-button {
    width: 100%; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 700;
    text-align: center; border: none; cursor: pointer; transition: all 0.2s;
    background: #1c1c1e; color: white; margin-top: 16px;
}
.submit-button:hover { background: #000; transform: scale(1.02); }

.legal-info { margin-top: 32px; font-size: 12px; color: #8e8e93; line-height: 1.6; }
.legal-info p { margin-bottom: 8px; }
.legal-info a { color: #8e8e93; text-decoration: underline; }

/* Info Cards side */
.contact-info { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 24px; }
.info-card {
    background-color: white; border-radius: 24px; padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0,0,0,0.02); transition: transform 0.3s;
}
.info-card:hover { transform: translateY(-4px); }
.info-card h3 { display: flex; align-items: center; margin-bottom: 16px; font-size: 18px; font-weight: 700; color: #1c1c1e; }
.info-card h3 i { margin-right: 12px; font-size: 20px; color: #007aff; }
.info-card p { margin-bottom: 8px; color: #64748b; font-size: 15px; line-height: 1.5; }
.info-card a { color: #007aff; font-weight: 600; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

.social-icons { margin-top: 24px; display: flex; gap: 12px; }
.social-icon {
    width: 40px; height: 40px; background: #f2f2f7; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #1c1c1e; transition: all 0.2s; text-decoration: none;
}
.social-icon:hover { background: #1c1c1e; color: white; transform: scale(1.1); }

/* Map Section */
.map-section { height: 500px; background-color: #1c1c1e; position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto 100px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.map-section iframe { width: 100%; height: 100%; border: none; filter: grayscale(20%) contrast(1.1); }
.map-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(28, 28, 30, 0.85); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; color: white; transition: all 0.5s; z-index: 10;
}
.map-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.map-overlay-content { text-align: center; padding: 40px; }
.map-overlay h3 { font-size: 32px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; color: white !important; }
.map-overlay p { margin-bottom: 32px; max-width: 500px; font-size: 16px; color: #a1a1aa !important; line-height: 1.6; }
.map-button {
    background-color: white; color: #1c1c1e; border: none; padding: 14px 32px;
    border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.map-button:hover { background-color: #f2f2f7; transform: scale(1.05); }

/* Alert Messages Override for Contact */
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; font-size: 15px; }
.alert-success { background: rgba(52, 199, 89, 0.1); color: #34c759; border: 1px solid rgba(52, 199, 89, 0.2); }
.alert-error { background: rgba(255, 59, 48, 0.1); color: #ff3b30; border: 1px solid rgba(255, 59, 48, 0.2); }

@media (max-width: 992px) {
    .contact-content { flex-direction: column-reverse; padding: 0 20px; }
    .map-section { margin: 0 20px 80px; border-radius: 16px; }
}
@media (max-width: 768px) {
    .contact-hero h1 { font-size: 48px; }
    .contact-form-container { padding: 32px 24px; }
}
/* --- START: pages/_resources.css --- */
/* --- RESOURCES PAGE OVERHAUL (OVERFLOW.IO CLONE) --- */

.resources-hero {
    padding: 220px 0 60px; /* Accounts for fixed transparent header */
    background-color: #f9fafb;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.resources-hero::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 60%);
    top: -20%; left: -10%; z-index: 0; filter: blur(60px); pointer-events: none;
}
.resources-hero h1 { font-size: 72px; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); margin-bottom: 24px; position: relative; z-index: 2; }
.resources-hero p { font-size: 20px; color: var(--gray); max-width: 600px; margin: 0 auto; position: relative; z-index: 2; line-height: 1.6; }

.resources-section { padding: 40px 0 100px; background: #f9fafb; position: relative; z-index: 2; }

/* Filters */
.resource-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 60px; }
.filter-button {
    padding: 10px 24px; background-color: #e5e5ea; border: none; border-radius: 20px;
    cursor: pointer; transition: all 0.3s; font-weight: 600; color: #8e8e93; font-size: 15px;
}
.filter-button:hover { background-color: #d1d1d6; color: #1c1c1e; }
.filter-button.active { background-color: #1c1c1e; color: white; }

/* Resource Grid */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.resource-card {
    background-color: white; border-radius: 24px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0,0,0,0.02);
    display: flex; flex-direction: column; height: 100%; transition: transform 0.3s;
}
.resource-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.resource-image { height: 200px; background: #f2f2f7; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.resource-tag {
    position: absolute; top: 16px; left: 16px; background-color: #1c1c1e;
    color: white; padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.resource-content { padding: 32px; flex-grow: 1; display: flex; flex-direction: column; }
.resource-date { font-size: 13px; color: #8e8e93; font-weight: 600; margin-bottom: 12px; }
.resource-card h3 { font-size: 22px; margin-bottom: 12px; color: #1c1c1e; font-weight: 800; line-height: 1.3; letter-spacing: -0.5px; }
.resource-card p { color: #64748b; margin-bottom: 24px; flex-grow: 1; line-height: 1.6; font-size: 15px; }
.resource-link { display: inline-flex; align-items: center; color: #007aff; font-weight: 700; text-decoration: none; font-size: 15px; }
.resource-link i { margin-left: 8px; transition: transform 0.3s; }
.resource-link:hover i { transform: translateX(4px); }

/* Unified Bento Section for Docs/Support/Videos */
.bento-hub { padding: 100px 0; background: white; }
.bento-hub-title { text-align: center; font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 60px; color: #1c1c1e; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }

.bento-box {
    background: #f8fafc; border-radius: 24px; padding: 48px; border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.bento-box:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.bento-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(0, 122, 255, 0.1); color: #007aff; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px; }
.bento-icon.purple { background: rgba(88, 86, 214, 0.1); color: #5856d6; }
.bento-icon.green { background: rgba(52, 199, 89, 0.1); color: #34c759; }
.bento-icon.orange { background: rgba(255, 149, 0, 0.1); color: #ff9500; }

.bento-box h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: #1c1c1e; letter-spacing: -0.5px; }
.bento-box p { font-size: 16px; color: #64748b; line-height: 1.6; margin-bottom: 32px; flex-grow: 1; }
.bento-button { align-self: flex-start; padding: 12px 24px; background: white; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; font-weight: 700; color: #1c1c1e; text-decoration: none; transition: all 0.2s; }
.bento-button:hover { background: #1c1c1e; color: white; border-color: #1c1c1e; }

.bento-box.video-box { grid-column: span 2; background: #1c1c1e; color: white; display: flex; flex-direction: row; align-items: center; padding: 0; }
.video-content { padding: 60px; flex: 1; }
.video-content h3 { color: white !important; font-size: 36px; }
.video-content p { color: #a1a1aa; font-size: 18px; }
.video-badge { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.1); color: white; border-radius: 20px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.video-visual { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.video-placeholder { width: 100%; aspect-ratio: 16/9; background: #27272a; border-radius: 16px; border: 1px solid #3f3f46; display: flex; align-items: center; justify-content: center; position: relative; }
.video-placeholder i { font-size: 48px; color: #52525b; }
.play-btn { position: absolute; width: 64px; height: 64px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.play-btn i { font-size: 24px; color: white; margin-left: 4px; }

@media (max-width: 992px) {
    .resources-hero h1 { font-size: 48px; }
    .resources-grid { grid-template-columns: 1fr; max-width: 450px; }
    .bento-grid { grid-template-columns: 1fr; max-width: 450px; }
    .bento-box.video-box { grid-column: span 1; flex-direction: column; }
    .video-content { padding: 40px; }
    .video-visual { padding: 0 40px 40px; }
}
/* --- START: pages/_status-page.css --- */
/* --- STATUS PAGE (OVERFLOW.IO CLONE) --- */
.page-header {
    padding: 200px 0 80px;
    background-color: #f9fafb;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 60%);
    top: -20%; left: -10%; z-index: 0; filter: blur(60px); pointer-events: none;
}
.page-header h1 { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); margin-bottom: 20px; position: relative; z-index: 2; }
.page-header p { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto; position: relative; z-index: 2; line-height: 1.6; }

.system-status { padding: 40px 0 100px; background-color: #f9fafb; position: relative; z-index: 2; }

/* Global Overview Box */
.status-overview {
    background-color: white; border-radius: 24px; padding: 48px;
    text-align: center; margin-bottom: 60px; position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0,0,0,0.02);
    max-width: 1200px; margin-left: auto; margin-right: auto;
}
.status-overview h2 { font-size: 32px; font-weight: 900; color: #1c1c1e; margin-bottom: 16px; letter-spacing: -0.5px; }

.status-badge {
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; padding: 8px 24px;
    border-radius: 20px; margin-top: 8px; background-color: #34c759; color: white;
}
.status-badge.operational { background-color: #34c759; }
.status-badge.maintenance { background-color: #ff9500; }
.status-badge.degraded { background-color: #8d99ae; }
.status-badge.outage { background-color: #ff3b30; }

.status-timestamp { display: block; font-size: 14px; color: #8e8e93; margin-top: 16px; font-weight: 600; }

/* Grid */
.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 60px; max-width: 1200px; margin-left: auto; margin-right: auto; }

.status-card {
    background-color: white; border-radius: 20px; padding: 32px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03); transition: transform 0.2s;
    border: 1px solid rgba(0,0,0,0.04);
}
.status-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }

.status-card-header { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 16px; }
.status-card h3 { font-size: 20px; font-weight: 800; margin: 0; color: #1c1c1e; }
.status-card .status-indicator {
    width: 12px; height: 12px; border-radius: 50%; background-color: #34c759;
    display: inline-block; margin-right: 12px; flex-shrink: 0;
}
.status-card .status-indicator.operational { background-color: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.2); }
.status-card .status-indicator.maintenance { background-color: #ff9500; }
.status-card .status-indicator.degraded { background-color: #8d99ae; }
.status-card .status-indicator.outage { background-color: #ff3b30; }

.status-details { color: #64748b; font-size: 15px; line-height: 1.5; margin-bottom: 16px; }

.status-uptime { margin-top: 24px; font-size: 13px; font-weight: 600; color: #1c1c1e; }
.uptime-bar { height: 8px; background-color: #f1f5f9; border-radius: 4px; margin-top: 10px; overflow: hidden; }
.uptime-fill { height: 100%; background-color: #34c759; border-radius: 4px; }

.response-time { font-size: 13px; font-weight: 600; color: #8e8e93; margin-top: 8px; }
.good-time { color: #34c759; }
.average-time { color: #ff9500; }
.slow-time { color: #ff3b30; }

/* Live indicator */
.live-update { display: inline-flex; align-items: center; font-size: 14px; color: #34c759; margin-left: 12px; padding: 4px 12px; background: rgba(52, 199, 89, 0.1); border-radius: 12px; font-weight: 700; vertical-align: middle; }
.live-indicator {
    width: 8px; height: 8px; background-color: #34c759;
    border-radius: 50%; margin-right: 8px; animation: pulse 2s infinite;
}

/* Incidents */
.incident-history { margin-top: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.incident-title { font-size: 32px; font-weight: 900; margin-bottom: 32px; color: #1c1c1e; letter-spacing: -0.5px; }
.incident-list { list-style: none; padding: 0; }
.incident-item { background: white; padding: 32px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.04); margin-bottom: 24px; }
.incident-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.incident-header h3 { font-size: 20px; font-weight: 800; margin: 0; color: #1c1c1e; }
.incident-date { font-size: 14px; font-weight: 600; color: #64748b; }
.incident-description p { margin-bottom: 12px; color: #334155; line-height: 1.6; }

@media (max-width: 768px) {
    .incident-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .page-header h1 { font-size: 42px; }
    .status-overview { padding: 32px; }
}
/* --- START: pages/_legal.css --- */
/* --- LEGAL CONTENT OVERHAUL (OVERFLOW.IO CLONE) --- */
.legal-content-box {
    background: white; 
    border-radius: 24px; 
    padding: 80px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); 
    border: 1px solid rgba(0,0,0,0.02);
    margin: 180px auto 100px; /* Accounts for fixed transparent header */
    max-width: 900px;
}

.legal-content-box h1 {
    text-align: center; 
    color: #1c1c1e !important; 
    font-size: 42px !important;
    font-weight: 900 !important;
    letter-spacing: -1px;
    margin-bottom: 8px !important;
}

.legal-content-box h2:first-of-type {
    text-align: center;
    border: none !important;
    margin-top: 0 !important;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 60px !important;
}

/* Document Body Headings */
.legal-content-box h2 {
    color: #1c1c1e; 
    margin-top: 60px;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 16px;
}

.legal-content-box h3 { 
    color: #1c1c1e; 
    margin-top: 40px; 
    margin-bottom: 16px; 
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

/* Document Text */
.legal-content-box p { 
    color: #475569; 
    margin-bottom: 20px; 
    line-height: 1.8; 
    font-size: 16px;
}

.legal-content-box p strong {
    color: #1c1c1e;
    font-weight: 700;
}

/* Lists */
.legal-content-box ul, .legal-content-box ol { 
    margin: 20px 0 32px; 
    padding-left: 24px; 
}
.legal-content-box li { 
    color: #475569; 
    margin-bottom: 12px; 
    line-height: 1.7; 
    font-size: 16px;
}
.legal-content-box li strong {
    color: #1c1c1e;
    font-weight: 700;
}

/* TOC Table of Contents */
.toc { 
    background-color: #f8fafc; 
    border: 1px solid rgba(0,0,0,0.03); 
    padding: 40px; 
    margin-bottom: 60px; 
    border-radius: 20px; 
}
.toc h3 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 24px;
    border-bottom: none;
}
.toc ul { list-style-type: none; padding-left: 0; margin-bottom: 0; }
.toc li { margin-bottom: 16px; border-bottom: 1px dashed rgba(0,0,0,0.05); padding-bottom: 16px; }
.toc li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.toc a { color: #007aff; text-decoration: none; font-weight: 600; transition: color 0.2s; font-size: 15px; }
.toc a:hover { color: #0056b3; }

/* Links */
.legal-content-box a:not(.back-link):not(.toc a) {
    color: #007aff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}
.legal-content-box a:not(.back-link):not(.toc a):hover {
    border-bottom-color: #007aff;
}

/* Back Link */
.back-link { 
    display: inline-flex; 
    align-items: center;
    margin-top: 60px; 
    color: #1c1c1e; 
    text-decoration: none; 
    font-weight: 700; 
    padding: 14px 28px;
    background: #f1f5f9;
    border-radius: 12px;
    transition: all 0.2s;
    font-size: 15px;
}
.back-link:hover { 
    background: #e2e8f0;
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .legal-content-box { padding: 40px 24px; margin-top: 120px; border-radius: 16px; margin-left: 20px; margin-right: 20px; }
    .legal-content-box h1 { font-size: 32px !important; }
}
/* --- START: pages/_help.css --- */
/* --- HELP CENTER OVERHAUL (OVERFLOW.IO CLONE) --- */

.help-hero {
    padding: 220px 0 60px; /* Accounts for fixed transparent header */
    background-color: #f9fafb;
    text-align: center;
    position: relative;
    /* Removed overflow: hidden; so search dropdown doesn't get cut off */
}
/* Move the overflow hidden to a dedicated background layer */
.help-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.help-hero-bg::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 60%);
    top: -20%; left: -10%; filter: blur(60px);
}
.help-hero h1 { font-size: 72px; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); margin-bottom: 24px; position: relative; z-index: 2; }
.help-hero p { font-size: 20px; color: var(--gray); max-width: 600px; margin: 0 auto 40px; position: relative; z-index: 2; line-height: 1.6; }

/* Search Box */
.search-container { max-width: 650px; margin: 0 auto; position: relative; z-index: 1000; }
.search-box {
    width: 100%; padding: 20px 60px 20px 24px; border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px; font-size: 18px; color: #1c1c1e;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); transition: all 0.3s;
    background: white;
}
.search-box:focus { outline: none; border-color: #007aff; box-shadow: 0 10px 40px rgba(0, 122, 255, 0.1); }
.search-button {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background-color: #1c1c1e; color: white; border: none; width: 44px; height: 44px;
    border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.search-button:hover { background-color: #000; transform: translateY(-50%) scale(1.05); }

/* Sections */
.categories-section { padding: 40px 0 100px; background: #f9fafb; position: relative; z-index: 2; }
.popular-articles { padding: 0 0 100px; background: #f9fafb; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 42px; font-weight: 900; letter-spacing: -1px; color: #1c1c1e; }

/* Grids */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }

/* Bento Cards */
.category-card, .article-card {
    background-color: white; border-radius: 24px; padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0,0,0,0.02); transition: transform 0.3s;
}
.category-card:hover, .article-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

.category-header { display: flex; align-items: center; margin-bottom: 24px; }
.category-icon { width: 56px; height: 56px; background: rgba(0, 122, 255, 0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #007aff; margin-right: 16px; font-size: 24px; }
.category-title { font-size: 24px; font-weight: 800; color: #1c1c1e; letter-spacing: -0.5px; margin: 0; }

.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li { margin-bottom: 12px; }
.article-link { color: #64748b; text-decoration: none; display: flex; align-items: center; transition: all 0.2s; font-size: 15px; font-weight: 500; }
.article-link:hover { color: #007aff; }
.article-link:before { content: '\f15c'; font-family: "Font Awesome 5 Free"; margin-right: 12px; font-weight: 400; color: #cbd5e1; }
.view-all-link { display: inline-block; margin-top: 24px; color: #007aff; text-decoration: none; font-weight: 700; transition: opacity 0.2s; font-size: 15px; }
.view-all-link:hover { opacity: 0.7; }
.view-all-link:after { content: ' →'; }

/* Popular Article Cards */
.article-card { cursor: pointer; display: flex; flex-direction: column; }
.article-meta { display: flex; align-items: center; margin-bottom: 16px; color: #8e8e93; font-size: 13px; font-weight: 600; }
.article-category { background-color: #1c1c1e; color: white; padding: 4px 10px; border-radius: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-right: 12px; }
.article-card h3 { font-size: 20px; font-weight: 800; color: #1c1c1e; margin-bottom: 16px; line-height: 1.4; letter-spacing: -0.5px; flex-grow: 1; }
.read-more { color: #007aff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; font-size: 15px; }
.read-more:after { content: ' →'; margin-left: 4px; transition: transform 0.2s; }
.article-card:hover .read-more:after { transform: translateX(4px); }

/* Search Results UI */
.search-results { position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: white; border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); max-height: 400px; overflow-y: auto; display: none; z-index: 9999; border: 1px solid rgba(0,0,0,0.05); }
.search-results.active { display: block; }
.search-result-item { padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,0.05); transition: background-color 0.2s; cursor: pointer; text-decoration: none; display: block; }
.search-result-item:hover { background-color: #f8fafc; }
.search-result-title { font-weight: 700; margin-bottom: 8px; color: #1c1c1e; font-size: 16px; }
.search-result-category { background: rgba(0,122,255,0.1); color: #007aff; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-right: 8px; }

/* Breadcrumb */
.breadcrumb { background-color: white; padding: 120px 0 24px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.breadcrumb-nav { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.breadcrumb-nav a { color: #64748b; text-decoration: none; transition: color 0.2s; }
.breadcrumb-nav a:hover { color: #007aff; }
.breadcrumb-separator { color: #cbd5e1; }
.breadcrumb-current { color: #1c1c1e; font-weight: 700; }

/* Article Layout */
.article-container { display: flex; gap: 48px; padding: 60px 0 100px; max-width: 1200px; margin: 0 auto; }
.article-sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 120px; align-self: flex-start; }
.sidebar-section { background-color: white; border-radius: 24px; padding: 32px; border: 1px solid rgba(0,0,0,0.03); }
.sidebar-section h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; color: #1c1c1e; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links a { color: #64748b; text-decoration: none; display: block; padding: 10px 16px; border-radius: 12px; transition: all 0.2s; font-size: 14px; font-weight: 600; }
.sidebar-links a:hover { background-color: #f8fafc; color: #1c1c1e; }
.sidebar-links a.active { background-color: #1c1c1e; color: white; }

.article-content { flex: 1; background-color: white; border-radius: 24px; padding: 60px; box-shadow: 0 10px 40px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.02); }
.article-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.article-title { font-size: 42px; font-weight: 900; color: #1c1c1e; margin-bottom: 16px; letter-spacing: -1px; line-height: 1.2; }
.article-meta { display: flex; gap: 24px; color: #8e8e93; font-size: 14px; font-weight: 600; }
.article-body { color: #334155; line-height: 1.8; font-size: 17px; }
.article-body h2 { font-size: 28px; font-weight: 800; margin: 48px 0 24px; color: #1c1c1e; letter-spacing: -0.5px; }
.article-body p { margin-bottom: 24px; }
.article-body ul { margin-bottom: 24px; padding-left: 24px; }
.article-body li { margin-bottom: 12px; }

/* Article Tables */
.article-body table { width: 100%; border-collapse: collapse; margin: 32px 0; background: white; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.article-body th { padding: 16px 20px; background: #f8fafc; font-weight: 700; color: #1c1c1e; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 15px; }
.article-body td { padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.05); color: #334155; font-size: 15px; }
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:hover td { background-color: #f8fafc; }

/* Article Alert Boxes */
.alert-box { padding: 20px 24px; border-radius: 12px; margin: 32px 0; display: flex; align-items: flex-start; gap: 16px; border: 1px solid rgba(0,0,0,0.05); line-height: 1.6; font-size: 15px; }
.alert-box .alert-icon, .alert-box i { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.alert-box.info { background-color: rgba(0, 122, 255, 0.05); border-left: 4px solid #007aff; }
.alert-box.info i { color: #007aff; }
.alert-box.warning { background-color: rgba(255, 149, 0, 0.05); border-left: 4px solid #ff9500; }
.alert-box.warning i { color: #ff9500; }
.alert-box.success { background-color: rgba(52, 199, 89, 0.05); border-left: 4px solid #34c759; }
.alert-box.success i { color: #34c759; }
.alert-box.tip { background-color: rgba(88, 86, 214, 0.05); border-left: 4px solid #5856d6; }
.alert-box.tip i { color: #5856d6; }

/* Dark Custom CTA */
.contact-support { padding: 100px 0; background: #1c1c1e; text-align: center; color: white; }
.contact-support h2 { font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 24px; color: white !important; }
.contact-support p { font-size: 20px; color: #a1a1aa; max-width: 600px; margin: 0 auto 40px; }
.contact-methods { display: flex; gap: 16px; justify-content: center; }
.contact-method { background: white; color: #1c1c1e; font-weight: 700; padding: 16px 32px; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; transition: transform 0.2s; }
.contact-method:hover { transform: scale(1.05); }

@media (max-width: 992px) {
    .categories-grid, .articles-grid { grid-template-columns: 1fr; max-width: 500px; }
    .help-hero h1 { font-size: 48px; }
    .article-container { flex-direction: column; }
    .article-sidebar { width: 100%; position: relative; top: 0; }
    .article-content { padding: 40px 32px; }
}
/* --- START: pages/_ticket.css --- */
/* --- TICKET PAGE OVERHAUL (OVERFLOW.IO CLONE) --- */

.ticket-hero {
    padding: 220px 0 60px; /* Accounts for fixed transparent header */
    background-color: #f9fafb;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ticket-hero h1 {
    font-size: 56px; 
    font-weight: 900; 
    letter-spacing: -0.04em; 
    color: var(--dark); 
    margin-bottom: 16px; 
    position: relative; 
    z-index: 2;
}
.ticket-hero p {
    font-size: 20px; 
    color: var(--gray); 
    font-weight: 600;
    margin: 0 auto; 
    position: relative; 
    z-index: 2;
}

.ticket-container {
    padding: 0 0 120px;
    background-color: #f9fafb;
    position: relative;
    z-index: 2;
}

.ticket-bento {
    max-width: 800px; 
    margin: 0 auto; 
    background: white; 
    border-radius: 24px; 
    padding: 48px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.04); 
    border: 1px solid rgba(0,0,0,0.02);
}

.ticket-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    padding-bottom: 24px; 
    margin-bottom: 32px;
}
.ticket-header h2 {
    margin: 0 0 8px 0; 
    font-size: 24px; 
    font-weight: 800; 
    letter-spacing: -0.5px;
    color: #1c1c1e;
}
.ticket-meta {
    color: #8e8e93; 
    font-size: 14px; 
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    padding: 6px 16px; 
    border-radius: 20px; 
    font-weight: 800; 
    font-size: 12px; 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.status-new { background: rgba(0, 122, 255, 0.1); color: #007aff; }
.status-open { background: rgba(255, 149, 0, 0.1); color: #ff9500; }
.status-closed { background: rgba(52, 199, 89, 0.1); color: #34c759; }

/* Chat Thread */
.ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.chat-bubble {
    padding: 24px;
    border-radius: 16px;
    position: relative;
    width: 85%;
}
.chat-bubble-user {
    background-color: #f8fafc;
    border: 1px solid rgba(0,0,0,0.03);
    align-self: flex-start;
    border-top-left-radius: 4px;
}
.chat-bubble-admin {
    background-color: rgba(0, 122, 255, 0.03);
    border: 1px solid rgba(0, 122, 255, 0.1);
    align-self: flex-end;
    border-top-right-radius: 4px;
}

.chat-meta {
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 12px; 
    border-bottom: 1px dashed rgba(0,0,0,0.05); 
    padding-bottom: 12px;
}
.chat-meta strong {
    font-weight: 800;
    color: #1c1c1e;
}
.chat-meta .admin-name {
    color: #007aff;
}
.chat-meta span {
    color: #a1a1aa; 
    font-size: 13px;
    font-weight: 500;
}
.chat-text {
    line-height: 1.6;
    color: #334155;
    font-size: 15px;
}

/* Reply Form */
.reply-section {
    border-top: 1px solid rgba(0,0,0,0.05); 
    padding-top: 32px;
}
.reply-section h3 {
    margin-top: 0; 
    margin-bottom: 24px; 
    font-size: 20px;
    font-weight: 800;
    color: #1c1c1e;
}
.reply-textarea {
    width: 100%; 
    padding: 16px; 
    border: 1px solid #e5e5ea; 
    border-radius: 12px; 
    min-height: 150px; 
    font-family: inherit; 
    font-size: 15px; 
    box-sizing: border-box;
    background: #fcfcfc;
    transition: all 0.2s;
    margin-bottom: 16px;
    resize: vertical;
}
.reply-textarea:focus {
    outline: none; 
    border-color: #007aff; 
    box-shadow: 0 0 0 3px rgba(0,122,255,0.15); 
    background: white;
}
.btn-submit {
    background-color: #1c1c1e; 
    color: white; 
    border: none; 
    padding: 16px 32px; 
    border-radius: 12px; 
    font-weight: 700; 
    cursor: pointer; 
    font-size: 16px; 
    transition: all 0.2s;
    display: inline-block;
}
.btn-submit:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.closed-notice {
    background-color: #f2f2f7; 
    color: #64748b; 
    padding: 24px; 
    border-radius: 12px; 
    text-align: center;
    font-weight: 500;
}
.closed-notice a {
    color: #007aff; 
    font-weight: 700;
    text-decoration: none;
}
.closed-notice a:hover {
    text-decoration: underline;
}

/* Alerts */
.ticket-alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; font-size: 15px; }
.alert-success { background: rgba(52, 199, 89, 0.1); color: #34c759; border: 1px solid rgba(52, 199, 89, 0.2); }
.alert-error { background: rgba(255, 59, 48, 0.1); color: #ff3b30; border: 1px solid rgba(255, 59, 48, 0.2); }

@media (max-width: 768px) {
    .ticket-hero h1 { font-size: 36px; }
    .ticket-bento { padding: 32px 24px; }
    .chat-bubble { width: 100%; }
    .ticket-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* --- START: pages/_register.css --- */
/* --- REGISTER DEMO (OVERFLOW.IO CLONE) --- */
.register-hero {
    padding: 160px 0 80px;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.register-hero::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 60%);
    top: -20%; left: -10%; z-index: 0; filter: blur(60px); pointer-events: none;
}
.register-hero h1 { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); margin-bottom: 20px; position: relative; z-index: 2; }
.register-hero p { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto; position: relative; z-index: 2; line-height: 1.6; }

.register-section {
    padding: 0 0 100px;
    background: #f9fafb;
    position: relative;
    z-index: 2;
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.register-form-container {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
}

.register-form-container h2 { font-size: 28px; font-weight: 800; color: #1c1c1e; margin-bottom: 32px; letter-spacing: -0.5px; }

.register-form-container .form-row { margin-bottom: 24px; }
.register-form-container label { display: block; font-size: 14px; font-weight: 600; color: #1c1c1e; margin-bottom: 8px; }
.register-form-container .required-field::after { content: ' *'; color: #ff3b30; }

.register-form-container input[type="text"],
.register-form-container input[type="email"],
.register-form-container input[type="tel"],
.register-form-container select {
    width: 100%; padding: 14px 16px; border: 1px solid #e5e5ea; border-radius: 12px;
    font-size: 15px; color: #1c1c1e; transition: all 0.2s; background: #fff; box-sizing: border-box;
}
.register-form-container input:focus, .register-form-container select:focus { outline: none; border-color: #007aff; box-shadow: 0 0 0 3px rgba(0,122,255,0.15); }
.register-form-container .info-text { font-size: 12px; color: #8e8e93; margin-top: 6px; display: block; }

.register-form-container .submit-button {
    width: 100%; padding: 16px; background-color: #007aff; color: white; border: none;
    border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s;
    margin-top: 10px;
}
.register-form-container .submit-button:hover { background-color: #0056b3; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,122,255,0.2); }

.legal-info { margin-top: 24px; text-align: center; }
.legal-info p { font-size: 12px; color: #8e8e93; line-height: 1.5; margin-bottom: 8px; }
.legal-info a { color: #007aff; text-decoration: none; }
.legal-info a:hover { text-decoration: underline; }

/* Right side features */
.register-features {
    background: #1c1c1e;
    border-radius: 24px;
    padding: 40px;
    color: white;
    align-self: flex-start;
}

.register-features h3 { font-size: 24px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.5px; color: white !important; }

.features-list { list-style: none; padding: 0; margin: 0; }
.features-list li {
    display: flex; align-items: flex-start; margin-bottom: 16px;
    font-size: 15px; color: #a1a1aa; line-height: 1.5;
}
.features-list li::before {
    content: '\f00c'; font-family: "Font Awesome 5 Free"; font-weight: 900;
    color: #34c759; margin-right: 12px; font-size: 14px; margin-top: 2px;
}

/* Fix for intl-tel-input */
.iti { width: 100%; }

@media (max-width: 992px) {
    .register-content { grid-template-columns: 1fr; }
    .register-hero h1 { font-size: 42px; }
    .register-form-container { padding: 32px; }
}
