/* ==========================================
   Containly - Linear-Inspired Design System
   Extreme Minimalism & Typography Focus
   ========================================== */

:root {
    /* Light Theme Colors (Default) */
    --bg: #FFFFFF;
    --surface: #F8FAFC;
    --border: #E2E8F0;
    --text: #0F172A;
    --muted: #64748B;
    --accent: #3B82F6;
    --accent-hover: #2563EB;
    
    /* Legacy colors for compatibility */
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --success: #10b981;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 120px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

[data-theme="dark"] {
    /* Dark Theme Colors */
    --bg: #0F1117;
    --surface: #1A1D29;
    --border: #2A2E3E;
    --text: #E5E7EB;
    --muted: #9CA3AF;
    --accent: #4F46E5;
    --accent-hover: #6366F1;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --success: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .nav {
    background: rgba(15, 17, 23, 0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    flex: 1;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}

.nav-center {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 150ms ease;
}

.nav-link:hover {
    color: var(--text);
}

.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-lg);
}

.nav-cta {
    padding: 8px 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: all 150ms ease;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-track {
    display: flex;
    align-items: center;
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 2px;
    transition: all 300ms ease;
}

.theme-toggle:hover .toggle-track {
    border-color: var(--muted);
}

.toggle-thumb {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 300ms ease;
    left: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .toggle-thumb {
    transform: translateX(20px);
}

.toggle-icon {
    color: var(--muted);
    transition: color 300ms ease;
}

.sun-icon {
    color: var(--muted);
}

[data-theme="light"] .sun-icon {
    color: var(--accent);
}

.moon-icon {
    color: var(--accent);
}

[data-theme="light"] .moon-icon {
    color: var(--muted);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
}

.lang-option {
    color: var(--muted);
    font-weight: 500;
    transition: color 150ms ease;
}

.lang-option:hover,
.lang-option.active {
    color: var(--text);
}

.lang-divider {
    color: var(--border);
}

/* Hero Section */
.hero {
    padding: calc(64px + var(--space-4xl)) 0 var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}


/* Hero Background Blobs */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.3; /* More subtle over image */
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Slightly less blur for more definition */
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #90EE90 0%, #4AE0A4 100%);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #635bff 0%, #4a47e0 100%);
    bottom: -300px;
    right: -300px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ffcb57 0%, #ff333d 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -10px) scale(1.02); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    color: var(--text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 630px;
    margin: 0 auto var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 150ms ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    border-color: var(--muted);
    background: var(--surface);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

/* Dashboard Mock-up */
.dashboard-mock {
    max-width: 900px;
    margin: 0 auto var(--space-xl);
    position: relative;
}

.mock-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 50% 50%, var(--accent), transparent 70%);
    opacity: 0.1;
    filter: blur(40px);
    z-index: -1;
}

.mock-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mock-body {
    padding: var(--space-xl);
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.skeleton {
    background: linear-gradient(90deg, var(--border) 0%, var(--surface) 50%, var(--border) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-text {
    height: 20px;
    width: 120px;
}

.skeleton-badge {
    height: 24px;
    width: 60px;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.mock-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.skeleton-label {
    height: 12px;
    width: 80px;
}

.skeleton-value {
    height: 28px;
    width: 60px;
}

.mock-chart {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    gap: var(--space-sm);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), var(--accent-hover));
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.6;
}

.hero-trust {
    font-size: 14px;
    color: var(--gray-500);
}

/* Container Cards in Hero Mockup */
.container-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.container-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all 200ms ease;
    cursor: pointer;
}

.container-card:hover {
    border-color: var(--muted);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.container-id {
    font-size: 13px;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    color: var(--text);
    letter-spacing: 0.5px;
}

.container-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.status-in-progress {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

[data-theme="light"] .status-in-progress {
    color: #f59e0b;
}

.status-completed {
    background: #10b981;
    color: white;
    border: none;
}

[data-theme="light"] .status-completed {
    background: #059669;
    color: white;
}

.container-client {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.client-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.container-tag {
    padding: 2px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--muted);
}

.container-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-md);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}

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

.container-left-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.arrival-status {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
}

.status-arrived {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-delayed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.wait-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wait-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fb923c;
    animation: pulse 2s infinite;
}

.wait-time {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}

.container-actions {
    display: flex;
    gap: var(--space-sm);
}

.action-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 150ms ease;
}

.action-btn:hover {
    background: var(--surface);
    border-color: var(--muted);
    color: var(--text);
}

