/* Bedriftsnette.no - Clean Design */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --accent: #3b82f6;
    --accent-light: #dbeafe;
    --text: #1a1a1a;
    --text-light: #555;
    --bg: #ffffff;
    --bg-soft: #f8faf9;
    --border: #e8ebe9;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
}

body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.logo { width: 36px; height: 36px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-nav {
    padding: 10px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: var(--radius);
    transition: background 0.2s;
}

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

.btn-nav-outline {
    padding: 10px 20px;
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.btn-nav-outline:hover { 
    background: var(--primary); 
    color: white !important;
}

/* Hamburger Menu (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Hero */
.hero {
    padding: 140px 0 100px; /* Account for fixed nav */
    text-align: center;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

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

.btn-primary {
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(45,106,79,0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45,106,79,0.3);
}

.btn-outline {
    padding: 14px 28px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--bg-soft);
}

/* Sections */
section { padding: 100px 0; }

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Features */
.features { background: var(--bg); }

/* 4x2 Feature Grid */
.feature-grid-4x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card-compact {
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    text-align: center;
}

.feature-card-compact:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card-compact .feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.feature-card-compact h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card-compact p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Legacy support */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 🎄 Language Section */
.language-section {
    background: linear-gradient(135deg, #d4edda 0%, #f8f9fa 50%, #fff8dc 100%);
    position: relative;
    overflow: hidden;
}

.language-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), #e74c3c);
}

.language-widget {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.language-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.lang-btn {
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 50px;
    background: white;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
    background: #f0f9f4;
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.language-output {
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
    border-radius: 16px;
    padding: 40px 32px;
    margin-bottom: 24px;
    border: 2px solid rgba(39, 174, 96, 0.2);
}

.lang-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.lang-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    font-style: italic;
    margin: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.language-note {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Expansion */
.expansion { background: var(--bg-soft); }

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

.expansion-card {
    padding: 32px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.expansion-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.expansion-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.expansion-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Pricing */
.pricing { background: var(--bg); }

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

.price-card {
    padding: 32px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-top {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.price-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.price-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-card > .price-top > p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

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

.price-note {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-note.green {
    color: var(--primary);
    font-weight: 600;
}

.price-card ul {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}

.price-card li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.price-card li:last-child { border: none; }

.price-card li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 600;
    margin-right: 8px;
}

.price-card li strong {
    color: var(--text);
}

.price-card li strong::before { content: none; }

.btn-price {
    display: block;
    padding: 14px;
    text-align: center;
    background: var(--bg);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-price:hover {
    background: var(--primary);
    color: white;
}

.btn-price.primary {
    background: var(--primary);
    color: white;
}

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

.pricing-footer {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius);
}

/* CTA */
.cta {
    background: var(--primary);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 12px;
}

.cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 32px;
    background: white;
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
}

.logo-small { width: 32px; height: 32px; }

.footer-links {
    display: flex;
    gap: 32px;
}

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

.footer-links a:hover { color: white; }

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

.footer-company {
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1100px) {
    .feature-grid-4x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .feature-grid,
    .expansion-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-card.featured { transform: none; }
}

@media (max-width: 600px) {
    .feature-grid-4x2 {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-card-compact {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    /* Mobile nav with hamburger menu */
    .nav { height: 60px; }
    .nav .container { height: 60px; }
    
    /* Show hamburger button */
    .hamburger {
        display: flex;
    }
    
    /* Mobile dropdown menu */
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 0;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .nav-links.active {
        max-height: 300px;
        padding: 16px 0;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 24px;
        border-radius: 0;
        text-align: left;
        font-size: 1rem;
    }
    
    .nav-links a:hover {
        background: var(--bg-soft);
    }
    
    .btn-nav, .btn-nav-outline { 
        margin: 8px 24px;
        text-align: center;
        padding: 12px 20px;
    }
    
    .hero { padding: 100px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-text { font-size: 0.95rem; padding: 0 10px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .hero-launch-note { font-size: 0.85rem; padding: 0 10px; }
    
    .section-intro h2 { font-size: 1.6rem; }
    .section-intro p { font-size: 0.95rem; }
    
    .footer-top { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
    
    .waitlist-form .form-row { flex-direction: column; }
    .waitlist-benefits { flex-direction: column; gap: 12px; }
    
    /* Language section mobile */
    .language-buttons { gap: 8px; flex-wrap: wrap; justify-content: center; }
    .lang-btn { padding: 8px 14px; font-size: 0.85rem; }
    .lang-text { font-size: 1.3rem; }
    .language-output { padding: 20px 16px; }
    
    /* Features mobile */
    .feature-card { padding: 24px 20px; }
    .feature-icon { font-size: 2rem; }
    .feature-card h3 { font-size: 1.1rem; }
    
    /* Pricing mobile */
    .price-card { padding: 28px 20px; }
    
    /* Consent mobile */
    .consent-row { margin: 16px 0; }
}

/* Extra small screens */
@media (max-width: 380px) {
    .nav .container { padding: 0 12px; }
    .hero h1 { font-size: 1.6rem; }
    .hero { padding: 90px 0 40px; }
}

/* Consent Checkbox */
.consent-row {
    margin: 20px 0;
    text-align: left;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-checkbox {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: #a8e6cf;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.consent-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.consent-text a {
    color: #a8e6cf;
    text-decoration: underline;
    font-weight: 500;
}

.consent-text a:hover {
    color: #fff;
}

/* Hero launch note */
.hero-launch-note {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--primary);
    background: var(--accent-light);
    padding: 12px 24px;
    border-radius: 30px;
    display: inline-block;
}

/* Waitlist Section */
.waitlist-content {
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta p strong {
    color: var(--accent);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255,255,255,0.95);
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
}

.form-input::placeholder {
    color: #999;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-cta svg {
    transition: transform 0.2s;
}

.btn-cta:hover svg {
    transform: translateX(4px);
}

/* Success message */
.waitlist-success {
    background: rgba(255,255,255,0.15);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.waitlist-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.waitlist-success p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Benefits */
.waitlist-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.benefit span:first-child {
    font-size: 1.2rem;
}
