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

:root {
    --primary-blue: #0d1174;
    --secondary-blue: #6683ba;
    --white: #FFFFFF;
    --text-light: #E8F0F8;
    --green: #4CAF50;
    --shadow: rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-blue);
    overflow-x: hidden;
}

/* Header */
.header {
    background: #6683ba;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-section {
    flex: 0 0 auto;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section a {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    display: block;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    opacity: 0.8;
}

.nav-link:hover::after {
    width: 100%;
}

.notification-banner {
    background: var(--primary-blue);
    padding: 1.2rem 2rem;
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .notification-banner {
        display: none;
    }
}

.notification-banner p {
    font-size: 0.95rem;
    color: var(--white);
    margin: 0;
}

.notification-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.notification-link:hover {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
}

.hero-bg-image {
    width: 100%;
    height: auto;
    min-height: 75vh;
    object-fit: cover;
    object-position: center;
    display: block;
    position: static;
    transform: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
}

@media (max-width: 768px) {
    .hero-bg-image {
        object-fit: contain;
        object-position: center top;
    }
}

/* Signup Section */
.signup-section-main {
    background: var(--primary-blue);
    padding: 5rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.signup-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.signup-decision-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.signup-form-wrapper {
    width: 100%;
    max-width: 600px;
}

.signup-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trustpilot-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.rating-box {
    margin: 0 auto;
}

.rating-box {
    background: linear-gradient(135deg, #00B67A 0%, #00A86B 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 182, 122, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 0 0 4px rgba(255, 255, 255, 0.1);
    min-width: 260px;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.rating-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.rating-box:hover::before {
    left: 100%;
}

.rating-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 182, 122, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.4);
}


.trustpilot-logo {
    margin: 0 0 0.2rem 0;
    opacity: 1;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    text-align: center;
    letter-spacing: 0.5px;
}

.stars-container {
    display: flex;
    gap: 0.3rem;
    margin: 0.6rem 0;
    justify-content: center;
    align-items: center;
}

.trustpilot-star {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.rating-box:hover .trustpilot-star {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.rating-text {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    margin: 0.2rem 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
}

.review-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.3rem 0 0;
    font-weight: 500;
}

.trustpilot-badge {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.rating-box:hover .trustpilot-badge {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(3px);
}

.trustpilot-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.3px;
}

.text-content {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.text-content p {
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.email-form {
    position: relative;
}

.signup-extra-text {
    margin-top: 2rem;
    text-align: center;
}

.signup-extra-text p {
    color: #f25d20;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.danish-cta-btn {
    display: inline-block;
    background: #f25d20;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.danish-cta-btn:hover {
    background: #e0551a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 93, 32, 0.4);
}

.form-group {
    display: flex;
    gap: 1rem;
    background: #e9f2fe;
    padding: 0.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    min-height: 56px;
    align-items: center;
}

.form-group:focus-within {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 20px rgba(102, 131, 186, 0.3);
    transform: translateY(-2px);
}

.email-input {
    flex: 1;
    background: #e9f2fe;
    border: none;
    padding: 1.2rem 2rem;
    color: #000000;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    line-height: 1.5;
    border-radius: 50px;
}

.email-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.email-input:-webkit-autofill,
.email-input:-webkit-autofill:hover,
.email-input:-webkit-autofill:focus,
.email-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #e9f2fe inset !important;
    -webkit-text-fill-color: #000000 !important;
    height: 56px !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    border-radius: 50px !important;
}

.submit-btn {
    background: var(--primary-blue);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 150px;
    text-transform: uppercase;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 17, 116, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: block;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: var(--green);
    border: 1px solid var(--green);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Social Media Section */
.social-section-main {
    background: var(--primary-blue);
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0.85;
}

.social-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.social-heading {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: center;
    opacity: 0.85;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    transition: var(--transition);
    background: transparent;
    opacity: 0.75;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.social-link svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    fill: var(--white);
    color: var(--white);
    opacity: 0.8;
}

/* Video Section */
.video-section {
    background: linear-gradient(180deg, var(--primary-blue) 0%, #0a0e5a 100%);
    padding: 3rem 2rem 5rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.vimeo-videos {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.vimeo-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
    aspect-ratio: 16 / 9;
}

.vimeo-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Page Content (for undersider) */
.page-content {
    background: var(--primary-blue);
    padding: 6rem 2rem 5rem;
    min-height: 60vh;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-text {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: left;
}

.page-text p {
    margin-bottom: 1.5rem;
}

.contact-info {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--white);
    text-decoration: underline;
    transition: var(--transition);
}

.contact-info a:hover {
    opacity: 0.8;
}

.company-info {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #6683ba;
    padding: 4rem 2rem 3rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-section {
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: var(--white);
    font-size: 0.95rem;
    margin: 0.75rem 0;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-section a {
    color: var(--white);
    text-decoration: underline;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 0.8;
}

.opening-hours {
    margin-top: 1rem !important;
    font-weight: 600 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        justify-content: flex-start;
    }

    .logo-section {
        align-self: flex-start;
    }

    .nav {
        gap: 1.5rem;
        position: static;
        transform: none;
        left: auto;
        justify-content: center;
        width: 100%;
    }

    .notification-banner {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-bg-image {
        min-height: 60vh;
    }

    .signup-section-main {
        padding: 3rem 1.5rem;
    }

    .signup-container {
        gap: 2rem;
    }

    .signup-decision-area {
        gap: 1rem;
    }

    .signup-heading {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .trustpilot-wrapper {
        margin-top: 0;
    }

    .rating-box {
        width: 100%;
        max-width: 300px;
    }

    .hero {
        min-height: auto;
        background: var(--primary-blue);
    }

    .hero-bg-image {
        min-height: auto;
        object-fit: contain;
        object-position: center top;
        width: 100%;
        height: auto;
    }

    .form-group {
        flex-direction: column;
        border-radius: 15px;
        padding: 0.3rem;
        width: 100%;
        background: #e9f2fe;
    }

    .email-input {
        border-radius: 15px;
        height: 56px;
        min-height: 56px;
        max-height: 56px;
        width: 100%;
        background: #e9f2fe;
    }

    .submit-btn {
        width: 100%;
        border-radius: 15px;
        height: 56px;
        min-height: 56px;
        max-height: 56px;
    }

    .social-section-main {
        padding: 1rem 1.5rem 1.5rem;
    }

    .social-heading {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .social-link {
        font-size: 0.85rem;
        padding: 0.6rem 1.1rem;
    }

    .social-link svg {
        width: 24px;
        height: 24px;
    }

    .video-section {
        padding: 2rem 1.5rem 3rem;
        margin-top: 1rem;
    }

    .vimeo-videos {
        gap: 2rem;
    }

    .signup-extra-text {
        margin-top: 1.5rem;
    }

    .signup-extra-text p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .danish-cta-btn {
        font-size: 0.95rem;
        padding: 1rem 2.5rem;
    }

    .social-heading {
        font-size: 1.1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .page-content {
        padding: 4rem 1.5rem 3rem;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .page-text {
        font-size: 1rem;
    }

    .contact-info,
    .company-info {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .company-info h2 {
        font-size: 1.3rem;
    }


    .video-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .text-content {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .rating-box {
        min-width: 100%;
        padding: 2rem 1.5rem;
    }

    .trustpilot-logo svg {
        width: 100px;
    }

    .trustpilot-star {
        width: 24px;
        height: 24px;
    }

    .footer-content p {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--white);
    opacity: 0.8;
}
