/* Main Styles */

/* Import Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* CSS Variables — Wa1ted Color Palette */
:root {
    /* Brand Colors */
    --wa1-primary:   #2563EB;
    --wa1-secondary: #38BDF8;
    --wa1-accent:    #F59E0B;
    --wa1-success:   #22C55E;
    --wa1-bg:        #FFFFFF;
    --wa1-light:     #F8FBFF;
    --wa1-text:      #0F172A;

    /* Legacy aliases (kept for compatibility) */
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
    --secondary-gradient: linear-gradient(135deg, #38BDF8 0%, #2563EB 100%);
    --accent-blue: #2563EB;
    --accent-indigo: #38BDF8;
    --accent-cyan: #22C55E;
    --light-gray: #F8FBFF;
    --medium-gray: #E2E8F0;
    --dark-gray: #64748B;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 12px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-medium: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--light-gray);
    padding-top: 76px;
    /* For fixed navbar */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Hero Sections */
.hero-section {
    padding: 6rem 0 8rem;
    background: linear-gradient(180deg, #EFF6FF 0%, #F8FBFF 60%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #0F172A 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.375rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    background: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-gradient {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    color: white;
}

.btn-outline-gradient {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-outline-gradient:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-medium);
}

/* Badges */
.badge {
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    padding: 0.5rem 0.875rem;
}

/* Utility Classes */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--primary-gradient) !important;
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-md {
    border-radius: var(--border-radius-md);
}

.rounded-sm {
    border-radius: var(--border-radius-sm);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--medium-gray);
    border-top: 3px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-section {
        padding: 4rem 0 6rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    body {
        padding-top: 70px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--medium-gray);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gray);
}