@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #f83a3a;
    --primary-dark: #d62d2d;
    --accent: #ff4d4d;
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

body.site-body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.content-wrapper {
    flex: 1 0 auto;
    width: 100%;
    /* Ensure full width for sections inside */
}

/* Header Styles */
.main-header {
    width: 100%;
    height: 80px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    /* Added explicit width */
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    /* Reduced gap */
    flex-shrink: 0;
}

.logo-pink {
    color: #F5A9B8;
}

.logo-blue {
    color: #5BCEFA;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-dark);
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section & Background */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    /* Fill screen minus header */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    /*filter: brightness(0.4) blur(4px);*/
}

.container {
    padding: 1rem;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #f83a3a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    position: relative;
    text-align: left;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    padding-left: 0.5rem;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(248, 58, 58, 0.2);
}

button {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 58, 58, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 58, 58, 0.5);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.legal-notice {
    margin-top: 1.5rem;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    line-height: 1.4 !important;
    text-align: left;
}

.legal-notice a {
    color: var(--text-muted);
    text-decoration: underline;
}

.legal-notice a:hover {
    color: var(--text-light);
}

.response-msg {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    min-height: 24px;
}

.status-success {
    color: #10b981;
}

.status-error {
    color: #ef4444;
}

/* Glass Box Utility (Shared with Card) */
.glass-box {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Reasons Section */
.reasons-section {
    padding: 4rem 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.reasons-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
}

.reasons-header {
    flex: 0 0 320px;
}

.reasons-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    background: linear-gradient(to bottom right, #ffffff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reasons-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.reason-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.reason-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Features Section (3 Glass Cards) */
.features-section {
    padding: 6rem 1.5rem;
    background: var(--bg-dark);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Article Section */
.article-section {
    padding: 6rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

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

.article-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    background: linear-gradient(to right, #ffffff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-content {
    text-align: left;
}

.article-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

@media (max-width: 1200px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .reasons-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .reasons-header {
        flex: 0 0 auto;
        max-width: 600px;
        margin: 0 auto;
    }

    .reasons-header h2 {
        font-size: 2.2rem;
    }

    .article-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
        padding-top: 120px;
    }
}

@media (max-width: 640px) {
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
}

.footer {
    flex-shrink: 0;
    padding: 3rem 1.5rem 2rem;
    width: 100%;
    margin: 0 auto;
    /* Removed top margin, handled by flex */
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.6);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}


.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.compliance {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.compliance p {
    font-size: inherit;
    color: inherit;
    margin-bottom: 0;
    line-height: 1.4;
}

.compliance a {
    color: var(--text-muted);
    text-decoration: underline;
}

.compliance a:hover {
    color: var(--text-light);
}





/* Response handling */
.hidden {
    display: none;
}