
/* --- START: base/_variables.css --- */
:root {
    --primary: #e63946;
    --primary-light: #f8949c;
    --primary-glow: rgba(230, 57, 70, 0.4);
    --secondary: #457b9d;
    --light: #f1faee;
    --dark: #1d3557;
    --gray: #8d99ae;
    --gray-light: #edf2f4;
    --line-color: rgba(69, 123, 157, 0.5);
    --highlight: #4cc9f0;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --offer-color: #ff6b35;
    --offer-bg: #fff4f0;
}
/* --- START: base/_reset.css --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light); color: var(--dark);
    line-height: 1.6; overflow-x: hidden;
}

.container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
/* --- 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: white; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky; top: 0; z-index: 1000; transition: all 0.3s ease;
}
header.compact { padding: 0; }
header.compact .navbar { padding: 10px 0; }
header.compact .logo-image { height: 30px; }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; transition: padding 0.3s ease; position: relative;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-image { height: 40px; width: auto; max-width: 200px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--dark); text-decoration: none; font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

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

/* --- 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 ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-links {
    flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; display: flex;
}
.mobile-menu .nav-links a { font-size: 18px; padding: 10px 0; display: block; }
.mobile-menu .nav-buttons {
    flex-direction: column; width: 80%; margin-top: 20px; display: flex; gap: 15px;
}
.mobile-menu .login-button, .mobile-menu .cta-button {
    width: 100%; text-align: center; justify-content: center;
}
.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: 768px) {
    .nav-links, .nav-buttons { display: none; }
    .mobile-menu-toggle { display: block; position: absolute; right: 20px; top: 20px; }
}
/* --- START: sections/_footer.css --- */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: white; padding: 60px 0 30px;
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
.footer-column h3 {
    font-size: 20px; margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
.footer-column h3:after {
    content: ""; position: absolute; width: 40px; height: 2px;
    background-color: var(--primary); bottom: 0; left: 0;
}
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column a { color: var(--gray-light); text-decoration: none; transition: color 0.3s; }
.footer-column a:hover { color: var(--primary); }
.copyright {
    text-align: center; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--gray); font-size: 14px;
}
/* --- START: sections/_cta-bar.css --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b35 100%);
    color: white; padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section h2 { font-size: 36px; margin-bottom: 20px; }
.cta-section p { font-size: 18px; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .white-button, .cta-buttons .outline-button { width: 100%; max-width: 300px; margin-bottom: 10px; }
}
/* --- START: pages/_home.css --- */
/* --- PAGE HEADERS (Standard) --- */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: white; padding: 80px 0; text-align: center;
    position: relative; overflow: hidden; margin-top: 0;
}
.page-header h1 { font-size: 42px; margin-bottom: 20px; position: relative; z-index: 1; }
.page-header p {
    font-size: 20px; max-width: 700px; margin: 0 auto;
    opacity: 0.9; position: relative; z-index: 1;
}

/* =========================================
   HOME PAGE (INDEX.PHP) - HERO NETWORK
   ========================================= */
.hero-network {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    min-height: 600px;
    padding: 80px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; flex-wrap: wrap; align-items: center;
    position: relative; z-index: 2;
}

.hero-text {
    flex: 1; color: white; min-width: 300px; padding-right: 30px;
}
.hero-text h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.2; }
.hero-text p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

.network-container {
    flex: 1; min-width: 300px; height: 500px; position: relative; z-index: 1;
}

/* Database Visualization */
.database-network { width: 100%; height: 100%; position: relative; }

.database-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--dark) 0%, rgba(29, 53, 87, 0.8) 70%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px var(--primary-glow);
    z-index: 10; animation: pulse 3s infinite;
}

.database-icon { width: 80px; height: 80px; position: relative; }

.database-cylinder {
    width: 100%; height: 60px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px; position: relative; margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.database-cylinder:after {
    content: ''; position: absolute; width: 100%; height: 10px;
    background: var(--primary-light); bottom: -5px;
    border-radius: 0 0 10px 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.database-cylinder:before {
    content: ''; position: absolute; width: 100%; height: 10px;
    background: var(--primary); top: -5px;
    border-radius: 10px 10px 0 0; box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.database-cylinder .stripe {
    position: absolute; height: 8px; width: 80%; left: 10%;
    background: rgba(255, 255, 255, 0.2); border-radius: 4px;
}
.database-cylinder .stripe:nth-child(1) { top: 10px; }
.database-cylinder .stripe:nth-child(2) { top: 26px; }
.database-cylinder .stripe:nth-child(3) { top: 42px; }

.db-label {
    position: absolute; top: -40px; left: 50%;
    transform: translateX(-50%); color: white;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.db-stats {
    position: absolute; bottom: -40px; left: 50%;
    transform: translateX(-50%); color: white;
    font-size: 16px; font-weight: 700; white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.db-stats span { color: var(--primary-light); }

/* Connection Lines */
.connection-line {
    position: absolute; top: 50%; left: 50%; height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 100%);
    transform-origin: left center; z-index: 1;
}
.connection-line:before {
    content: ''; position: absolute; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--line-color) 0%, rgba(69, 123, 157, 0.1) 100%);
    animation: pulse-line 2s infinite;
}

/* Endpoints (Devices) */
.endpoint {
    position: absolute; width: 70px; height: 70px;
    border-radius: 50%; background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); z-index: 5;
}
.endpoint-icon { width: 40px; height: 40px; opacity: 0.9; position: relative; }
.endpoint-computer { bottom: 12%; right: 15%; }
.endpoint-cutter { top: 20%; right: 18%; }
.endpoint-tablet { top: 15%; left: 18%; }
.endpoint-smartphone { bottom: 25%; left: 12%; }

.computer-icon {
    width: 40px; height: 30px; background-color: var(--secondary);
    border-radius: 3px; position: relative;
}
.computer-icon:after {
    content: ''; position: absolute; bottom: -8px; left: 50%;
    transform: translateX(-50%); width: 20px; height: 8px;
    background-color: var(--secondary); border-radius: 0 0 3px 3px;
}
.computer-icon:before {
    content: ''; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 3px;
    background-color: var(--light); border-radius: 1px;
}

.tablet-icon {
    width: 35px; height: 45px; background-color: var(--secondary);
    border-radius: 3px; position: relative;
}
.tablet-icon:after {
    content: ''; position: absolute; bottom: 5px; left: 50%;
    transform: translateX(-50%); width: 10px; height: 2px;
    background-color: rgba(255, 255, 255, 0.5); border-radius: 1px;
}
.tablet-icon:before {
    content: ''; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 15px;
    background-color: var(--light); border-radius: 1px;
}

.smartphone-icon {
    width: 25px; height: 40px; background-color: var(--secondary);
    border-radius: 3px; position: relative;
}
.smartphone-icon:after {
    content: ''; position: absolute; bottom: 5px; left: 50%;
    transform: translateX(-50%); width: 8px; height: 2px;
    background-color: rgba(255, 255, 255, 0.5); border-radius: 1px;
}
.smartphone-icon:before {
    content: ''; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 12px;
    background-color: var(--light); border-radius: 1px;
}

.cutter-icon {
    width: 40px; height: 30px; background-color: var(--secondary);
    border-radius: 3px; position: relative;
}
.cutter-icon:after {
    content: ''; position: absolute; top: -5px; left: 50%;
    transform: translateX(-50%); width: 2px; height: 10px;
    background-color: var(--primary); box-shadow: 0 0 5px var(--primary-light);
}
.cutter-icon:before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 24px; height: 16px;
    background-color: var(--light); border-radius: 1px;
}

