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

:root {
    /* Premium Color Palette */
    --primary: #4F46E5;
    /* Indigo 600 */
    --primary-hover: #4338ca;
    /* Indigo 700 */
    --secondary: #64748B;
    /* Slate 500 */
    --dark: #0F172A;
    /* Slate 900 */
    --light: #F8FAFC;
    /* Slate 50 */
    --accent: #06B6D4;
    /* Cyan 500 */
    --surface: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    /* Premium Mesh Gradient Background */
    background-color: var(--light);
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(79, 70, 229, 0.03) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(6, 182, 212, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    /* meaningful initial state */
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--dark);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    letter-spacing: -0.03em;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary) !important;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: radial-gradient(circle at top right, #eef2ff, transparent 40%),
        radial-gradient(circle at bottom left, #ecfeff, transparent 40%);
}

/* Cards */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* Features/Services */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
    background-color: #e0e7ff;
    border-radius: 0.75rem;
}

/* Dark Gradient Section */
.bg-dark-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1e1b4b 100%);
    color: white;
}

.bg-dark-gradient h2,
.bg-dark-gradient p {
    color: white !important;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Premium Inputs */
.form-control-premium {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    color: white !important;
}

.form-control-premium::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-label-light {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.site-footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: white;
}

/* Spacing Utilities */
.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Utilities */
.text-primary-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Form Messages */
.status {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-md);
    padding: 0;
    transition: all 0.3s ease;
}

.status.show {
    padding: 0.75rem;
    margin-top: 1rem;
}

.status.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.invalid-feedback {
    color: #ef4444;
    /* Red-500 */
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: #ef4444 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linecap='round' d='M6 3v4m0 2v.5'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}