:root {
    --primary-color: #D9A5B3;           /* Dusty Rose - primärknappar */
    --primary-hover: #E4CDA7;           /* Champagne Gold - hover effekt */
    --secondary-color: #B79ABF;         /* Muted Mauve - sekundärknappar */
    --background-primary: #F8F5F2;      /* Soft Ivory - primär bakgrund */
    --background-secondary: #E8E0D8;    /* Taupe Beige - växlande sektioner */
    --text-dark: #2E2E2E;               /* Charcoal - rubriker */
    --text-body: rgba(46, 46, 46, 0.8); /* Charcoal 80% - brödtext */
    --accent-color: #F8F5F2;            /* Soft Ivory för kort bakgrunder */
    --border-color: #E8E0D8;            /* Taupe Beige - dividers */
    --icon-color: #B79ABF;              /* Muted Mauve - ikoner */

}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-body);
    background-color: var(--background-primary);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-right: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-form h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 25px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--text-dark);
}

.progress-section {
    background-color: var(--background-secondary);
    padding: 60px 0;
}

.progress-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.progress-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-dark);
}

.progress {
    height: 15px;
    border-radius: 10px;
    margin: 1rem 0;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.info-section {
    padding: 80px 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--icon-color);
    margin-bottom: 1rem;
}

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Eleganta förbättringar */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
}

.card, .cta-form, .progress-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(46, 46, 46, 0.08);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 25px;
}

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

/* Subtila dividers */
hr {
    border-color: var(--border-color);
    opacity: 0.6;
}

/* Price Cards Styling */
.price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(46, 46, 46, 0.15);
}

.price-display {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-dark);
}

.price-period {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-left: 0.5rem;
}

.price-savings {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.popular-plan {
    border: 2px solid var(--primary-color) !important;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Blur-effekt för intresseräknaren */
.progress-number.blurred {
    filter: blur(8px);
    transition: filter 0.8s ease-out;
    user-select: none;
    position: relative;
}

.progress-number.blurred::before {
    content: "🔒";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    filter: blur(0);
    opacity: 0.6;
}

.progress-number.revealed {
    filter: blur(0px);
    transition: filter 0.8s ease-out;
    animation: revealNumber 1s ease-out;
}

.progress-number.revealed::before {
    display: none;
}

/* Blur-effekt för texten */
.blurred-text {
    filter: blur(6px);
    transition: filter 0.8s ease-out;
    user-select: none;
    position: relative;
}

.blurred-text.revealed {
    filter: blur(0px);
    transition: filter 0.8s ease-out;
    animation: revealText 1s ease-out;
}

@keyframes revealNumber {
    0% {
        filter: blur(8px);
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        filter: blur(0px);
        transform: scale(1);
    }
}

@keyframes revealText {
    0% {
        filter: blur(6px);
        opacity: 0.7;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

/* Hover-effekt för att antyda att något döljs */
.progress-number.blurred:hover {
    filter: blur(6px);
    cursor: help;
}

/* Tooltip för blurrad räknare */
.progress-card.has-blur .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: white;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: opacity 0.3s;
    z-index: 1000;
}

.progress-card.has-blur:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Smooth transitions för prompt-texter */
#signupPromptText, #tooltipText {
    transition: opacity 0.5s ease-out, height 0.5s ease-out, margin 0.5s ease-out;
    overflow: hidden;
}

/* Fade-out animation */
.fade-out {
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    animation: slideUp 0.5s ease-out;
}

.cookie-consent p {
    color: white;
    font-size: 0.9rem;
}

.cookie-consent a {
    color: white;
    text-decoration: underline;
}

.cookie-consent a:hover {
    color: var(--accent-color);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Privacy policy link styling */
.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.privacy-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}