/* Flying template packets */
.template-packet {
    position: absolute; width: 30px; height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px; z-index: 3; display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
.template-packet:after {
    content: 'T'; color: white; font-size: 10px; font-weight: bold;
}
.packet-animation { animation: move-packet 4s linear infinite; }
.packet-reversed { animation: move-packet-reverse 5s linear infinite; }

.pulse-endpoint {
    position: absolute; width: 100%; height: 100%;
    border-radius: 50%; background-color: var(--highlight);
    opacity: 0; animation: pulse-endpoint 4s infinite;
}

/* Templates preview */
.template-preview {
    position: absolute; width: 120px; height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px; backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; opacity: 0; z-index: 12; pointer-events: none;
}
.template-preview:after {
    content: ""; position: absolute; width: 15px; height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2); transform: rotate(45deg);
}
.preview-computer { bottom: 25%; right: 28%; }
.preview-computer:after { bottom: -8px; left: 30px; border-top: none; border-left: none; }
.preview-cutter { top: 25%; right: 30%; }
.preview-cutter:after { top: 32px; left: -8px; border-right: none; border-bottom: none; }
.preview-tablet { top: 25%; left: 30%; animation: fade-preview 8s infinite 1s; }
.preview-tablet:after { top: 35px; right: -8px; border-left: none; border-bottom: none; }
.preview-smartphone { bottom: 35%; left: 25%; animation: fade-preview 8s infinite 3s; }
.preview-smartphone:after { bottom: -8px; right: 30px; border-top: none; border-right: none; }

.template-car {
    width: 80px; height: 40px; background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px 10px 0 0; position: relative; margin-bottom: 5px;
}
.template-car:before {
    content: ''; position: absolute; top: 15px; left: 0; width: 100%; height: 10px;
    background-color: rgba(255, 255, 255, 0.4); border-radius: 5px;
}
.template-car:after {
    content: ''; position: absolute; bottom: 0; left: 10px; width: 60px; height: 8px;
    background-color: rgba(0, 0, 0, 0.2); border-radius: 4px 4px 0 0;
}
.template-id { font-size: 10px; color: white; margin-top: 5px; }

/* Floating elements */
.data-particle {
    position: absolute; width: 4px; height: 4px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%; box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    filter: blur(1px); z-index: 1;
}
.tech-grid {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0; opacity: 0.05;
    background: linear-gradient(90deg, transparent 98%, rgba(255,255,255,0.8) 98.1%),
                linear-gradient(0deg, transparent 98%, rgba(255,255,255,0.8) 98.1%);
    background-size: 40px 40px;
}

