/* CSS Variables & Theme */
:root {
    --primary: #00513d;
    --primary-light: #0e6b53;
    --accent: #97e8ca;
    --bg-dark: #0f1513;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --text-main: #f4fbf3;
    --text-muted: #bec9c3;
    --border-color: rgba(151, 232, 202, 0.15);
}

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

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

/* Background Gradients */
.glow-bg {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 81, 61, 0.4) 0%, rgba(15, 21, 19, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

.glow-bg.secondary {
    top: 40%;
    right: -10%;
    left: auto;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(151, 232, 202, 0.15) 0%, rgba(15, 21, 19, 0) 70%);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.accent-text {
    color: var(--accent);
    font-style: italic;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border: 3px solid var(--accent);
    border-radius: 6px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(151, 232, 202, 0.2);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -1px;
}

.nav-btn {
    text-decoration: none;
    color: var(--primary);
    background-color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(151, 232, 202, 0.3);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin-bottom: 5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(151, 232, 202, 0.1);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Form Container */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

@media (min-width: 600px) {
    .input-group {
        flex-direction: row;
        background: rgba(0, 0, 0, 0.2);
        padding: 8px;
        border-radius: 100px;
        border: 1px solid var(--border-color);
    }
}

input[type="email"] {
    flex: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 100px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

@media (min-width: 600px) {
    input[type="email"] {
        background: transparent;
        border: none;
    }
}

input[type="email"]:focus {
    border-color: var(--accent);
}

button[type="submit"] {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

button[type="submit"]:hover {
    background-color: var(--primary-light);
    transform: scale(1.02);
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.encryption-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Success/Error States */
.hidden {
    display: none !important;
}

#success-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(151, 232, 202, 0.1);
    border-radius: 16px;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.success-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.success-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.success-text p {
    font-size: 0.9rem;
    color: var(--text-main);
}

#error-message {
    margin-top: 1rem;
    color: #ff6b6b;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(151, 232, 202, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #6f7a74;
    font-size: 0.85rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

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