@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #FFF8F5; /* Main bg color extracted from Stokky */
    font-family: 'Nunito', sans-serif;
    color: #373344;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gradients */
.gradient-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}
.gradient-accent {
    background: linear-gradient(135deg, #B5A4FF 0%, #8B9CF3 100%);
}
.gradient-text-primary {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    color: #373344;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo img {
    height: 36px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #8C84A3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #FF6B6B;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 12px;
    right: 12px;
    height: 35%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 8px 28px -6px rgba(255, 107, 107, 0.50);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -6px rgba(255, 107, 107, 0.60);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Glassmorphism & Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 36px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(181, 164, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

/* Form Elements */
.input-group {
    margin-bottom: 24px;
    text-align: left;
}

.input-group label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 800;
    color: #8C84A3;
    margin-bottom: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: 1.5px solid rgba(139, 156, 243, 0.2);
    background: #FFFFFF;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #373344;
    transition: all 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15);
}

.input-group input::placeholder {
    color: #C4BADC;
}

.form-message {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 700;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(105, 240, 174, 0.1);
    color: #00BFA5;
    border: 1px solid rgba(105, 240, 174, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Legal Documents Structure */
.legal-container {
    max-width: 800px;
    margin: 60px auto;
    background: #FFFFFF;
    border-radius: 36px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(181, 164, 255, 0.15);
}

.legal-container h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-container .date {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: #8C84A3;
    margin-bottom: 40px;
    display: inline-block;
}

.legal-container h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 32px 0 16px;
    color: #373344;
}

.legal-container p, .legal-container ul {
    font-size: 16px;
    color: #554F66;
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-container ul {
    padding-left: 24px;
}

.legal-container li {
    margin-bottom: 8px;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-blob {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: pulse-blob 8s ease-in-out infinite;
}

/* Helpers */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.footer {
    text-align: center;
    padding: 60px 0 40px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: #8C84A3;
}
.footer a {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 700;
}