/* Animations */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px var(--primary-glow); }
    50% { box-shadow: 0 0 50px var(--primary-glow); }
}
@keyframes pulse-line {
    0%, 100% { opacity: 0.5; height: 2px; }
    50% { opacity: 1; height: 3px; }
}
@keyframes move-packet {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
    10% { opacity: 1; transform: translate(10%, 10%) scale(1); }
    90% { opacity: 1; transform: translate(90%, 90%) scale(1); }
    100% { transform: translate(100%, 100%) scale(0.8); opacity: 0; }
}
@keyframes move-packet-reverse {
    0% { transform: translate(100%, 100%) scale(0.8); opacity: 0; }
    10% { opacity: 1; transform: translate(90%, 90%) scale(1); }
    90% { opacity: 1; transform: translate(10%, 10%) scale(1); }
    100% { transform: translate(0%, 0%) scale(0.8); opacity: 0; }
}
@keyframes pulse-endpoint {
    0%, 100% { transform: scale(1); opacity: 0; }
    20% { opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0; }
}
@keyframes fade-preview {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    25%, 75% { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 20px) rotate(90deg); }
    50% { transform: translate(20px, 0) rotate(180deg); }
    75% { transform: translate(10px, -20px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Features Grid (General) */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px;
}
.feature-card {
    background-color: var(--gray-light); border-radius: 10px; padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
    align-items: center; text-align: center;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.feature-icon {
    background-color: var(--primary); color: white; width: 80px; height: 80px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 32px;
}
.feature-card h3 { margin-bottom: 15px; font-size: 22px; }

/* Demo Section */
.demo-section { background-color: var(--gray-light); padding: 80px 0; text-align: center; }
.demo-box {
    background-color: white; border-radius: 10px; padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); max-width: 700px; margin: 0 auto;
}
.demo-box h2 { margin-bottom: 20px; font-size: 30px; color: var(--dark); }
.demo-box p { margin-bottom: 30px; font-size: 18px; color: var(--gray); }

/* SEO Content */
.seo-content { padding: 60px 0; background-color: white; }
.seo-content h2 { margin-bottom: 30px; color: var(--dark); }
.seo-content p { margin-bottom: 20px; line-height: 1.8; color: var(--gray); }
.keyword-highlight { color: var(--primary); font-weight: 600; }

/* Database Section */
.database-section { padding: 80px 0; background-color: white; }
.data-stats { display: flex; justify-content: space-around; text-align: center; margin-top: 40px; }
.stat-item { flex: 1; padding: 20px; }
.stat-number { font-size: 48px; font-weight: bold; color: var(--primary); margin-bottom: 10px; }
.stat-text { font-size: 18px; color: var(--dark); }

/* --- MEMBERSHIP CARDS (Home) --- */
.membership-section { padding: 80px 0; background-color: var(--gray-light); }
.card-container {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 30px;
    margin: 0 auto 40px; max-width: 1200px;
}
.solution-card {
    width: 300px; height: 460px; background-color: white; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: transform 0.3s, box-shadow 0.3s;
    position: relative; display: flex; flex-direction: column;
}
.solution-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }
.solution-card h3 {
    padding: 20px; margin: 0; text-align: center; font-size: 22px;
    color: var(--dark); border-bottom: 1px solid #f0f0f0;
}
.card-image {
    height: 180px; background-color: #f9f9f9;
    background-repeat: no-repeat; background-position: center; background-size: 80px 80px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.featured-card { border: 2px solid var(--primary); }
.card-badge {
    position: absolute; top: -10px; right: 20px; background-color: var(--primary);
    color: white; padding: 5px 15px; border-radius: 20px;
    font-weight: 600; font-size: 14px; box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3); z-index: 1;
}
.card-description {
    padding: 20px; flex-grow: 1; display: flex; align-items: flex-start;
    height: 120px; overflow: hidden;
}
.card-description p { margin: 0; color: #666; line-height: 1.6; }
.card-cta { padding: 0 20px 20px; margin-top: auto; }
.card-button {
    display: block; width: 100%; padding: 12px 0; background-color: white;
    color: var(--primary); border: 2px solid var(--primary); border-radius: 6px;
    text-align: center; text-decoration: none; font-weight: 600; transition: all 0.3s;
}
.card-button:hover { background-color: var(--primary-light); color: white; }
.featured-button { background-color: var(--primary); color: white; }
.featured-button:hover { background-color: var(--dark); border-color: var(--dark); }
.trial-reminder { text-align: center; color: var(--gray); font-style: italic; margin-top: 20px; }

/* --- TESTIMONIALS --- */
.testimonials { background-color: var(--dark); color: white; padding: 80px 0; }
.testimonials .section-title h2 { color: white; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1); border-radius: 10px;
    padding: 30px; position: relative;
}
.testimonial-content { font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; }
.author-avatar {
    width: 50px; height: 50px; border-radius: 50%; background-color: var(--secondary);
    margin-right: 15px; display: flex; align-items: center; justify-content: center;
    color: white; font-weight: bold;
}
.author-info h4 { margin-bottom: 5px; }
.author-info p { color: var(--gray-light); font-size: 14px; }

/* Responsive Home */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 32px; }

    /* FIX: Stapla statistiken på höjden i mobilen */
    .data-stats {
        flex-direction: column;
        gap: 30px;
    }
}
/* --- START: pages/_pricing.css --- */
/* --- PRICING PAGE STYLES --- */
/* Banner styles removed as per request */

.pricing-section { padding: 100px 0 60px; background: white; position: relative; }
.pricing-toggle {
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 50px; gap: 20px;
}
.toggle-label { font-size: 18px; font-weight: 600; color: var(--gray); transition: color 0.3s; }
.toggle-label.active { color: var(--dark); }
.toggle-switch {
    position: relative; display: inline-block; width: 70px; height: 34px;
    border-radius: 17px; background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    cursor: pointer; box-shadow: 0 2px 10px rgba(230, 57, 70, 0.3);
}
.toggle-slider {
    position: absolute; top: 3px; left: 3px; width: 28px; height: 28px;
    border-radius: 50%; background-color: white; transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.toggle-switch.yearly .toggle-slider { transform: translateX(36px); }

/* --- GRID SYSTEM FOR SIDE-BY-SIDE CARDS (UPDATED) --- */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tvingar 3 kolumner */
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch; /* Gör alla kort lika höga */
}

