:root {
    --verisure-red: #E30613;
    --text-dark: #222;
    --text-gray: #666;
    --border-light: #eee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #fff; 
    padding-top: 80px;
}

.container-fluid { max-width: 1440px; margin: 0 auto; padding: 0 50px; }
.container-grid { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

.flag-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

a { color: #666666; text-decoration: none; }
.country-list p { display: flex; align-items: center; gap: 10px; color: inherit; transition: 0.2s; }

.lang-dropdown {
    color: white;
    background-color: black;
    border: none;
    margin-top: 2px;
}

.main-header { 
    height: 80px; 
    background: #ed002F; 
    color: #fff; 
    display: flex; 
    align-items: center; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.main-header .container-fluid { display: flex; justify-content: space-between; width: 100%; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -1px; }
.header-right { font-size: 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* HERO SECTION */
.hero-section { 
    position: relative; 
    height: 50vh;
    min-height: 550px;
    background: #000; 
    overflow: hidden; 
}
.bg-video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center center; 
}
.hero-overlay { 
    position: absolute; 
    inset: 0; 
    display: flex;
    align-items: center; /* Centers the row vertically */
    background: rgba(0,0,0,0.4); /* Subtle overlay to make text pop */
}
.hero-wrapper-inner {
    width: 100%;
}

.hero-main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px; 
}

.hero-text-area { 
    flex: 1;
    color: #fff; 
    text-align: left;
    padding: 0 20px;
}

.hero-text-area h1 { 
    font-size: 1.8rem; /* Bigger Heading */
    margin-bottom: 20px;
    line-height: 1.2; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text-area p { 
    font-size: 1rem; /* Bigger Paragraphs */
    line-height: 1.6; 
    opacity: 0.95; 
    margin-bottom: 15px;
}
/* TOP NAV ACTIONS */
.hero-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.top-nav-left, .top-nav-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 250px; /* Fixed width for button areas so text stays centered */
	margin-bottom: 160px;
}
.top-nav-right {
    align-items: flex-end;
}

/* BUTTONS */
.access-btn {
    text-decoration: none; 
    color: #fff; 
    font-weight: 600; 
    padding: 10px 22px;
    font-size: 13px; 
    border-radius: 50px; 
    transition: 0.3s;
    white-space: nowrap;
    display: inline-block;
    background-color: var(--verisure-red);
    border: 1px solid var(--verisure-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.access-btn:hover {
    background-color: #ed002F;
    transform: translateY(-2px);
}
.red-pill {
    background-color: #ed002F;
    border: 1px solid #ed002F;
}

/* SUPPORT SECTION */
.support-section { padding: 50px 0; background: #fcfcfc; border-top: 1px solid var(--border-light); }
.support-section .container-grid { display: flex; justify-content: space-between; gap: 30px; }

.section-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 25px; }
.region-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; display: block; }

.regions-flex { display: flex; gap: 50px; flex-wrap: wrap; }
.country-list { list-style: none; font-size: 11px; color: var(--text-gray); }
.country-list li { margin-bottom: 10px; }
.europe-grid { display: grid; grid-template-columns: repeat(3, 160px); }

/* VERTICAL LINE */
.v-line { width: 1px; background: #ddd; align-self: stretch; margin: 0 20px; }

/* DOCUMENTATION & ICONS */
.docs-col { flex: 1; }
.partner-box { margin-top: 30px; }
.partner-box p {
    margin-bottom: 12px;
}

.partner-box a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

.partner-box a:hover {
    color: var(--verisure-red);
}

.support-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor; 
}

.partner-head { font-weight: 700; color: #444; margin-bottom: 10px; font-size: 14px; }

/* FOOTER */
.main-footer { padding: 30px 0; border-top: 1px solid var(--border-light); font-size: 12px; color: #aaa; background: #fcfcfc; }
.footer-inner { display: flex; justify-content: space-between; }
.footer-links a { color: #aaa; text-decoration: none; margin-left: 10px; }

/* RESPONSIVE */
@media (max-width: 1100px) 
	{
    .hero-section {
        height: auto;
        padding: 40px 0;
    }
    .hero-top-nav { 
        flex-direction: column; 
        gap: 30px; 
        text-align: center;
    }
	.top-nav-left, .top-nav-right { 
        align-items: center; 
        flex: 1;
        width: 100%;
    }
    .top-nav-right {
        order: 3; /* Move internal user button to bottom on mobile */
    }
    .hero-text-area {
        order: 2;
    }
		.top-nav-left {
        order: 1;
    }
		.hero-text-area h1 {
        font-size: 1.0rem;
    }
    .hero-main-content { justify-content: center; }
    .support-section .container-grid { flex-direction: column; }
    .v-line { display: none; }
    .europe-grid { grid-template-columns: 1fr 1fr; }
}
/* --- SMALL MOBILE TWEAKS --- */
@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-text-area h1 {
        font-size: 1.5rem;
    }

    .hero-text-area p {
        font-size: 0.95rem;
    }
}