:root {
    --primary-blue: #7FBAE6;
    --dark-blue: #2D3F50;
    --coral: #FF7D6E;
    --light-gradient: linear-gradient(135deg, #AFDCFF 0%, #FFDCEF 100%);
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transparent-white: rgba(255, 255, 255, 0.2);
    --transparent-white-darker: rgba(255, 255, 255, 0.3);
    --transparent-primary: rgba(127, 186, 230, 0.15);
    --transparent-primary-lighter: rgba(127, 186, 230, 0.1);
    --border-transparent: rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-family);
    background: var(--light-gradient);
    color: var(--dark-blue);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Cloud elements */
body::before,
body::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    z-index: -1;
}

body::before {
    width: 180px;
    height: 180px;
    top: 10%;
    right: 5%;
    filter: blur(30px);
}

body::after {
    width: 220px;
    height: 220px;
    bottom: 15%;
    left: 5%;
    filter: blur(40px);
}

/* Cloud styling */
.cloud {
    position: absolute;
    background: white;
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1;
    opacity: 0.7;
}

.cloud-1 {
    width: 100px;
    height: 50px;
    top: 20%;
    left: 10%;
}

.cloud-2 {
    width: 150px;
    height: 70px;
    top: 40%;
    right: 15%;
}

.cloud-3 {
    width: 120px;
    height: 60px;
    bottom: 30%;
    left: 20%;
}

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

header {
    padding: 25px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -15px;
}

.logo-icon {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.main-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}

.left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-column {
    display: flex;
    justify-content: center;
}

/* Mobile headline is hidden on desktop */
.mobile-headline {
    display: none;
    grid-column: 1 / -1; /* Span all columns */
}

/* Desktop headline shown on desktop */
.desktop-headline {
    display: block;
}

