/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E4002B;
    --primary-dark: #C00024;
    --primary-light: #FF1A4A;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #28A745;
    --success-dark: #218838;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.logo-img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(228, 0, 43, 0.3);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(228, 0, 43, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -30px) scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(228, 0, 43, 0.08);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    color: var(--secondary-color);
    letter-spacing: -0.03em;
}

.hero-title-line {
    display: block;
}

.hero-title-line.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 95%;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

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

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: white;
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-phone:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(228, 0, 43, 0.2);
}

.btn-phone svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 500;
}

.feature-icon-wrapper {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(228, 0, 43, 0.1) 0%, rgba(228, 0, 43, 0.05) 100%);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-feature:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(228, 0, 43, 0.15) 0%, rgba(228, 0, 43, 0.1) 100%);
    transform: scale(1.1);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
    box-shadow: 0 40px 80px -12px rgba(228, 0, 43, 0.3);
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(228, 0, 43, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Segmentation Section */
.segmentation {
    padding: 100px 0;
    background: var(--bg-white);
}

.segmentation-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.segmentation-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.segmentation-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.segmentation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.segmentation-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
}

.segmentation-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(228, 0, 43, 0.15);
}

.segmentation-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(228, 0, 43, 0.05) 0%, rgba(228, 0, 43, 0.02) 100%);
    box-shadow: 0 0 0 1px var(--primary-color), 0 20px 40px -12px rgba(228, 0, 43, 0.15);
}

.seg-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seg-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.segmentation-card:hover .seg-icon {
    transform: scale(1.1) translateY(-5px);
    color: var(--primary-dark);
}

.segmentation-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.segmentation-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.segmentation-form {
    max-width: 500px;
    margin: 3rem auto 0;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.segmentation-form .form-group {
    margin-bottom: 1.5rem;
}

.segmentation-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.segmentation-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.1);
}

.segmentation-form button[type="submit"] {
    margin-bottom: 1.25rem;
}

