@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-dark: #07070a;
    --bg-card: rgba(20, 20, 25, 0.7);
    --bg-card-hover: rgba(30, 30, 35, 0.8);
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-gradient: linear-gradient(135deg, #f9d976 0%, #e9b646 50%, #d4af37 100%);
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-light: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Typography */
h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 600; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: rgba(7, 7, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-decoration: none;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--gold-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}
.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
    z-index: -1;
}
.hero-content {
    max-width: 650px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

/* Login Modal / Section */
.login-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a0f);
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    animation: fadeIn 1s ease forwards;
}
.login-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.login-type-selector {
    display: flex;
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    padding: 4px;
}
.login-type-btn {
    flex: 1;
    text-align: center;
    padding: 0.6rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-muted);
}
.login-type-btn.active {
    background: var(--gold-primary);
    color: #000;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { min-height: 80vh; }
    .nav-links { display: none; } /* Add hamburger menu logic later if needed */
}