/* Mobile-specific media query */
@media (max-width: 767px) {
    .container {
        padding: 0 10px; /* Reduced padding */
        flex-direction: column;
    }
    
    .main-layout {
        display: flex;
        flex-direction: column;
        gap: 0.25rem; /* Further reduced gap */
    }
    
    /* Mobile element ordering */
    .mobile-headline {
        order: -3;
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0.25rem;
    }
    
    .right-column {
        order: -2;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.25rem;
    }
    
    /* On mobile, the counter will be positioned differently in the flex order */
    .signup-counter {
        order: -1; /* Position between headline and feature box */
        margin: 0.5rem auto;
        width: auto;
        justify-content: center;
    }
    
    /* Hide desktop headline on mobile */
    .desktop-headline {
        display: none;
    }
    
    /* Mobile styling for feature box */
    .mockup-window {
        max-width: 100%;
        margin: 0;
    }
    
    /* Simplified invitation card for mobile */
    .invitation-card {
        padding: 0.75rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .invitation-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    /* Adjust heading size for mobile */
    .headline-static {
        font-size: 2rem;
    }
    
    .rotating-headline-item {
        font-size: 2rem;
    }
    
    .rotating-headline {
        height: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile carousel */
    .mobile-carousel {
        display: block !important;
        margin-top: 0.25rem;
        width: 100%;
        overflow: hidden;
    }
    
    .carousel-wrapper {
        position: relative;
        overflow: hidden;
        padding-bottom: 1.5rem;
        width: 100%;
    }
    
    .carousel-slides {
        display: flex;
        transition: transform 0.5s ease;
        width: 100%;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }
    
    .carousel-slide svg {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .carousel-slide p {
        font-size: 0.9rem;
    }
    
    .carousel-nav {
        display: flex;
        justify-content: center;
        gap: 8px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #cbd5e0;
        cursor: pointer;
    }
    
    .carousel-dot.active {
        background-color: var(--primary-blue);
    }
    
    /* Floating mascot for mobile */
    .floating-mascot {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 80px;
        height: 80px;
        z-index: 100;
        animation: bounce 2s infinite;
        display: block;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
        40% {transform: translateY(-20px);}
        60% {transform: translateY(-10px);}
    }
    
    /* Center form elements on mobile */
    .signup-form {
        margin: 0 auto;
        max-width: 90%;
    }
    
    .feature-icon-img {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-container {
        height: 70px;
        min-height: 70px;
    }
    
    .feature-icon-img-small {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon-small {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
    }
    
    .feature-item {
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 1rem 0.75rem !important;
    }
    
    .feature-detail {
        padding: 0.5rem !important;
    }
}

/* Desktop-specific styles */
@media (min-width: 768px) {
    /* On desktop, counter stays in the left column without special positioning */
    .signup-counter {
        margin: 1rem 0;
        width: auto;
        order: initial; /* Reset the order for desktop */
    }
}

/* Counter positioning (removed since it's now handled in media queries) */
.top-counter {
    display: none; /* Hide completely since we don't use it anymore */
}

/* Simplified counter styling - no background, just text */
.signup-counter {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    border: none;
}

.counter-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-text {
    font-size: 0.9rem;
    color: var(--dark-blue);
}

.counter-number {
    font-weight: bold;
    color: var(--primary-blue);
}

.counter-updated {
    animation: pulse 1s ease;
    color: var(--primary-blue);
}

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

/* Mascot */
.mascot-container {
    display: flex;
    justify-content: center;
    height: 120px;
    margin-bottom: 20px;
}

.mascot {
    width: 120px;
    height: 120px;
    position: relative;
}

.mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Main Content */
.headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-blue);
    line-height: 1.2;
}

.subheadline {
    font-size: 1.2rem;
    color: var(--dark-blue);
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Signup Form */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 400px;
    width: 100%;
}

.input-group {
    position: relative;
}

.email-input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--transparent-white-darker);
    background-color: whitesmoke;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 16px;
    color: var(--dark-blue);
}

.email-error {
    color: #ff3860;
    font-size: 14px;
    margin-top: 5px;
}

/* Pricing options styling */
.pricing-options {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.pricing-options h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-weight: 600;
}

.pricing-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pricing-option:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.pricing-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-option label {
    cursor: pointer;
    flex-grow: 1;
    display: flex;
    padding-left: 28px;
    position: relative;
}

.pricing-option label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    position: absolute;
    left: 0;
    top: 3px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    background-color: white;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.pricing-option input[type="radio"]:checked + label::before {
    background-color: white;
    box-shadow: inset 0 0 0 5px var(--primary-blue);
    border-color: white;
}

.pricing-option input[type="radio"]:focus + label::before {
    box-shadow: inset 0 0 0 5px var(--primary-blue), 0 0 0 2px rgba(127, 186, 230, 0.3);
}

.pricing-option input[type="radio"]:checked + label {
    color: var(--dark-blue);
}

.pricing-option input[type="radio"]:checked + label .plan-title {
    color: var(--primary-blue);
}

.pricing-option:has(input[type="radio"]:checked) {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(127, 186, 230, 0.2);
}

.plan-content {
    display: flex;
    flex-direction: column;
}

.plan-title {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 2px;
    font-size: 16px;
}

.plan-details {
    font-size: 11px;
    color: #999;
    margin-top: 1px;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.gdpr-section {
    margin-top: 5px;
}

.gdpr-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.gdpr-checkbox-container input {
    margin-top: 4px;
}

.gdpr-checkbox-container label {
    font-size: 14px;
    color: var(--dark-blue);
    opacity: 0.8;
}

/* Original button styling */
.notify-btn, .submit-button {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(127, 186, 230, 0.3);
}

.notify-btn:hover, .submit-button:hover {
    background-color: #68a3d0;
}

/* Feature list styling */
.feature-list {
    margin-top: 30px;
    background: var(--transparent-white);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 100%;
}

.feature-list .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    margin-bottom: 10px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list .feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-list .feature-item:hover {
    transform: translateY(-2px);
    background: none;
}

.feature-list .feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px; /* Prevent shrinking */
    border-radius: 50%;
    background-color: var(--transparent-primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    margin-top: 5px;
}

.feature-list .feature-content {
    flex: 1;
}

.feature-list .feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.feature-list .feature-description {
    font-size: 14px;
    color: var(--dark-blue);
    opacity: 0.8;
    line-height: 1.4;
}

/* Remove unused styles */
.feature-list-title, .feature-list-items, .mini-feature {
    display: none;
}

/* Remove unused Features Section and Counter Section styles */
.features-section, .features-grid, .counter-section {
    display: none;
}

/* Updated Preview Section Styling */
.preview-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-frame {
    width: 100%;
    max-width: 500px; /* Updated */
    background: white; /* Updated */
    border-radius: 20px; /* Updated */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 40px; /* Updated */
    overflow: hidden;
    padding: 10px; /* Added */
    /* Removed: margin: 0 auto; */
}

.preview-header {
    display: flex;
    gap: 6px; /* Updated */
    margin-bottom: 10px; /* Added */
    align-items: center;
    padding-left: 10px;
}

.header-dot {
    width: 12px; /* Updated */
    height: 12px; /* Updated */
    border-radius: 50%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}

.header-dot:nth-child(1) {
    background-color: rgb(255, 95, 87); /* Updated */
}

.header-dot:nth-child(2) {
    background-color: rgb(255, 189, 46); /* Updated */
}

.header-dot:nth-child(3) {
    background-color: rgb(40, 202, 65); /* Updated */
}

.preview-content {
    background: linear-gradient(135deg, rgb(175, 220, 255) 0%, rgb(255, 220, 239) 100%); /* Added */
    border-radius: 12px; /* Added */
    padding: 20px; /* Updated */
    min-height: 400px; /* Added */
    display: flex; /* Added */
    flex-direction: column; /* Added */
    gap: 20px; /* Added */
    position: relative; /* Added */
    overflow: hidden; /* Added */
}

.invitation-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.invitation-header {
    text-align: center; /* Added */
    margin-bottom: 20px;
}

.invitation-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.invitation-subtitle {
    font-size: 16px; /* Updated */
    color: rgb(102, 102, 102); /* Updated */
    /* Removed: opacity: 0.8; */
}

.invitation-detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0px; /* Updated */
    border-bottom-width: 1px; /* Added */
    border-bottom-style: solid; /* Added */
    border-bottom-color: rgb(240, 240, 240); /* Added */
    /* Removed: border-bottom: 1px solid #eee; */
}

.detail-label {
    color: rgb(102, 102, 102); /* Updated */
    /* Kept: font-weight: 600; */
}

.invitation-actions {
    display: flex; /* Added */
    justify-content: center; /* Added */
    gap: 10px; /* Added */
    margin-top: 20px; /* Updated */
}

.action-button {
    padding: 8px 16px; /* Updated */
    background-color: var(--primary-blue);
    color: white;
    border: medium; /* Updated */
    border-radius: 8px; /* Updated */
    font-size: 14px; /* Updated */
    box-shadow: rgba(127, 186, 230, 0.3) 0px 2px 8px; /* Added */
    /* Removed: font-weight: 600; */
    /* Removed: cursor: pointer; */
    /* Removed: transition: background-color 0.2s; */
}

/* Removed old .action-button:hover rule */

/* End of Updated Preview Section Styling */

.language-toggle {
    position: absolute;
    top: 25px;
    right: 30px;
    display: flex;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 5px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lang-btn {
    border: none;
    background: none;
    color: var(--dark-blue);
    font-weight: 600;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.5);
}

[lang="en"] {
    display: none;
}

body.en [lang="da"] {
    display: none;
}

body.en [lang="en"] {
    display: block;
}

/* For inline elements */
body.en span[lang="en"],
body.en a[lang="en"],
body.en button[lang="en"] {
    display: inline-block;
}

footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    color: #666;
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .preview-container {
        order: -1;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .headline {
        font-size: 2rem;
        text-align: center;
    }

    .subheadline {
        text-align: center;
    }
    
    .mascot-container {
        height: 100px;
    }
    
    .mascot {
        width: 100px;
    }
    
    .language-toggle {
        top: 20px;
        right: 20px;
    }
    
    /* Feature list adjustments for mobile */
    .feature-list {
        padding: 15px;
    }
    
    .feature-list .feature-item {
        padding: 12px 0;
    }
    
    .feature-list .feature-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }
    
    .feature-list .feature-title {
        font-size: 15px;
    }
    
    .feature-list .feature-description {
        font-size: 13px;
    }
}

