/* --- Custom Color Palette --- */
:root {
    /* User Specified Colors */
    --color-title: #2E3F61;
    --color-subtitle: #3F62FF;
    --color-highlight: #7C97F9; /* Used for underlines, button text/hover, and accents */
    
    /* Base Design Colors (From Design Scheme) */
    --color-primary: #9E7FFF;
    --color-secondary: #38bdf8;
    --color-accent: #f472b6;
    --color-background: #171717; /* Deep Dark Background */
    --color-surface: #262626; /* Card/Element Background */
    --color-text: #FFFFFF;
    --color-textSecondary: #A3A3A3;
    --color-border: #2F2F2F;
    
    --font-family-sans: 'Inter', sans-serif;
    --font-family-display: 'Playfair Display', serif; /* Adding a serif for display contrast */
    
    --transition-speed: 0.3s;
}

/* Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* --- Navigation Bar Styling (Fixed & Immersive) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(23, 23, 23, 0.95); /* Slightly transparent dark surface */
    backdrop-filter: blur(10px); /* Modern frosted glass effect */
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-family-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.05em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: black; /* Original text color requested */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

/* Hover/Active State: Highlight Bar Effect */
.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text); /* Text remains black/dark on hover if background was light, but here we ensure visibility */
    /* The highlight effect is the rounded bar below */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px; /* Thickness of the bar */
    background-color: var(--color-highlight);
    border-radius: 2px;
    transition: width var(--transition-speed) ease-in-out, left var(--transition-speed) ease-in-out;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%; /* Grow effect */
}

/* CTA Button in Nav */
.cta-button {
    background-color: var(--color-highlight);
    color: var(--color-background); /* Dark text on light highlight button */
    border: none;
    padding: 10px 20px;
    border-radius: 50px; /* Fully rounded */
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform 0.15s ease;
}

.cta-button:hover {
    background-color: #93b3ff; /* Slightly brighter highlight on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 153, 249, 0.4);
}

/* --- Hero Section Styling --- */
.hero-section {
    padding-top: 120px; /* Space below fixed navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(38, 38, 38, 0.5) 0%, var(--color-background) 70%);
}

.hero-content {
    max-width: 800px;
    padding: 40px 20px;
}

.title {
    font-family: var(--font-family-display);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--color-title); /* Title Color */
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--color-subtitle); /* Subtitle Color */
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Hero Buttons */
.cta-primary, .cta-secondary {
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.cta-primary {
    background-color: var(--color-highlight);
    color: var(--color-background); /* Dark text on light highlight */
    box-shadow: 0 4px 15px rgba(124, 153, 249, 0.5);
}

.cta-primary:hover {
    background-color: #93b3ff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(124, 153, 249, 0.6);
}

.cta-secondary {
    background-color: transparent;
    color: var(--color-highlight);
    border-color: var(--color-highlight);
}

.cta-secondary:hover {
    background-color: rgba(124, 153, 249, 0.1);
    color: #b0c7ff;
    border-color: #b0c7ff;
    transform: translateY(-2px);
}

/* --- General Content Sections --- */
.content-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    min-height: 50vh;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 16px;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--color-textSecondary);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Hide links on small screens, typically replaced by a hamburger menu */
    }
    .nav-container {
        justify-content: space-between;
    }
    .title {
        font-size: 3rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 12px 16px;
    }
    .logo {
        font-size: 1.5rem;
    }
    .content-section {
        padding: 60px 16px;
    }
}
