:root {
    --bg-dark: #0b1120;
    --bg-card: #151e32;
    --accent: #00d084;
    --accent-hover: #00b875;
    --primary: #3b82f6;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: #334155;
    --input-bg: #0f172a;
    --error: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 2rem;
    position: relative; 
    z-index: 2000; 
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
    min-height: 40px; 
}

/* Hamburger & Close Buttons */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 5px;
    width: auto; 
    margin: 0;
}

.close-menu-btn {
    display: none;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-right: auto; 
}

.highlight {
    color: var(--primary);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links a.nav-item:hover, .nav-links a.nav-item.active {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

/* Elements hidden on Desktop */
.mobile-only-content {
    display: none;
}

/* Overlay for Mobile Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); 
    z-index: 1900; 
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Layout */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    flex: 1;
    min-width: 300px;
    padding-top: 0.5rem;
}

.trustpilot-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.trustpilot-bar img {
    height: auto;
    display: block;
}

.tp-logo { width: 130px; max-width: 100%; }
.tp-stars { width: 120px; max-width: 100%; }

.hero-section h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.03);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.feature-box i {
    font-size: 1.2rem;
    color: var(--accent);
}

.feature-box h3 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.feature-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Form Section */
.form-container {
    flex: 1;
    min-width: 320px;
    max-width: 450px;
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.form-header { margin-bottom: 1rem; }
.form-header h2 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.form-header p { font-size: 0.85rem; color: var(--text-muted); }

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--border);
    border-radius: 2px;
    margin-top: 8px;
}

.progress-fill {
    width: 90%;
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
}

.input-group { margin-bottom: 1rem; }
label { display: block; font-size: 0.85rem; margin-bottom: 0.3rem; color: var(--text-muted); }

input {
    width: 100%;
    padding: 10px 14px;
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.currency-wrapper { position: relative; }
.currency-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.currency-wrapper input { padding-left: 30px; }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.2rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}
.divider span { padding: 0 10px; }

.error-text {
    color: var(--error);
    font-size: 0.75rem;
    margin-top: 3px;
    display: none;
}
input.invalid { border-color: var(--error); }

button {
    width: 100%;
    padding: 12px;
    background-color: var(--accent);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 0.5rem;
}
button:hover { background-color: var(--accent-hover); }
button i { margin-right: 8px; }

.disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.8rem;
    line-height: 1.4;
}

#statusMessage {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    background-color: var(--bg-card);
    margin-top: auto;
}
.footer-content { max-width: 1100px; margin: 0 auto; color: var(--text-muted); font-size: 0.85rem; }
.footer-links { margin-top: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; margin: 0 10px; }
.footer-links a:hover { color: var(--primary); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem; 
    }
    
    .main-wrapper {
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }

    .form-container {
        width: 100%;
        max-width: 100%;
    }

    /* --- MOBILE MENU CONFIGURATION --- */
    
    .nav-content {
        justify-content: center; 
    }

    .hamburger-btn {
        display: block; 
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo {
        margin-right: 0; 
    }

    /* Side Drawer Menu Container */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 300px;
        background-color: var(--bg-card);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        /* Increased bottom padding to 80px to handle mobile safe-areas/nav bars */
        padding: 20px 20px 80px 20px;
        z-index: 2001; 
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
        
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Close Button */
    .close-menu-btn {
        display: block;
        align-self: flex-end;
        background: none;
        border: none;
        color: var(--text-muted);
        font-size: 1.5rem;
        cursor: pointer;
        width: auto;
        padding: 5px;
        margin-bottom: 2rem; 
    }
    .close-menu-btn:hover { color: var(--error); }

    /* Menu Links Styles */
    .nav-links a.nav-item {
        font-size: 1.1rem;
        width: 100%;
        padding: 15px 10px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-main);
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .nav-links a.nav-item i {
        color: var(--accent);
        width: 25px;
        text-align: center;
    }

    .nav-links a.nav-item:hover {
        background-color: rgba(255,255,255,0.05);
        padding-left: 15px; 
    }

    /* Bottom Content (Button Only) */
    .mobile-only-content {
        display: block;
        width: 100%;
        margin-top: auto; /* Pushes to bottom */
        padding-top: 20px;
        /* Removed border to look cleaner */
        border-top: none; 
    }

    .mobile-btn {
        display: block;
        width: 100%;
        text-align: center;
        background: var(--primary);
        color: white;
        padding: 14px; /* Slightly larger clickable area */
        border-radius: 8px;
        text-decoration: none;
        font-weight: 700;
        margin-bottom: 0; /* Alignment handled by container padding */
        transition: 0.3s;
    }
    .mobile-btn:hover { background: #2563eb; }
}