/* GDPR consent styling */
.gdpr-consent {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.4;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gdpr-consent input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.gdpr-consent label {
    cursor: pointer;
    color: #444;
}

.form-error {
    color: #ff5757;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease;
    background-color: rgba(255, 87, 87, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #ff5757;
}

/* Animation for error state */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.privacy-link {
    color: var(--primary-blue);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Cookie notice styling */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.cookie-notice.hidden {
    display: none;
}

.cookie-text {
    flex-grow: 1;
    margin-right: 15px;
    color: #555;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

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

.btn-accept:hover {
    background-color: #5a91ff;
}

/* Thank you message styling */
.thank-you-message {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--dark-blue);
}

.close-modal {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.modal-body h4 {
    margin: 20px 0 10px;
    font-size: 16px;
    color: var(--dark-blue);
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* Form error and loading state styling */
.form-error {
    color: #ff5757;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease;
}

.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.button-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

/* Counter Section Styling */
.counter-section {
    padding: 3rem 0;
    background-color: var(--transparent-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-transparent);
    border-bottom: 1px solid var(--border-transparent);
}

.counter-wrapper {
    text-align: center;
}

.counter {
    margin-bottom: 1rem;
}

.counter-number {
    font-weight: 700;
    line-height: 1.2;
}

.counter-label {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-top: 0.5rem;
}

/* Plan-specific counters */
.plan-counters {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.plan-counter {
    flex: 1;
    min-width: 180px;
    max-width: 250px;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.plan-counter:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.plan-counter.free .counter-number {
    color: #4CAF50;
}

.plan-counter.standard .counter-number {
    color: #2196F3;
}

.plan-counter.premium .counter-number {
    color: #9C27B0;
}

@media (max-width: 768px) {
    .plan-counters {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-counter {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--transparent-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--dark-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid .feature-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 12px;
    background: none;
    transition: transform 0.3s ease;
}

.features-grid .feature-item:hover {
    transform: translateY(-5px);
}

.features-grid .feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: var(--transparent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.feature-description {
    font-size: 1rem;
    color: var(--dark-blue);
    line-height: 1.5;
    opacity: 0.8;
}

/* Form step styling */
.form-step {
    animation: fadeIn 0.4s ease;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.continue-btn {
    width: auto;
    min-width: 120px;
    padding: 12px 20px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(127, 186, 230, 0.3);
    margin-top: 15px;
}

.continue-btn:hover {
    background-color: #68a3d0;
}

.back-btn {
    padding: 12px 20px;
    background-color: transparent;
    color: var(--dark-blue);
    border: 1px solid var(--border-transparent);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

.back-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.notify-btn {
    width: auto;
    min-width: 120px;
    padding: 12px 20px;
}

/* Email validation styles */
.email-input.invalid {
    border-color: #ff5757;
    animation: shake 0.5s ease-in-out;
}

.email-error {
    color: #ff5757;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.email-error.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Rotating Headline Styles */
.headline-container {
    margin-bottom: 1.5rem;
}

.headline-static {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.rotating-headline {
    height: 3rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.rotating-headline-items {
    display: flex;
    flex-direction: column;
    position: relative;
    animation: rotateHeadline 10s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.rotating-headline-item {
    height: 3rem;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

@keyframes rotateHeadline {
    0%, 20% {
        transform: translateY(0);
    }
    25%, 45% {
        transform: translateY(-3rem);
    }
    50%, 70% {
        transform: translateY(-6rem);
    }
    75%, 95% {
        transform: translateY(-9rem);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive styles for rotating headline */
@media (max-width: 768px) {
    .headline-static {
        font-size: 2rem;
    }
    
    .rotating-headline-item {
        font-size: 2rem;
    }
}

/* Mockup window styling */
.mockup-window {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 40px;
    overflow: hidden;
    padding: 10px;
}

.preview-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    align-items: center;
    padding-left: 10px;
}

.header-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}

.header-dot:nth-child(1) {
    background-color: rgb(255, 95, 87);
}

.header-dot:nth-child(2) {
    background-color: rgb(255, 189, 46);
}

.header-dot:nth-child(3) {
    background-color: rgb(40, 202, 65);
}

.mockup-window .preview-content {
    background: linear-gradient(135deg, rgba(175, 220, 255, 0.6) 0%, rgba(255, 220, 239, 0.6) 100%);
    border-radius: 12px;
    padding: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Feature Container - Unified styling for desktop/mobile */
.feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    margin: 0 0 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 2.25rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    height: 55px;
    min-height: 55px;
}

.feature-text {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Additional features section styling */
.additional-features {
    margin-top: 1.5rem;
}

.features-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0;
    color: var(--dark-blue);
}

.feature-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-icon-small {
    margin-right: 0.75rem;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
}

.feature-text-detail {
    flex-grow: 1;
}

.feature-detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-blue);
}

.feature-detail-description {
    font-size: 1rem;
    color: #5A6A7B;
    line-height: 1.4;
}

/* Carousel navigation */
.carousel-nav {
    display: none; /* Hidden by default */
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e0;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: var(--primary-blue);
}

/* Mobile styling for feature container */
@media (max-width: 767px) {
    .feature-item {
        padding: 2rem 1.25rem;
    }
    
    .feature-detail {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-container {
        display: flex;
        overflow: hidden;
        position: relative;
        grid-template-columns: unset;
        gap: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .feature-item {
        flex: 0 0 100%;
        min-width: 100%;
        transition: transform 0.5s ease;
        padding: 0.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Only first item visible by default, others positioned off-screen */
    .feature-item:not(:first-child) {
        transform: translateX(100%);
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }
    
    .feature-item.active {
        transform: translateX(0);
        opacity: 1;
        z-index: 1;
    }
    
    .feature-icon-container svg {
        width: 70px;
        height: 70px;
    }
    
    .feature-text {
        font-size: 1.2rem;
    }
    
    /* Show carousel navigation on mobile */
    .carousel-nav {
        display: flex;
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    /* Hide additional features on mobile */
    .additional-features {
        display: none;
    }
}

/* Floating mascot hidden by default on desktop */
.floating-mascot {
    display: none;
}

/* Responsive styles for desktop/tablet */
@media (max-width: 900px) and (min-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .right-column {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .mockup-window {
        max-width: 100%;
    }
}

/* Feature title styling */
.feature-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Mac-style preview window */
.preview-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-frame {
    width: 100%;
    max-width: 500px; /* Updated */
    background: white; /* Updated */
    border-radius: 20px; /* Updated */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 40px; /* Updated */
    overflow: hidden;
    padding: 10px; /* Added */
    /* Removed: margin: 0 auto; */
}

.preview-header {
    display: flex;
    gap: 6px; /* Updated */
    margin-bottom: 10px; /* Added */
    /* Removed: background-color: #f1f1f1; */
    /* Removed: padding: 8px 15px; */
    /* Removed: align-items: center; */
}

.header-dot {
    width: 8px; /* Updated */
    height: 8px; /* Updated */
    border-radius: 50%;
    /* Removed: background-color: #ccc; */
}

.header-dot:nth-child(1) {
    background-color: rgb(255, 95, 87); /* Updated */
}

.header-dot:nth-child(2) {
    background-color: rgb(255, 189, 46); /* Updated */
}

.header-dot:nth-child(3) {
    background-color: rgb(40, 202, 65); /* Updated */
}

/* Feature Container items */
.feature-container .feature-item {
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-icon-img {
    width: 60px;
    height: 80px;
    object-fit: contain;
}

.feature-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    height: 80px;
    min-height: 80px;
}

.feature-icon-img-small {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .feature-icon-img {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-container {
        height: 70px;
        min-height: 70px;
    }
    
    .feature-icon-img-small {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon-small {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
    }
    
    .feature-item {
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 1rem 0.75rem !important;
    }
    
    .feature-detail {
        padding: 0.5rem !important;
    }
    
    .mockup-window {
        max-width: 100%;
        margin: 0;
    }
}

.feature-title-small {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
    .feature-text {
        font-size: 1.2rem;
    }
    
    .feature-title-small, .feature-detail-title {
        font-size: 1.2rem;
    }
    
    .feature-detail-description, .feature-description {
        font-size: 1.05rem;
    }
} 