:root {
    --bg-dark: #0a0a0a;
    --bg-alt: #111111;
    --card-bg: #141414;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text-white: #ffffff;
    --text-body: #a0a0a0;
    --text-muted: #666666;
    --border: #27272a;
    --pill-bg: #1a1a1a;
    --pill-border: #333333;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    color: var(--text-white);
    font-weight: 700;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.section-padding {
    padding: 100px 0;
}

.section-heading {
    font-size: 40px;
    text-align: center;
    margin-bottom: 1rem;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-white);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, var(--bg-dark) 70%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-video-section {
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 1;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 2px;
}

.hero-compact {
    min-height: auto;
    padding: 160px 0 80px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.scarcity {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 600;
}

.shape {
    position: absolute;
    z-index: 0;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.15;
}
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: 10%; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: #6366f1; bottom: 10%; right: -50px; }

/* --- TRUST BAR --- */
.trust-bar {
    padding: 50px 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
}

.trust-title {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-logo {
    height: 64px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* --- HOW IT WORKS --- */
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

@media (min-width: 992px) {
    .how-grid::before {
        content: '';
        position: absolute;
        top: 75px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
        z-index: 0;
    }
}

.how-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 3px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.how-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* --- PACKAGES --- */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-top: 4rem;
}

.package-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.package-card h3 {
    font-size: 28px;
    margin-bottom: 0.5rem;
}

.package-card.highlight {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, #141414 0%, #0f172a 100%);
    transform: translateY(-15px);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-white);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-body);
}

.value-text {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-body);
}

/* --- GUARANTEE --- */
.guarantee-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-name {
    margin-top: 1.5rem;
    font-weight: 700;
    color: white;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-white);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    gap: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-body);
    padding-bottom: 0;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* --- CONTENT SECTION (Landing pages) --- */
.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.content-section ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.content-section ul li {
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.content-section ul li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- PRICE TABLE (Priser page) --- */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

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

.price-table th {
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-table td {
    color: var(--text-body);
}

.price-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

.price-table .highlight-row td {
    background: rgba(59, 130, 246, 0.08);
    color: var(--text-white);
    font-weight: 600;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 1rem;
}

.modal {
    background: #1a1a1a;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--border);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    background: none;
    border: none;
    color: var(--text-body);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-body);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: #0a0a0a;
    color: white;
}

.form-error {
    color: #ef4444;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.form-error.visible {
    display: block;
}

/* --- FOOTER --- */
footer {
    padding: 80px 0 40px;
    background: #050505;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-contact {
    color: var(--text-body);
    text-align: right;
}

.footer-contact p {
    margin: 0;
}

.footer-copyright {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-seo-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.footer-seo-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 4rem auto 0;
    }
    .package-card.highlight {
        transform: none;
    }
    .hero h1 { font-size: 40px; }
    .section-heading { font-size: 28px; }
    .guarantee-box { padding: 2.5rem 1.5rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-contact { text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .price { font-size: 2.2rem; }
    .btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
    .trust-logos { gap: 2rem; }
    .trust-logo { height: 44px; }
}
