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

:root {
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.5);
    --secondary: #fbbf24;
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for the sticky header */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(30, 27, 75, 0.3) 0%, #050505 100%);
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('raagabhyas_clean_bg_1777709073898.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.1);
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

.glow-orb-1 { 
    top: -200px; 
    right: -100px; 
    animation: orbFloat1 25s infinite alternate ease-in-out;
}

.glow-orb-2 { 
    bottom: -200px; 
    left: -100px; 
    opacity: 0.6;
    animation: orbFloat2 30s infinite alternate ease-in-out;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, 100px) scale(1.2); }
    100% { transform: translate(50px, -50px) scale(0.9); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(150px, -100px) scale(0.8); }
    100% { transform: translate(-50px, 50px) scale(1); }
}

/* Header */
header {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.hero-content {
    max-width: 900px;
    animation: fadeIn 1.2s ease-out;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
}

h1 span {
    display: block;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    font-weight: 300;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 550px;
    margin: 0 auto;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
    .waitlist-form {
        flex-direction: row;
        border-radius: 9999px;
    }
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.2rem 1.5rem;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.waitlist-form button {
    padding: 1.2rem 2.5rem;
    background: white;
    color: black;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.waitlist-form button:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    min-height: 100vh;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Closing Section */
.closing {
    padding: 3rem 2rem 0 2rem;
    text-align: center;
}

.closing p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    header { padding: 1.5rem; }
    h1 { font-size: 3.5rem; }
    .features { padding: 4rem 1rem; }
}