.btn-start:hover,
.btn-end:hover {
    transform: translateX(2px);
}

.btn-delete:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

/* Problem/Solution Section */
.problem-solution {
    padding: var(--space-5xl) 0;
    background: var(--gray-50);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.ps-block {
    text-align: center;
}

.ps-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: var(--space-md);
}

.ps-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--black);
}

.ps-arrow {
    font-size: 32px;
    color: var(--gray-400);
}

.problem .ps-text {
    color: var(--gray-600);
}

/* Video Section */
.video-section {
    padding: var(--space-5xl) 0 var(--space-xl);
    background: var(--bg);
}

.video-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.video-main {
    grid-row: span 2;
}

.video-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-container.small {
    padding-bottom: 60%; /* Slightly taller for smaller videos */
}

.video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}


.video-info {
    padding: 0 var(--space-sm);
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-xs);
}

.video-secondary .video-title {
    font-size: 16px;
}

.video-description {
    font-size: 14px;
    color: var(--muted);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--bg);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.divider-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 100%);
}

.divider-line:first-child {
    background: linear-gradient(90deg, var(--border) 0%, var(--border) 80%, transparent 100%);
}

.divider-icon {
    margin: 0 var(--space-lg);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-soft 3s infinite ease-in-out;
}

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

/* Calculator Section */
.calculator-section {
    padding: 0 0 var(--space-5xl);
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.section-title.hero-style {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.section-tagline {
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.section-subtitle {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 630px;
    margin: 0 auto var(--space-xl);
}

/* Calculator Mock Design (samma stil som dashboard mock) */
.calculator-mock {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.calculator-mock .mock-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 50% 50%, var(--accent), transparent 70%);
    opacity: 0.1;
    filter: blur(40px);
    z-index: -1;
}

.calculator-mock .mock-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Mac Window Header */
.mac-window-header {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border);
    position: relative;
    min-height: 40px;
}

.mac-buttons {
    display: flex;
    gap: 8px;
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
}

.mac-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.mac-button.close {
    background: #FF5F56;
}

.mac-button.minimize {
    background: #FFBD2E;
}

.mac-button.maximize {
    background: #27C93F;
}

.mac-button:hover {
    opacity: 0.8;
    cursor: pointer;
}

.mac-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.calc-badge {
    padding: 6px 12px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Slider Section */
.calc-slider-section {
    margin-bottom: var(--space-lg);
    padding: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.slider-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-wrapper {
    position: relative;
    margin-bottom: var(--space-md);
}

.calc-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: all 150ms ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.5);
}

.slider-value-display {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.slider-unit {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
}

.slider-container {
    position: relative;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--black);
    cursor: pointer;
    transition: all 150ms ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--primary);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--black);
    cursor: pointer;
    border: none;
    transition: all 150ms ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: var(--primary);
}

.slider-values {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-sm);
    font-size: 13px;
    color: var(--gray-500);
}

.slider-current {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: var(--black);
    font-size: 16px;
}

/* Simple Price Display */
.calc-price-display {
    text-align: center;
    padding: var(--space-2xl);
    padding-top: var(--space-lg);
}

.calc-price-display .price-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: var(--space-sm);
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--space-lg);
}

.price-main .price-amount {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -3px;
    color: var(--text);
    transition: transform 150ms ease;
    line-height: 1;
}

.price-main .price-kr {
    font-size: 24px;
    font-weight: 500;
    color: var(--muted);
}

.price-benefits {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    font-size: 13px;
    color: var(--muted);
}

.price-benefits span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-cta-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
}

/* Calculator Results (old - keeping for reference) */
.calc-results {
    margin-bottom: var(--space-2xl);
}

.result-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.result-card.primary {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(99, 102, 241, 0.05));
}

.result-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: var(--space-sm);
}

.result-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.result-value .currency {
    font-size: 16px;
    color: var(--muted);
}

.result-value .amount {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text);
    transition: all 300ms ease;
}

.result-value .unit {
    font-size: 20px;
    color: var(--muted);
}

.result-savings {
    font-size: 14px;
    color: var(--success);
}

/* Stats Grid */
.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.stat-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.stat-info {
    text-align: left;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
}

.price-display {
    margin-bottom: var(--space-xl);
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-sm);
}

.price-prefix {
    font-size: 18px;
    color: var(--gray-500);
}

.price-amount {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    transition: color 150ms ease;
}

