/* style.css */

/* --- SHARED VARIABLES --- */
:root {
    --royal-purple: #5D2E8E;
    --sunbeam-yellow: #F9C846;
    --sunbeam-darker: #e0b135;
    --warm-coral: #F28C81;
    --text-main: #2c1a42;
    --text-muted: #555;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* --- BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-main); background-color: #f8faff; overflow-x: hidden; line-height: 1.7; }
h1, h2, h3, h4, .brand-font { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--royal-purple); }
a { text-decoration: none; transition: 0.3s ease; }
img { max-width: 100%; height: auto; border-radius: 16px; }

/* --- UTILITIES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }
.blob-bg { position: relative; overflow: hidden; }
.blob-bg::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 50% 50%, rgba(249, 200, 70, 0.1), rgba(93, 46, 142, 0.05), transparent 70%); z-index: -1; animation: rotateBlob 25s linear infinite; }
@keyframes rotateBlob { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- BUTTONS --- */
.btn { display: inline-block; padding: 14px 35px; border-radius: 50px; font-family: 'Nunito', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; cursor: pointer; border: none; transition: 0.3s; }
.btn-primary { background: linear-gradient(135deg, var(--sunbeam-yellow), #fcd34d); color: var(--royal-purple); box-shadow: 0 10px 20px rgba(249, 200, 70, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(249, 200, 70, 0.5); }
.btn-outline { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.8); color: var(--white); margin-left: 15px; }
.btn-outline:hover { background: var(--white); color: var(--royal-purple); }
.btn-text { background: transparent; color: var(--royal-purple); text-transform: none; font-size: 1rem; padding: 0; }
.btn-text:hover { color: var(--warm-coral); text-decoration: underline; }

/* --- NAVIGATION --- */
header { position: fixed; top: 20px; left: 0; width: 100%; z-index: 1000; padding: 0 5%; transition: 0.4s; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 2rem; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.6); border-radius: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

/* LOGO FIXES */
.logo { font-size: 1.5rem; line-height: 1; }
.logo a {
    display: flex;
    align-items: center; /* Ensures vertical centering */
    gap: 12px;
    color: var(--royal-purple);
}
.logo i { font-size: 1.8rem; background: -webkit-linear-gradient(45deg, var(--warm-coral), var(--sunbeam-yellow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* NUDGE TEXT DOWN */
.logo .brand-font {
    position: relative;
    top: 2px; /* Pushes the text down to align visually with the icon */
}

/* NAV LINKS */
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-main); font-weight: 700; font-size: 0.95rem; }
.nav-links a:hover { color: var(--royal-purple); }

/* Nav Button Roundness Fix */
.nav-links .btn-primary { 
    padding: 10px 25px; 
    box-shadow: none; 
    border-radius: 50px; 
    display: inline-block;
}

.hamburger { display: none; font-size: 1.5rem; color: var(--royal-purple); cursor: pointer; }

/* --- FOOTER --- */
footer { background: #1a0e29; color: #aaa; padding: 4rem 0; text-align: center; margin-top: 4rem; }

/* --- MOBILE NAV --- */
@media (max-width: 900px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; flex-direction: column; padding: 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .btn-outline { margin-left: 0; margin-top: 15px; }
}