:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #f8fafc;
    --card-bg: #1e293b;
    --card-border: #334155;
    --success: #10b981;
    --gradient-1: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--darker);
    color: #e2e8f0;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all var(--transition);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 0.7rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover {
    color: #fff;
}
.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-1);
    color: #fff !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    transition: all var(--transition) !important;
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}
.btn-nav::after {
    display: none !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 70%),
        var(--dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: #a5b4fc;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}
.hero h1 .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.45);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(79, 70, 229, 0.6);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* Floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
    filter: blur(80px);
}
.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: #4f46e5;
    top: -150px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}
.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    bottom: -100px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}
.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: #a855f7;
    top: 50%;
    left: 60%;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-30px) scale(1.05); }
    66% { transform: translateY(20px) scale(0.95); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTION STYLES ========== */
section {
    padding: 6rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    background: rgba(79, 70, 229, 0.15);
    color: #a5b4fc;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--white);
}

.section-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 550px;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}
.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ========== FEATURES ========== */
#tjenester {
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(129, 140, 248, 0.4);
}
.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary-light);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.feature-card p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========== PRICING ========== */
#priser {
    background: radial-gradient(ellipse at 50% 0%, rgba(79, 70, 229, 0.08) 0%, transparent 50%), var(--darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.2);
    z-index: 2;
}
.pricing-card.featured:hover {
    box-shadow: 0 0 60px rgba(79, 70, 229, 0.35);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-1);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}
.pricing-icon.basic {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
}
.pricing-icon.pro {
    background: rgba(79, 70, 229, 0.2);
    color: #a5b4fc;
}
.pricing-icon.enterprise {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
}
.pricing-card .pricing-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 0.2rem;
}
.price span {
    font-size: 1rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0;
}
.price-note {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.pricing-features li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pricing-features li .check {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing-features li .cross {
    color: #64748b;
    flex-shrink: 0;
    margin-top: 1px;
}

.btn-pricing {
    display: block;
    text-align: center;
    padding: 0.85rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    width: 100%;
    color: #fff;
}
.btn-pricing.gradient-btn {
    background: var(--gradient-1);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}
.btn-pricing.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.55);
}

/* ========== PROCESS / ABOUT ========== */
#om-oss {
    background: var(--dark);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text p {
    color: #94a3b8;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
}
.stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}
.stat-card .stat-label {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* ========== CONTACT ========== */
#kontakt {
    background: radial-gradient(ellipse at 50% 100%, rgba(79, 70, 229, 0.1) 0%, transparent 50%), var(--darker);
}
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.contact-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}
.contact-card p {
    color: #94a3b8;
    margin-bottom: 2rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition);
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.contact-form textarea {
    min-height: 120px;
}
.contact-form button {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    border: none;
    background: var(--gradient-1);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    align-self: flex-start;
}
.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.55);
}

/* ========== FOOTER ========== */
footer {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-size: 0.85rem;
}
footer a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color var(--transition);
}
footer a:hover {
    color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1000;
    }
    .nav-links.active {
        right: 0;
    }
    .mobile-toggle {
        display: flex;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    section {
        padding: 4rem 1.2rem;
    }
    .contact-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
}