.price-suffix {
    font-size: 24px;
    color: var(--gray-600);
}

.calculator-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: var(--space-xl);
}

/* Comparison Section */
.calc-comparison {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2xl);
}

.comparison-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.comparison-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.comparison-text strong {
    color: var(--text);
}

.comparison-text span {
    color: var(--accent);
    font-weight: 600;
}

/* CTA Section */
.calc-cta {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.calc-cta .btn {
    margin-bottom: var(--space-md);
}

.cta-note {
    font-size: 13px;
    color: var(--muted);
}

.calculator-cta {
    display: inline-block;
}

/* Features Section */
.features {
    padding: var(--space-5xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-600);
}

/* Workflow Section */
.workflow {
    padding: var(--space-5xl) 0;
    background: var(--gray-50);
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-3xl);
    letter-spacing: -1px;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.workflow-step {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
}

.step-text {
    font-size: 14px;
    color: var(--gray-600);
    max-width: 120px;
}

.workflow-arrow {
    color: var(--gray-400);
    font-size: 20px;
}

/* Pricing Section */
.pricing {
    padding: var(--space-5xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: var(--space-2xl);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--black);
}

.pricing-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.pricing-price {
    margin-bottom: var(--space-md);
}

.price-amount {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -2px;
}

.price-currency {
    font-size: 16px;
    color: var(--gray-500);
}

.price-custom {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-600);
}

.pricing-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.pricing-card .btn {
    width: 100%;
}

/* CTA Section */
.cta {
    padding: var(--space-5xl) 0;
    background: var(--gray-50);
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    letter-spacing: -1px;
}

.cta-form {
    display: flex;
    gap: var(--space-md);
    max-width: 400px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-family);
}

.cta-input:focus {
    outline: none;
    border-color: var(--black);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: var(--space-5xl) 0 var(--space-3xl);
    margin-top: var(--space-5xl);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-5xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--muted);
    transition: all 150ms ease;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: var(--space-lg);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    font-size: 14px;
    color: var(--muted);
    transition: color 150ms ease;
}

.footer-link:hover {
    color: var(--text);
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-3xl) 0;
}

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

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-copyright p {
    font-size: 13px;
    color: var(--muted);
}

.footer-address {
    font-size: 12px;
    opacity: 0.7;
}

.footer-badges {
    display: flex;
    gap: var(--space-md);
}

.footer-badge {
    padding: 6px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Calculator Mobile Styles */
    .calculator-mock {
        padding: 0;
    }
    
    .calculator-mock .mock-content {
        padding: 0;
    }
    
    .calc-header {
        text-align: center;
        margin-bottom: var(--space-xl);
    }
    
    .calc-title {
        font-size: 18px;
    }
    
    .calc-slider-section {
        padding: var(--space-xl) var(--space-lg);
        padding-bottom: var(--space-xl);
        margin-bottom: var(--space-xl);
    }
    
    .slider-wrapper {
        padding: var(--space-lg) 0;
    }
    
    .slider-value-display {
        position: static;
        transform: none;
        font-size: 28px;
        margin-bottom: var(--space-lg);
        text-align: center;
    }
    
    .slider-unit {
        font-size: 16px;
    }
    
    .calc-slider {
        height: 8px;
    }
    
    .calc-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .calc-price-display {
        padding: var(--space-lg) var(--space-lg) var(--space-xl);
    }
    
    .calc-price-display .price-label {
        font-size: 12px;
        margin-bottom: var(--space-sm);
    }
    
    .price-main .price-amount {
        font-size: 64px;
        letter-spacing: -2px;
    }
    
    .price-main .price-kr {
        font-size: 22px;
    }
    
    .price-benefits {
        flex-direction: column;
        gap: var(--space-sm);
        margin-bottom: var(--space-lg);
    }
    
    .price-benefits span {
        justify-content: center;
    }
    
    .calc-cta-btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: var(--space-sm);
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
@media (max-width: 768px) {
    
    /* Video Section Mobile */
    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .video-main {
        grid-row: auto;
    }
    
    .video-container.small {
        padding-bottom: 56.25%; /* Same aspect ratio on mobile */
    }
    
    /* Container Cards Mobile */
    .container-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .container-card {
        padding: var(--space-md);
    }
    
    .nav-center {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .ps-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .ps-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-copyright {
        align-items: center;
    }
    
    .cta-form {
        flex-direction: column;
    }
}

