:root {
    /* Modern Light Palette */
    --bg-body: #FFFFFF;
    --bg-secondary: #F3F4F6;
    /* Light Grey for sections */
    --bg-card: #FFFFFF;

    --primary: #0F172A;
    /* Slate 900 - Very Dark Blue/Black for text */
    --secondary: #334155;
    /* Slate 700 - Muted text */

    --accent: #F59E0B;
    /* Amber 500 - Vibrant Yellow/Orange */
    --accent-hover: #D97706;
    /* Amber 600 */
    --accent-light: #FEF3C7;
    /* Amber 100 - Backgrounds */
    --blue-accent: #3B82F6;
    /* Royal Blue for tech feel */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Shadows & Borders */
    --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);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-md: 12px;
    --radius-lg: 20px;

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.text-accent {
    color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background-color: var(--bg-secondary);
}

/* Buttons & Interactions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--bg-secondary);
}

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

.btn-text {
    padding: 0;
    color: var(--accent);
    font-weight: 600;
}

.btn-text:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Header & Nav */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-secondary);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
    background: radial-gradient(circle at 100% 0%, var(--accent-light) 0%, white 50%);
}

.hero-shape {
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    background: var(--bg-secondary);
    border-radius: 50% 0 0 50%;
    z-index: 0;
    transform: rotate(-10deg);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Modern Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.modern-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.modern-card:hover .card-icon {
    background: var(--accent);
    color: white;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title-wrapper {
    margin-bottom: 4rem;
    max-width: 700px;
}

.eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

/* Stats */
.stat-item h3 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: var(--shadow-sm);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 6rem 0 2rem;
}

footer h3,
footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

footer a {
    color: #94A3B8;
}

footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 4rem;
    padding-top: 2rem;
    color: #64748B;
    text-align: center;
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    /* Hide hero image on mobile for cleaner look or stack it */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}