
/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
    /* Colors */
    --bg: #09090b;
    --surface: rgba(24, 24, 27, 0.6);
    --surface-hover: rgba(39, 39, 42, 0.8);
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --text-faint: #52525b;

    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-secondary: #10b981;
    --accent-tertiary: #f43f5e;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Typography — static */
    --text-xs: 0.8rem;
    --text-sm: 0.9rem;
    --text-md: 0.95rem;
    --text-base: 1rem;
    --text-lg: 1.1rem;
    --text-xl: 1.25rem;

    /* Typography — fluid */
    --text-h3: clamp(1.2rem, 3vw, 1.8rem);
    --text-h2: clamp(1.75rem, 5vw, 2.5rem);
    --text-price: clamp(2.25rem, 6vw, 3rem);
    --text-h1: clamp(2.5rem, 8vw, 5rem);

    /* Misc */
    --glass-blur: blur(12px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient background glow */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
    max-width: 1120px;
    margin: 32px auto;
    padding: 0 32px;
}

.section-label {
    display: flex;
    justify-content: center;
}

em {
    margin: 0 0.3rem;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

/* Shared heading style used by multiple sections */
.section-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: var(--text-h2);
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-align: center;
}

.title-paragraph {
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: -30px auto 40px;
    font-weight: 300;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: var(--text-h1);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    padding-bottom: 0.25rem;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: var(--text-xl);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    margin: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface-hover);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn.primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.btn.secondary {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #fff;
    box-shadow: 0 0 30px rgb(var(--accent-secondary) / 0.4);
}

.btn.secondary:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 30px rgb(148 216 182 / 0.6);
}

.btn.tertiary {
    background: var(--accent-tertiary);
    border-color: var(--accent-tertiary);
    color: #fff;
    box-shadow: 0 0 30px rgb(145 35 71 / 0.6);
}

.btn.tertiary:hover {
    background: var(--accent-tertiary);
    box-shadow: 0 0 30px rgb(236 144 174 / 0.6);
}

.card .btn {
    width: 100%;
    margin-top: auto;
}

/* ============================================================
   WHY / BENTO GRID
   ============================================================ */

.why {
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--glass-blur);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.why-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.why-card p {
    color: var(--text-muted);
    font-size: var(--text-md);
}

/* Alert variant */
.why-grid .why-card.card-alert {
    border-color: rgba(244, 63, 94, 0.3);
}

.why-card .why-card-num.num-alert {
    color: var(--accent-tertiary);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-accordion {
    padding: 80px 0;
}

.accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
}

.accordion-header {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--accent);
}

.accordion-header::after {
    content: "+";
    font-size: var(--text-h2);
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"]::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: var(--text-md);
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    max-height: 400px;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing {
    padding: 80px 0 120px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Pricing closure / CTA block */
.pricing-closure {
    border-top: 1px solid var(--border);
    text-align: center;
}

.pricing-closure .section-heading-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.pricing-closure .title-paragraph {
    font-size: 1.1rem;
}

.pricing-cta-group {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Cards ──────────────────── */

.card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--border-strong);
}

/* Light */
.card.light:hover {
    border-color: var(--border-strong);
    box-shadow: 0 0 30px -10px rgba(255, 255, 255, 0.1);
}

/* Featured (indigo) */
.card.featured {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, var(--surface) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 40px -15px var(--accent-glow);
}

.card.featured:hover {
    border-color: var(--accent-hover);
    box-shadow: 0 0 40px -10px var(--accent-glow);
}

.card.featured .features li::before {
    color: var(--accent);
}

/* Special (green) */
.card.special {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.03) 0%, var(--surface) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.card.special:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 40px -15px rgba(16, 185, 129, 0.25);
}

.card.special .features li::before {
    color: var(--accent-secondary);
}

/* Takeover (red) */
.card.takeover {
    background: linear-gradient(180deg, rgba(244, 63, 94, 0.03) 0%, var(--surface) 100%);
    border-color: rgba(244, 63, 94, 0.2);
}

.card.takeover:hover {
    border-color: var(--accent-tertiary);
    box-shadow: 0 0 40px -15px rgba(244, 63, 94, 0.25);
}

.card.takeover .features li::before {
    color: var(--accent-tertiary);
}

/* ── Card internals ─────────── */

.card-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: var(--text-h3);
    margin-bottom: 8px;
    text-align: left;
}

.card-header p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.price {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-price);
    font-weight: 700;
    margin: 32px 0;
    letter-spacing: -1px;
    color: var(--text);
}

.price span {
    font-family: 'Inter', sans-serif;
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-faint);
}

.features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.features li {
    padding: 12px 0;
    font-size: var(--text-md);
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
}

.extra {
    font-size: var(--text-xs);
    color: var(--text);
    margin-bottom: 24px;
}

/* ============================================================
   HOSTING
   ============================================================ */

.hosting-transparent {
    padding: 80px 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-wrapper {
    max-width: 800px;
    padding: 80px 0 120px;
}

.contact-form {
    padding: 56px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.contact-form > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
}

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

.input-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

input, textarea, select {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: var(--text-base);
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ============================================================
   SERVICE SUGGESTIONS
   ============================================================ */

.service-suggestions {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

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

.suggestion-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: var(--surface-hover);
    box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.suggestion-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.suggestion-card p {
    color: var(--text-muted);
    font-size: var(--text-md);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.suggestion-card:hover .card-link {
    gap: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-faint);
    font-size: var(--text-sm);
    margin-top: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
    .why-grid,
    .pricing-grid,
    .form-row,
    .accordion {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-form {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .card,
    .why-card {
        padding: 24px;
    }
}

/* ============================================================
   MODAL
   ============================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--surface);
    margin: 15% auto;
    padding: 32px;
    border: 1px solid var(--border-strong);
    width: 90%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
    text-align: center;
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text);
}

.modal-body {
    padding: 10px 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-secondary);
    color: white;
    font-size: 30px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.modal-body h2 {
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    color: var(--text);
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.close-modal-btn {
    width: 100%;
}
/* ─── ABOUT ─────────────────────────────────── */
.about-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.about-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: var(--text-h1, 3.5rem);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.about-hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Content Layout */
.about-inner-wrapper {
    max-width: 680px; /* Håller textraderna lagom långa och läsvänliga */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px; /* Skönt avstånd mellan de två blocken */
}

.about-section h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: var(--text-h2, 2rem);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.about-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 20px;
}

.about-section p:last-of-type {
    margin-bottom: 0;
}

/* Highlights & Accents */
.about-section .highlight {
    color: var(--text, #ffffff);
    font-weight: 500;
}

.about-section .accent-text {
    color: var(--accent, #a78bfa); /* Ersätt med din accentfärg (t.ex. den lila från korten) */
    font-weight: 500;
}

/* CTA & LinkedIn-knapp */
.about-cta-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.about-cta-wrapper .btn.primary {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 14px 28px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-cta-wrapper .btn.primary:hover {
    transform: translateY(-2px);
}