/* Responsiv hantering för mindre skärmar */
@media (max-width: 992px) {
    .pricing-plans {
        grid-template-columns: 1fr; /* Stapla korten på surfplatta/mobil */
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-card {
    background: white; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 45px 35px; width: 100%; display: flex;
    flex-direction: column; transition: transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden; border: 2px solid transparent;
    height: 100%; /* Fyller hela höjden av grid-cellen */
}
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
.pricing-card.featured {
    border: 2px solid var(--primary); 
    /* Tog bort transform scale för att behålla grid-strukturen snygg */
    background: linear-gradient(to bottom, white, #fafafa);
    z-index: 1;
}
.pricing-card.featured:hover { transform: translateY(-10px); }
.pricing-badge {
    position: absolute; top: 20px; right: -35px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    color: white; padding: 5px 40px; font-size: 13px; font-weight: 700;
    transform: rotate(45deg); text-transform: uppercase; letter-spacing: 1px;
}
.offer-badge {
    position: absolute; top: 15px; left: 20px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    color: white; padding: 8px 16px; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; border-radius: 6px;
    animation: glow 2s infinite alternate; box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}
@keyframes glow {
    from { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4); }
    to { box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6); }
}
.pricing-card h3 { font-size: 28px; margin-bottom: 8px; text-align: center; color: var(--dark); }
.pricing-card .subtitle { color: var(--gray); text-align: center; margin-bottom: 25px; font-size: 16px; }
.pricing-price {
    font-size: 52px; font-weight: 700; text-align: center; margin-bottom: 5px; color: var(--dark);
}
.pricing-price .currency { font-size: 28px; font-weight: 600; vertical-align: super; color: var(--gray); }
.pricing-price .period { font-size: 18px; color: var(--gray); font-weight: 400; }
.original-price {
    text-align: center; margin-bottom: 15px; display: flex;
    justify-content: center; align-items: center; gap: 10px;
}
.original-price .crossed-price {
    font-size: 22px; color: var(--gray); text-decoration: line-through; opacity: 0.7;
}
.discount-badge {
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    color: white; padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.pricing-card .save-text {
    text-align: center; color: var(--success); font-weight: 600; margin-bottom: 25px; font-size: 15px;
}
.offer-valid-text {
    text-align: center; font-size: 13px; color: #ff6b35; font-weight: 600;
    margin-bottom: 20px; background: linear-gradient(to right, #fff4f0, white);
    padding: 10px; border-radius: 8px; border-left: 4px solid #ff6b35;
}
.pricing-features { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.pricing-features li {
    margin-bottom: 14px; padding-left: 32px; position: relative; font-size: 15px; color: var(--dark);
}
.pricing-features li:before {
    content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: 0; color: var(--success); font-size: 14px;
}
.pricing-features li.not-included { color: var(--gray); opacity: 0.6; }
.pricing-features li.not-included:before { content: "\f00d"; color: var(--gray); }

/* --- BUTTON GROUP --- */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Lite luft mellan knapparna */
    margin-top: auto;
    width: 100%;
}

/* --- URSPRUNGLIG KNAPP-DESIGN --- */
.pricing-button {
    display: block; width: 100%; padding: 14px 0;
    background: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
    color: white; border: none; border-radius: 8px; text-align: center;
    text-decoration: none; font-weight: 700; font-size: 16px;
    transition: all 0.3s; margin-top: 0; letter-spacing: 0.5px;
    cursor: pointer;
}
.pricing-button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3); }

/* Featured Card Button Override (Blå) */
.pricing-card.featured .pricing-button {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
}
.pricing-card.featured .pricing-button:hover { box-shadow: 0 10px 25px rgba(29, 53, 87, 0.3); }


/* Accordion (Pricing Page FAQ) */
.accordion { 
    margin-bottom: 15px; border-radius: 8px; overflow: hidden; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); border: 1px solid #eee; 
}
.accordion-header {
    background-color: var(--gray-light); padding: 15px 20px; cursor: pointer;
    position: relative; font-weight: 600; transition: background-color 0.3s; color: var(--dark);
}
.accordion-header:hover { background-color: #e5e7eb; }
.accordion-header:after {
    content: '\f078'; font-family: "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    transition: transform 0.3s; color: var(--primary);
}
.accordion.active .accordion-header:after { transform: translateY(-50%) rotate(180deg); }
.accordion-content {
    background-color: white; padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease; color: var(--gray);
}
.accordion.active .accordion-content { padding: 20px; max-height: 500px; }

/* --- ENTERPRISE SECTION --- */
.enterprise-section { padding: 80px 0; background-color: var(--gray-light); }
.enterprise-content { text-align: center; }
.enterprise-title h2 { font-size: 36px; margin-bottom: 15px; color: var(--dark); }
.enterprise-title p { font-size: 18px; color: var(--gray); margin-bottom: 50px; }
.enterprise-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-bottom: 60px;
}
.enterprise-card {
    background: white; padding: 40px 30px; border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s;
}
.enterprise-card:hover { transform: translateY(-10px); }
.enterprise-card-icon { font-size: 36px; color: var(--primary); margin-bottom: 25px; }
.enterprise-card h4 { font-size: 22px; margin-bottom: 15px; color: var(--dark); }
.enterprise-card p { color: var(--gray); font-size: 15px; line-height: 1.6; }
.enterprise-benefits { background: white; padding: 40px; border-radius: 12px; margin-bottom: 40px; }
.enterprise-benefits h3 { margin-bottom: 30px; color: var(--dark); }
.benefits-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; text-align: left;
}
.benefit-item { display: flex; align-items: flex-start; padding: 0; background: transparent; }
.benefit-icon { min-width: 25px; color: var(--success); margin-right: 15px; margin-top: 5px; }
.benefit-text { font-size: 16px; color: var(--dark); font-weight: 500; }
.enterprise-cta-button {
    display: inline-block; background: var(--dark); color: white; padding: 15px 40px;
    border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.3s;
}
.enterprise-cta-button:hover {
    background: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- CUSTOM QUOTE SECTION --- */
.custom-section { padding: 60px 0; background: white; }
.custom-box {
    background: var(--gray-light); border-radius: 15px; padding: 50px; text-align: center;
    max-width: 900px; margin: 0 auto; border: 1px dashed #cbd5e1;
}
.custom-box h3 { font-size: 28px; margin-bottom: 15px; color: var(--dark); }
.custom-box p {
    color: var(--gray); margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.custom-features { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; flex-wrap: wrap; }
.custom-feature { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dark); font-weight: 600; }
.custom-feature i { font-size: 24px; color: var(--secondary); }

/* --- COMPARE TABLE SECTIONS --- */
.compare-section { padding: 80px 0; background-color: white; }
.compare-section .section-title { text-align: center; margin-bottom: 50px; }
.table-container {
    overflow-x: auto; background: white; border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05); margin: 0 auto; border: 1px solid #eee;
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.compare-table th {
    padding: 20px; background-color: var(--dark); color: white;
    font-size: 18px; font-weight: 600; text-align: center; width: 25%;
}
.compare-table th:first-child {
    text-align: left; background-color: var(--secondary);
    border-top-left-radius: 12px; padding-left: 30px;
}
.compare-table th:last-child { border-top-right-radius: 12px; }
.compare-table .category-header td {
    background-color: var(--gray-light); color: var(--dark); font-weight: 700;
    text-transform: uppercase; font-size: 13px; letter-spacing: 1px;
    padding: 12px 30px; text-align: left; border-bottom: 1px solid #ddd;
}
.compare-table td { padding: 15px 20px; color: var(--dark); border-bottom: 1px solid #eee; }
.compare-table .feature-name { font-weight: 600; text-align: left; padding-left: 30px; }
.compare-table td:not(.feature-name) { text-align: center; }
.compare-table tr:not(.category-header):hover td { background-color: #f9f9f9; }
.compare-table .check { color: var(--success); font-size: 18px; }
.compare-table .cross { color: #ccc; font-size: 18px; }

/* Responsive Pricing */
@media (max-width: 768px) {
    .offer-text { font-size: 14px; flex-direction: column; gap: 5px; }
    .custom-features { flex-direction: column; gap: 20px; }
}
/* --- START: pages/_features.css --- */
/* --- FEATURES PAGE SPECIFIC --- */
.feature-highlight { padding: 80px 0; background-color: var(--gray-light); }
.feature-highlight.alt { background-color: white; }
.feature-content { display: flex; align-items: center; flex-wrap: wrap; gap: 40px; }
.feature-content.reverse { flex-direction: row-reverse; }
.feature-image { flex: 1; min-width: 300px; position: relative; }
.feature-image img { width: 100%; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.feature-info { flex: 1; min-width: 300px; }
.feature-info h2 { font-size: 30px; margin-bottom: 20px; color: var(--dark); }
.feature-info p { margin-bottom: 20px; color: var(--gray); font-size: 16px; }
.commercial-section {
    padding: 80px 0; background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white; position: relative; overflow: hidden;
}
.commercial-content {
    position: relative; z-index: 1; display: flex; align-items: center; gap: 50px; flex-wrap: wrap;
}
.commercial-info { flex: 1; min-width: 300px; }
.commercial-info h2 { font-size: 36px; margin-bottom: 20px; position: relative; }
.commercial-info h2:after {
    content: ""; position: absolute; width: 60px; height: 3px;
    background-color: var(--primary); bottom: -10px; left: 0;
}
.commercial-info p { font-size: 18px; margin-bottom: 25px; opacity: 0.9; line-height: 1.7; }
.commercial-features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; margin: 40px 0;
}
.commercial-feature {
    background: rgba(255, 255, 255, 0.1); padding: 20px; border-radius: 10px;
    backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);
}
.commercial-feature i { font-size: 24px; color: var(--primary); margin-bottom: 10px; }
.commercial-feature h4 { font-size: 18px; margin-bottom: 10px; }
.commercial-feature p { font-size: 14px; opacity: 0.8; margin: 0; }
.commercial-stats {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px;
    margin: 40px 0; padding: 30px; background: rgba(255, 255, 255, 0.1);
    border-radius: 15px; backdrop-filter: blur(10px);
}
.commercial-stat { text-align: center; min-width: 120px; }
.commercial-stat .stat-number { font-size: 36px; font-weight: bold; color: var(--primary); margin-bottom: 5px; }
.commercial-stat .stat-label { font-size: 14px; opacity: 0.8; color: white; }
.commercial-image { flex: 1; min-width: 300px; position: relative; }
.commercial-image img { width: 100%; border-radius: 15px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.interactive-demo { padding: 80px 0; background-color: white; text-align: center; }
.demo-tabs { display: flex; justify-content: center; gap: 10px; margin: 40px 0; flex-wrap: wrap; }
.demo-tab {
    padding: 12px 25px; background-color: var(--gray-light); border-radius: 30px;
    cursor: pointer; transition: all 0.3s; font-weight: 600;
}
.demo-tab.active { background-color: var(--primary); color: white; }
.demo-content {
    max-width: 900px; margin: 0 auto; background-color: var(--gray-light);
    border-radius: 10px; padding: 40px; min-height: 400px; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.demo-panel { display: none; width: 100%; }
.demo-panel.active { display: block; }
.demo-image { max-width: 100%; height: auto; border-radius: 5px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.template-library { padding: 80px 0; background-color: var(--gray-light); text-align: center; }
.template-stats { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin: 40px 0; }
.template-categories {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin: 40px 0;
}
.category-card {
    background-color: white; border-radius: 10px; padding: 20px; text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: all 0.3s;
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.category-icon { font-size: 40px; color: var(--primary); margin-bottom: 15px; }
.category-card h3 { margin-bottom: 10px; font-size: 18px; }
.category-card p { color: var(--gray); font-size: 14px; }

/* FAQ Style (Features Page) */
.faq-section { padding: 80px 0; background-color: white; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 15px; border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); border: 1px solid #eee; cursor: pointer;
}
.faq-question {
    background-color: var(--gray-light); padding: 15px 20px; position: relative;
    font-weight: 600; transition: background-color 0.3s; user-select: none;
    display: flex; align-items: center; color: var(--dark);
}
.faq-question:hover { background-color: #e5e7eb; }
.faq-question .fa-plus { display: inline-block; margin-right: 10px; color: var(--primary); }
.faq-question .fa-minus { display: none; margin-right: 10px; color: var(--primary); }
.faq-item.active .fa-plus { display: none; }
.faq-item.active .fa-minus { display: inline-block; }
.faq-item.active .faq-answer { padding: 20px; max-height: 1000px; }
.faq-answer {
    background-color: white; padding: 0 20px; max-height: 0; overflow: hidden;
    transition: all 0.3s ease; color: var(--gray);
}

/* --- CUSTOM TEMPLATES SECTION --- */
.custom-templates-section { padding: 80px 0; background-color: white; }
.custom-templates-box {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    border-radius: 20px; padding: 60px; display: flex; align-items: center;
    gap: 60px; color: white; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative; overflow: hidden;
}
.custom-templates-box::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
    background: rgba(255,255,255,0.05); border-radius: 50%; pointer-events: none;
}
.custom-templates-content { flex: 1; position: relative; z-index: 2; }
.custom-templates-content h3 { font-size: 32px; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; }
.custom-templates-icon {
    background: var(--primary); width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}
.custom-templates-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; line-height: 1.7; }
.custom-templates-features { list-style: none; margin-bottom: 40px; }
.custom-templates-features li { display: flex; align-items: center; margin-bottom: 15px; font-size: 16px; }
.custom-templates-features .feature-icon {
    width: 30px; height: 30px; background: rgba(255,255,255,0.2); color: var(--primary-light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-right: 15px; font-size: 14px; margin-bottom: 0; flex-shrink: 0;
}
.custom-templates-cta {
    display: inline-block; padding: 12px 30px; background-color: var(--primary);
    color: white; text-decoration: none; font-weight: 600; border-radius: 6px; transition: all 0.3s;
}
.custom-templates-cta:hover { background-color: white; color: var(--primary); transform: translateY(-3px); }
.custom-templates-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.template-stack { position: relative; width: 280px; height: 320px; }
.template-card {
    position: absolute; width: 100%; height: 180px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.template-card:nth-child(1) { top: 0; left: 0; z-index: 1; transform: scale(0.9); opacity: 0.6; }
.template-card:nth-child(2) { top: 40px; left: 20px; z-index: 2; transform: scale(0.95); opacity: 0.8; background: rgba(255,255,255,0.15); }
.template-card:nth-child(3) { top: 80px; left: 40px; z-index: 3; background: white; color: var(--dark); }
.custom-templates-box:hover .template-card:nth-child(3) { transform: translateY(-10px) translateX(10px); }

/* Responsive Features */
@media (max-width: 768px) {
    .feature-content, .feature-content.reverse { flex-direction: column; }
    .feature-image, .feature-info { width: 100%; }
    .commercial-content { flex-direction: column; gap: 30px; }
    .commercial-features { grid-template-columns: 1fr; }
    .commercial-stats { flex-direction: column; align-items: center; gap: 20px; }
    .template-stats { flex-direction: column; }
    .template-categories { grid-template-columns: 1fr; }
    .custom-templates-box { flex-direction: column; padding: 30px; gap: 40px; }
    .template-stack { width: 100%; height: 200px; }
    .template-card { height: 120px; }
    .custom-templates-visual { width: 100%; }
}
/* --- 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 --- */
.contact-section { padding: 80px 0; background-color: white; position: relative; }
.contact-content { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.contact-form-container {
    flex: 1; min-width: 300px; background-color: var(--gray-light);
    border-radius: 10px; padding: 30px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.form-title { margin-bottom: 25px; font-size: 24px; color: var(--dark); }
.contact-info { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 30px; }
.info-card {
    background-color: var(--gray-light); border-radius: 10px; padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: all 0.3s ease;
}
.info-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.info-card h3 { display: flex; align-items: center; margin-bottom: 15px; font-size: 18px; color: var(--primary); }
.info-card h3 i { margin-right: 10px; font-size: 20px; color: var(--primary); }
.info-card p { margin-bottom: 5px; color: var(--dark); }
.info-card a { color: var(--secondary); text-decoration: none; transition: color 0.3s; }
.info-card a:hover { color: var(--primary); }
.social-icons { margin-top: 15px; display: flex; gap: 15px; }
.social-icon {
    width: 35px; height: 35px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--dark); transition: all 0.3s;
}
.social-icon:hover { background: var(--primary); color: white; }
.map-section { height: 500px; background-color: #eee; position: relative; overflow: hidden; }
.map-section iframe { width: 100%; height: 100%; border: none; }
.map-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.8) 0%, rgba(69, 123, 157, 0.8) 100%);
    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: 20px; }
.map-overlay h3 { font-size: 24px; margin-bottom: 15px; }
.map-overlay p { margin-bottom: 20px; max-width: 500px; }
.map-button {
    background-color: var(--primary); color: white; border: none; padding: 12px 30px;
    border-radius: 6px; font-weight: 600; cursor: pointer; transition: background-color 0.3s; display: inline-block;
}
.map-button:hover { background-color: var(--primary-light); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-content { flex-direction: column-reverse; }
}
/* --- START: pages/_resources.css --- */
/* --- RESOURCES PAGE --- */
.resource-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0; }
.filter-button {
    padding: 10px 20px; background-color: var(--gray-light); border: none; border-radius: 30px;
    cursor: pointer; transition: all 0.3s; font-weight: 500; color: var(--dark);
}
.filter-button:hover { background-color: var(--gray); color: white; }
.filter-button.active { background-color: var(--primary); color: white; }
.resources-section { padding: 80px 0; background-color: white; }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 50px; }
.resource-card {
    background-color: white; border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s;
    display: flex; flex-direction: column; height: 100%;
}
.resource-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.resource-image { width: 100%; height: 180px; overflow: hidden; position: relative; }
.resource-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.resource-card:hover .resource-image img { transform: scale(1.1); }
.resource-tag {
    position: absolute; top: 10px; left: 10px; background-color: var(--primary);
    color: white; padding: 5px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase;
}
.resource-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.resource-date { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.resource-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--dark); }
.resource-card p { color: var(--gray); margin-bottom: 15px; flex-grow: 1; }
.resource-link {
    display: inline-flex; align-items: center; color: var(--primary);
    font-weight: 600; text-decoration: none; margin-top: auto;
}
.resource-link:hover { text-decoration: underline; }
.resource-link i { margin-left: 5px; transition: transform 0.3s; }
.resource-link:hover i { transform: translateX(5px); }
.video-section { padding: 80px 0; background-color: var(--gray-light); }
.video-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-top: 40px; }
.video-player {
    flex: 1; min-width: 300px; position: relative; border-radius: 10px;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.video-player img { width: 100%; display: block; border-radius: 10px; }
.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80px; height: 80px; background-color: rgba(230, 57, 70, 0.8);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background-color 0.3s;
}
.play-button:hover { background-color: var(--primary); }
.play-button i { color: white; font-size: 30px; margin-left: 5px; }
.video-playlist { flex: 1; min-width: 300px; }
.playlist-title {
    font-size: 24px; margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 1px solid var(--gray); color: var(--dark);
}
.playlist-items { list-style: none; }
.playlist-item {
    background-color: white; border-radius: 6px; padding: 15px;
    margin-bottom: 15px; cursor: pointer; display: flex; gap: 15px;
    transition: background-color 0.3s, transform 0.3s;
}
.playlist-item:hover { background-color: var(--primary-light); transform: translateX(5px); }
.playlist-item.active { background-color: var(--primary); color: white; }
.video-thumbnail { width: 80px; height: 60px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.video-info { flex-grow: 1; }
.video-title { font-weight: 600; margin-bottom: 5px; }
.video-duration { font-size: 12px; color: var(--gray); }
.playlist-item.active .video-duration { color: rgba(255, 255, 255, 0.7); }
.documentation-section { padding: 80px 0; background-color: white; }
.documentation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.doc-card {
    background-color: var(--gray-light); border-radius: 10px; padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s; text-align: center;
}
.doc-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.doc-icon { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.doc-card h3 { font-size: 20px; margin-bottom: 15px; color: var(--dark); }
.doc-card p { color: var(--gray); margin-bottom: 20px; }
.doc-button {
    display: inline-block; padding: 8px 20px; background-color: var(--primary);
    color: white; border-radius: 4px; text-decoration: none; font-weight: 500; transition: background-color 0.3s;
}
.doc-button:hover { background-color: var(--primary-light); }
.support-section { padding: 80px 0; background-color: var(--gray-light); }
.support-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.support-card {
    background-color: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px; max-width: 350px; width: 100%;
    transition: transform 0.3s, box-shadow 0.3s; text-align: center;
}
.support-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.support-icon {
    width: 70px; height: 70px; background-color: var(--primary-light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.support-icon i { font-size: 30px; color: var(--primary); }
.support-card h3 { font-size: 22px; margin-bottom: 15px; color: var(--dark); }
.support-card p { color: var(--gray); margin-bottom: 20px; }
/* --- START: pages/_status-page.css --- */
/* --- STATUS PAGE --- */
.system-status { padding: 60px 0; background-color: white; }
.status-overview {
    background-color: var(--gray-light); border-radius: 10px; padding: 30px;
    text-align: center; margin-bottom: 40px; position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.status-badge {
    display: inline-block; font-size: 14px; font-weight: 600; padding: 6px 16px;
    border-radius: 20px; margin-top: 10px; background-color: var(--success); color: white;
}
.status-badge.operational { background-color: var(--success); }
.status-badge.maintenance { background-color: var(--warning); }
.status-badge.degraded { background-color: #8d99ae; }
.status-badge.outage { background-color: var(--danger); }
.status-timestamp { display: block; font-size: 14px; color: var(--gray); margin-top: 10px; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.status-card {
    background-color: white; border-radius: 10px; padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--success);
}
.status-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.status-card.operational { border-left-color: var(--success); }
.status-card.maintenance { border-left-color: var(--warning); }
.status-card.degraded { border-left-color: #8d99ae; }
.status-card.outage { border-left-color: var(--danger); }
.status-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.status-card h3 { font-size: 18px; margin: 0; }
.status-card .status-indicator {
    width: 12px; height: 12px; border-radius: 50%; background-color: var(--success);
    display: inline-block; margin-right: 6px;
}
.status-card .status-indicator.operational { background-color: var(--success); animation: pulse 2s infinite; }
.status-card .status-indicator.maintenance { background-color: var(--warning); animation: none; }
.status-card .status-indicator.degraded { background-color: #8d99ae; animation: none; }
.status-card .status-indicator.outage { background-color: var(--danger); animation: none; }
.status-details { color: var(--gray); font-size: 14px; }
.status-uptime { margin-top: 15px; font-size: 14px; color: var(--dark); }
.uptime-bar { height: 6px; background-color: #eee; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.uptime-fill { height: 100%; background-color: var(--success); border-radius: 3px; }
.response-time { font-size: 14px; color: var(--gray); margin-top: 5px; }
.good-time { color: var(--success); }
.average-time { color: var(--warning); }
.slow-time { color: var(--danger); }
.live-update { display: inline-flex; align-items: center; font-size: 12px; color: var(--success); margin-left: 10px; }
.live-indicator {
    width: 8px; height: 8px; background-color: var(--success);
    border-radius: 50%; margin-right: 5px; animation: pulse 2s infinite;
}
.incident-history { margin-top: 60px; }
.incident-title { font-size: 24px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-light); }
.incident-list { list-style: none; }
.incident-item { padding: 20px 0; border-bottom: 1px solid var(--gray-light); }
.incident-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.incident-date { font-size: 14px; color: var(--gray); }
.incident-header h3 { font-size: 16px; font-weight: 600; margin: 0; }
.incident-description { margin-bottom: 15px; color: var(--dark); }
.incident-timeline { margin-top: 15px; padding-left: 20px; border-left: 2px solid var(--gray-light); }
.timeline-item { position: relative; padding-bottom: 15px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:before {
    content: ''; position: absolute; left: -26px; top: 5px; width: 10px; height: 10px;
    border-radius: 50%; background-color: var(--primary);
}
.timeline-time { font-size: 12px; font-weight: 600; color: var(--dark); }
.timeline-text { font-size: 14px; margin-top: 5px; color: var(--gray); }

/* Responsive Status */
@media (max-width: 768px) {
    .incident-header { flex-direction: column; align-items: flex-start; }
    .incident-date { margin-top: 5px; }
}
/* --- START: pages/_legal.css --- */
/* --- LEGAL CONTENT --- */
.legal-content-box {
    background: white; border-radius: 10px; padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); margin: 50px auto; max-width: 900px;
}
.legal-content-box h2 {
    color: var(--primary); margin-bottom: 20px; font-size: 28px;
    border-bottom: 1px solid #eee; padding-bottom: 10px; margin-top: 30px;
}
.legal-content-box h3 { color: var(--dark); margin-top: 20px; margin-bottom: 15px; }
.legal-content-box p { color: var(--dark); margin-bottom: 15px; line-height: 1.8; }
.legal-content-box ul, .legal-content-box ol { margin: 20px 0; padding-left: 20px; }
.legal-content-box li { color: var(--dark); margin-bottom: 10px; line-height: 1.6; }
.toc { background-color: var(--gray-light); border: 1px solid #ddd; padding: 20px; margin-bottom: 30px; border-radius: 5px; }
.toc ul { list-style-type: none; padding-left: 0; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--secondary); text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.back-link { display: inline-block; margin-top: 20px; color: var(--primary); text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* --- UNSUBSCRIBE --- */
.unsubscribe-section {
    padding: 60px 0; background-color: var(--gray-light); min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
}
.unsubscribe-container {
    background-color: white; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    max-width: 500px; width: 100%; overflow: hidden;
}
.unsubscribe-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: white; padding: 30px; text-align: center;
}
.unsubscribe-header h1 { font-size: 24px; margin-bottom: 10px; }
.unsubscribe-header p { font-size: 14px; opacity: 0.9; margin: 0; }
.unsubscribe-content { padding: 30px; }
.unsubscribe-divider { margin: 30px 0; text-align: center; position: relative; }
.unsubscribe-divider:before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background-color: #ddd; }
.unsubscribe-divider span { background-color: white; padding: 0 15px; position: relative; color: #666; font-size: 14px; }
.info-box {
    background-color: #f0f8ff; border: 1px solid #b8daff; border-radius: 4px; padding: 15px; margin-top: 20px;
}
.info-box h3 { color: var(--secondary); margin-bottom: 10px; font-size: 16px; }
.info-box p { color: var(--dark); font-size: 14px; line-height: 1.5; margin: 0; }
.button-secondary { background-color: var(--gray); margin-top: 10px; }
.button-secondary:hover { background-color: var(--dark); }
/* --- START: pages/_help.css --- */
/* assets/css/pages/_help.css */

/* Help Center Specific Styles */
.help-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: visible;
}

.help-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.help-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Search Box */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1000;
}

.search-box {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.search-box:focus {
    outline: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.search-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-50%) scale(1.1);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
}

.search-results.active {
    display: block;
}

.search-results-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--gray);
    font-size: 14px;
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    transition: background-color 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--dark);
}

.search-result-item:hover {
    background-color: var(--gray-light);
}

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

.search-result-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.search-result-meta {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.search-result-category {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-right: 8px;
}

.search-result-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.4;
}

.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: var(--gray);
}

.search-loading {
    padding: 30px 20px;
    text-align: center;
    color: var(--gray);
}

.search-loading .spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Quick Links */
.quick-links {
    padding: 40px 0;
    background-color: white;
}

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

.quick-link-card {
    background-color: var(--gray-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--dark);
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.quick-link-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.quick-link-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.quick-link-card p {
    color: var(--gray);
    font-size: 14px;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    font-size: 18px;
}

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

.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.category-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 20px;
}

.category-title {
    font-size: 20px;
    color: var(--dark);
    margin: 0;
}

.article-list {
    list-style: none;
}

.article-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(141, 153, 174, 0.1);
}

.article-list li:last-child {
    border-bottom: none;
}

.article-link {
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    padding: 5px 0;
}

.article-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

.article-link:before {
    content: '→';
    margin-right: 10px;
    font-weight: bold;
}

.view-all-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all-link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.view-all-link:after {
    content: ' →';
}

/* Popular Articles */
.popular-articles {
    padding: 60px 0;
    background-color: white;
}

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

.article-card {
    background-color: var(--gray-light);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 14px;
}

.article-category {
    background-color: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 10px;
}

.article-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.article-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.read-more:after {
    content: ' →';
    margin-left: 5px;
}

/* Contact Support */
.contact-support {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.contact-support h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

.contact-support p {
    margin-bottom: 30px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-method {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 20px 30px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-method:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-method i {
    font-size: 24px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-light);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--gray);
}

.breadcrumb-current {
    color: var(--dark);
    font-weight: 500;
}

/* Article Layout */
.article-container {
    display: flex;
    gap: 40px;
    padding: 40px 0;
}

/* Sidebar */
.article-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.sidebar-links {
    list-style: none;
}

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

.sidebar-links a {
    color: var(--secondary);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 14px;
}

.sidebar-links a:hover {
    background-color: var(--gray-light);
    color: var(--primary);
    padding-left: 18px;
}

.sidebar-links a.active {
    background-color: var(--primary);
    color: white;
}

/* Main Article Content */
.article-content {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-light);
}

.article-title {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-body {
    color: var(--dark);
    line-height: 1.8;
}

.article-body h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.article-body h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

/* Alert Boxes */
.alert-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-box .alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert-box.info {
    background-color: rgba(69, 123, 157, 0.1);
    border-left: 4px solid var(--secondary);
}

.alert-box.warning {
    background-color: rgba(255, 152, 0, 0.1);
    border-left: 4px solid var(--warning);
}

.alert-box.success {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--success);
}

.alert-box.tip {
    background-color: rgba(76, 201, 240, 0.1);
    border-left: 4px solid var(--highlight);
}

/* Responsive */
@media (max-width: 1024px) {
    .article-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .help-hero h1 {
        font-size: 32px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method {
        width: 80%;
        max-width: 300px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 28px;
    }
}
/* --- START: pages/_ticket.css --- */
/* _ticket.css */

.ticket-section {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ticket-thread .message-box {
    transition: all 0.3s ease;
}

.ticket-thread .message-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ticket-thread strong {
    color: #333;
}

.ticket-thread .message-content {
    color: #444;
}

@media (max-width: 768px) {
    .ticket-thread > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 8px !important;
    }
}
