/* CleanExit.se - Main Stylesheet */

:root {
    --primary: #1a365d;
    --primary-dark: #0f2942;
    --primary-light: #e8eef4;
    --accent: #b8860b;
    --accent-light: #f5f0e1;
    --dark: #1a202c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green: #047857;
    --green-light: #ecfdf5;
    --orange: #b45309;
    --orange-light: #fffbeb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HEADER ==================== */
header {
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.header-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 11px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid var(--primary);
}

.header-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

@media (max-width: 768px) {
    nav a:not(.header-cta) { display: none; }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

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

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--primary-dark);
    padding: 60px 0 30px;
    color: rgba(255,255,255,0.7);
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-company {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-separator {
    color: rgba(255,255,255,0.3);
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-phone:hover {
    color: #fff;
}

.footer-phone svg {
    width: 16px;
    height: 16px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-email:hover {
    color: #fff;
}

.footer-email svg {
    width: 16px;
    height: 16px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.footer-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-legal-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 600px) {
    .footer-trust {
        gap: 16px;
    }
    
    .trust-badge {
        font-size: 0.8rem;
    }
    
    .trust-badge svg {
        width: 18px;
        height: 18px;
    }
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

input::placeholder {
    color: var(--gray-400);
}

/* ==================== CARDS ==================== */
.card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.06);
}

/* ==================== FAQ PAGE ==================== */
.faq-page {
    padding: 80px 0;
}

.faq-page-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 16px;
}

.faq-page-question {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.faq-page-answer {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==================== CONTACT PAGE ==================== */
.contact-page {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-info-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-info-value {
    font-weight: 600;
    color: var(--dark);
}

.contact-info-value a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info-value a:hover {
    text-decoration: underline;
}

/* ==================== LEGAL PAGES ==================== */
.legal-page {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ==================== COOKIE POPUP ==================== */
.cookie-popup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(26, 54, 93, 0.15), 0 2px 8px rgba(0,0,0,0.08);
    z-index: 9999;
    padding: 24px;
    border: 1px solid var(--gray-200);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cookie-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.cookie-text {
    flex: 1;
}

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

.cookie-text p:first-child {
    color: var(--primary);
    margin-bottom: 4px;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-accept {
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    align-self: center;
}

.cookie-accept:hover {
    background: var(--primary-dark);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .cookie-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-icon {
        display: none;
    }
    
    .cookie-accept {
        width: 100%;
    }
}