.segmentation-form .form-disclaimer {
    margin-top: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-badge span {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-trust p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(228, 0, 43, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(228, 0, 43, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(228, 0, 43, 0.15));
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
    color: var(--primary-dark);
    filter: drop-shadow(0 8px 16px rgba(228, 0, 43, 0.25));
}

.service-card h3 {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
    letter-spacing: -0.01em;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.service-btn {
    width: 100%;
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.service-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Comparison Table */
.comparison {
    padding: 80px 0;
    background: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table th.highlight {
    background: var(--primary-dark);
    text-align: center;
}

.comparison-table th small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.comparison-table td.highlight {
    background: rgba(228, 0, 43, 0.05);
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.comparison-table tbody tr:hover {
    background: var(--bg-light);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-footnote,
.comparison-verisure-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}
.comparison-verisure-link a {
    color: var(--primary-color);
    text-decoration: none;
}
.comparison-verisure-link a:hover {
    text-decoration: underline;
}

.comparison-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border-color: var(--border-color);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Tips Section */
.tips {
    padding: 100px 0;
    background: var(--bg-white);
}

.tips-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.tips-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.tips-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.tips-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.tip-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.tip-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.tip-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.tip-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.tip-image {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

/* Videos Section */
.videos {
    padding: 100px 0;
    background: var(--bg-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
}

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

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

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.trust-badge span {
    color: var(--success-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.trust-badge p {
    margin: 0;
    font-weight: 500;
    color: var(--text-dark);
}

/* Contact Form */
.contact-form-intro {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* Contact form: inline error and status */
.form-error,
.form-status {
    font-size: 0.95rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.form-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #b91c1c;
}
.form-error[hidden] {
    display: none !important;
}
.form-group .field-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.35rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

/* Submit button with loading state */
.contact-submit-btn .btn-text,
.contact-submit-btn .btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.contact-submit-btn .btn-loading[hidden] {
    display: none !important;
}
.contact-submit-btn.is-loading .btn-text {
    display: none !important;
}
.contact-submit-btn.is-loading .btn-loading {
    display: inline-flex !important;
}
.contact-submit-btn.is-loading {
    pointer-events: none;
    cursor: wait;
}
.spinner {
    width: 1.1em;
    height: 1.1em;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contact-spin 0.7s linear infinite;
}
@keyframes contact-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .spinner {
        animation: none;
        border-top-color: transparent;
        border-right-color: rgba(255,255,255,0.6);
    }
}

/* Slightly snappier focus for form fields */
.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.12);
}
.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-group.is-invalid .field-hint {
    color: #b91c1c;
}

/* Sponsors Section */
.sponsors {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.sponsors .section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.sponsor-logos img {
    max-height: 80px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sponsor-logos img:hover {
    opacity: 1;
}

/* Page Hero (for landing pages) */
.page-hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(228, 0, 43, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(228, 0, 43, 0.08);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.03em;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Features */
.page-features {
    padding: 100px 0;
    background: var(--bg-white);
}

/* GEO / lokasjonsinnhold – lesbar tekstblokk */
.page-geo .section-header {
    margin-bottom: 2rem;
}
.page-geo .section-header p {
    text-align: left;
    line-height: 1.75;
}
/* Lenker i brødtekst: rød farge + rød understreking (samme uttrykk overalt) */
.section-header p a,
.page-geo .section-header p a,
.page-why p a,
.page-about a:not(.btn):not(.btn-primary) {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.section-header p a:hover,
.page-geo .section-header p a:hover,
.page-why p a:hover {
    color: var(--primary-dark);
}

/* GEO-lenker i egen blokk (unngår masse lenker i løpende tekst) */
.geo-links-block {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.geo-links-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.geo-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}
.geo-links-list li { margin: 0; }
.geo-links-list a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.95rem;
}
.geo-links-list a:hover {
    color: var(--primary-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(228, 0, 43, 0.1) 0%, rgba(228, 0, 43, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon-large {
    transform: scale(1.1) translateY(-5px);
    background: linear-gradient(135deg, rgba(228, 0, 43, 0.15) 0%, rgba(228, 0, 43, 0.1) 100%);
}

.feature-icon-large svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-item h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
.feature-item h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Page Why */
.page-why {
    padding: 100px 0;
    background: var(--bg-light);
}

.page-why-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.page-why-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.page-why-text > p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.why-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.why-list li svg {
    flex-shrink: 0;
    color: var(--primary-color);
    stroke-width: 2.5;
}

.page-why-image {
    position: relative;
}

.page-why-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Page CTA */
/* FAQ section */
.page-faq {
    padding: 80px 0;
    background: var(--bg-light);
}
.page-faq .section-header {
    margin-bottom: 3rem;
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.faq-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}
.faq-item a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

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

.page-cta h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.02em;
}

.page-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

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

.page-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Page About */
.page-about {
    padding: 100px 0;
    background: var(--bg-white);
}

/* Legal / personvern / informasjonskapsler */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content ul {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a.btn,
.legal-content a.btn-primary {
    color: white;
    text-decoration: none;
}
.legal-content a.btn-primary:hover {
    color: white;
}

.cookie-settings-box {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.cookie-settings-box p {
    margin-bottom: 1rem;
}
.cookie-settings-box .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Blog index */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    transition: box-shadow 0.2s ease;
}
.blog-card:hover {
    box-shadow: var(--shadow-md);
}
.blog-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.blog-card h2 a {
    color: var(--secondary-color);
    text-decoration: none;
}
.blog-card h2 a:hover {
    color: var(--primary-color);
}
.blog-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.blog-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}
.blog-link:hover {
    text-decoration: underline;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.about-text > p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.about-feature p {
    color: var(--text-light);
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Page Team */
.page-team {
    padding: 100px 0;
    background: var(--bg-light);
}

.team-content {
    max-width: 600px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.team-role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-member > p:last-child {
    color: var(--text-light);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Use Cases */
.page-usecases {
    padding: 100px 0;
    background: var(--bg-white);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.usecase-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.usecase-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(228, 0, 43, 0.15);
}

.usecase-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.usecase-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-section:first-child {
        max-width: 320px;
    }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-bottom a:hover {
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

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

.modal-body {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.modal-body h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Responsive Design */

/* Tablet and below (968px) */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-content,
    .tips-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: white;
        flex-direction: column;
        padding: 1.5rem 1.25rem 2rem;
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.05rem;
        min-height: 48px;
        align-items: center;
        box-sizing: border-box;
    }
    
    /* Hide CTA in header on tablet/mobile – only logo + hamburger; CTA available via Kontakt in menu */
    .nav-content > .nav-cta {
        display: none;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 1rem 1.5rem;
        min-height: 52px;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        margin: -8px;
        padding: 12px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .segmentation-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .segmentation-card {
        padding: 2rem 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .section-header p {
        font-size: 1.05rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .hero {
        padding: 100px 0 60px;
        padding-top: max(100px, calc(70px + env(safe-area-inset-top)));
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-title-line {
        display: inline;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    .hero-badge-modern {
        font-size: 0.8rem;
        padding: 0.45rem 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
        transform: none;
        border-radius: 16px;
        max-height: 280px;
        overflow: hidden;
    }
    
    .hero-image-wrapper img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-height: 280px;
    }
    
    .hero-stats {
        margin-top: 1.5rem;
        padding: 1.25rem 1rem;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .services,
    .why-us,
    .segmentation,
    .tips,
    .videos,
    .contact {
        padding: 60px 0;
    }
    
    .service-cards,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.5rem;
    }
    
    .segmentation-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .segmentation-card {
        padding: 2rem 1.5rem;
    }
    
    .seg-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }
    
    .segmentation-card h3 {
        font-size: 1.25rem;
    }
    
    .segmentation-content h2 {
        font-size: 2rem;
    }
    
    .segmentation-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .benefit-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }
    
    .benefit-card h3 {
        font-size: 1.25rem;
    }
    
    .tip-item {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tip-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .tip-content h3 {
        font-size: 1.25rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-wrapper {
        padding-bottom: 56.25%;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 1rem;
        min-height: 44px; /* Touch target for mobil */
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Touch target size */
    }
    
    .btn-large {
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
        min-height: 52px;
    }
    
    .logo h2 {
        font-size: 1.25rem;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .nav-content {
        padding: 0.75rem 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .sponsor-logos {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .sponsor-logos img {
        max-width: 180px;
    }
    
    /* Skjul sammenligningstabellen på mobil – passer ikke på små skjermer */
    .comparison {
        display: none;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px 2rem;
        padding: 0 20px;
    }
    
    .comparison-table {
        min-width: 600px;
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.85rem 0.75rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 140px;
    }
    
    .comparison-cta .btn {
        width: 100%;
    }
    
    /* Landing pages mobile */
    .page-hero {
        padding: 100px 0 60px;
        padding-top: max(100px, calc(70px + env(safe-area-inset-top)));
    }
    
    .page-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .page-hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    .page-hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .page-hero-cta .btn {
        width: 100%;
    }
    
    .page-features {
        padding: 3.5rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item h3 {
        font-size: 1.25rem;
    }
    
    .page-why {
        padding: 3.5rem 0;
    }
    
    .page-why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-why-text h2 {
        font-size: 1.75rem;
    }
    
    .page-why-text > p {
        font-size: 1rem;
    }
    
    .page-faq {
        padding: 3rem 0;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .page-cta {
        padding: 3.5rem 1.5rem;
    }
    
    .page-cta h2 {
        font-size: 1.75rem;
    }
    
    .page-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .page-cta .btn-primary {
        width: 100%;
    }
    
    .page-about {
        padding: 3.5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.75rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-team {
        padding: 3.5rem 0;
    }
    
    .team-image {
        width: 160px;
        height: 160px;
    }
    
    .page-usecases {
        padding: 3.5rem 0;
    }
    
    .usecase-card {
        padding: 1.75rem 1.5rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 88px 0 48px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image-wrapper {
        max-height: 220px;
    }
    
    .hero-image-wrapper img {
        max-height: 220px;
    }
    
    .hero-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.25;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .services,
    .why-us,
    .segmentation,
    .tips,
    .videos,
    .contact {
        padding: 2.5rem 0;
    }
    
    .service-card,
    .benefit-card,
    .segmentation-card {
        padding: 1.5rem 1.25rem;
    }
    
    .service-card h3,
    .benefit-card h3,
    .segmentation-card h3 {
        font-size: 1.15rem;
    }
    
    .contact-form {
        padding: 1.5rem 1.25rem;
    }
    
    /* Mobil: store trykkflater for skjema (min 44px) og 16px font for å unngå zoom på iOS */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px;
    }
    .contact-submit-btn {
        min-height: 48px;
    }
    
    .btn-phone {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-features {
        gap: 0.75rem;
    }
    
    .hero-feature {
        font-size: 0.875rem;
    }
    
    .feature-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .feature-icon-wrapper svg {
        width: 14px;
        height: 14px;
    }
    
    .logo h2 {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .comparison-table {
        min-width: 560px;
        font-size: 0.85rem;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .page-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .page-cta h2 {
        font-size: 1.5rem;
    }
    
    /* Lesbarhet og safe area på innholdssider */
    .page-about,
    .legal-content {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    .legal-content p,
    .legal-content li {
        font-size: 1rem;
        line-height: 1.65;
    }
    .page-cta {
        padding-bottom: max(3rem, calc(2rem + env(safe-area-inset-bottom)));
    }
    .footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    /* Større trykkflater på lenker i innhold */
    .blog-link,
    .legal-content .btn {
        min-height: 44px;
        padding: 0.6rem 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--secondary-color);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-banner-text {
    flex: 1;
    min-width: 200px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.cookie-banner-text a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-text a:hover {
    color: #fff;
}
.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-banner-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.cookie-banner-accept {
    background: var(--primary-color);
    color: #fff;
}
.cookie-banner-accept:hover {
    background: var(--primary-dark);
}
.cookie-banner-decline {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-banner-decline:hover,
.cookie-banner-settings:hover {
    background: rgba(255, 255, 255, 0.1);
}
.cookie-banner-settings {
    display: inline-block;
    text-decoration: none;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-banner-hidden {
    transform: translateY(100%);
    opacity: 0;
}
@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-banner-actions {
        justify-content: center;
    }
    .cookie-banner {
        padding: 1rem 0 max(1rem, env(safe-area-inset-bottom));
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .segmentation-card:hover,
    .benefit-card:hover {
        transform: none;
    }
    
    .btn-primary:active {
        transform: scale(0.98);
    }
    
    /* Larger touch targets */
    .nav-menu a,
    .btn,
    .service-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

/* Smooth Scroll + mobil: base font size 16px for lesbarhet og for å unngå zoom på iOS */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Selection Highlight */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Mobile Performance Optimizations */
* {
    -webkit-tap-highlight-color: rgba(228, 0, 43, 0.1);
}

/* Prevent text size adjustment on iOS */
body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Improve scrolling on mobile */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better image loading on mobile */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Better form inputs on mobile */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    /* Better button appearance on mobile */
    button,
    .btn {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Loading states for better perceived performance */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .segmentation-card,
    .benefit-card {
        will-change: transform;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
    .hero-subtitle,
    .section-header p {
        line-height: 1.6;
    }
    
    .service-card,
    .segmentation-card {
        margin-bottom: 0;
    }
    
    /* Tappable targets for main CTAs only (not inline text links) */
    .nav-menu a,
    .btn,
    .service-btn,
    .hero-cta a,
    .footer-col a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
