:root {
    /* Material 3 Color Palette (Inspired by MH Scribe Deep Purple/Lavender) */
    --md-sys-color-primary: #6750A4;
    --md-sys-color-on-primary: #FFFFFF;
    --md-sys-color-primary-container: #EADDFF;
    --md-sys-color-on-primary-container: #21005D;

    --md-sys-color-secondary: #625B71;
    --md-sys-color-on-secondary: #FFFFFF;
    --md-sys-color-secondary-container: #E8DEF8;
    --md-sys-color-on-secondary-container: #1D192B;

    --md-sys-color-tertiary: #7D5260;
    --md-sys-color-on-tertiary: #FFFFFF;
    --md-sys-color-tertiary-container: #FFD8E4;
    --md-sys-color-on-tertiary-container: #31111D;

    --md-sys-color-surface: #FEF7FF;
    --md-sys-color-on-surface: #1D1B20;
    --md-sys-color-surface-variant: #E7E0EB;
    --md-sys-color-on-surface-variant: #49454F;

    --md-sys-color-outline: #79747E;

    /* Typography */
    --md-sys-typescale-display-large-font: 'Outfit', sans-serif;
    --md-sys-typescale-body-large-font: 'Inter', sans-serif;

    /* Shapes & Shadows */
    --md-sys-shape-corner-extra-large: 28px;
    --md-sys-shape-corner-large: 16px;
    --md-sys-shape-corner-medium: 12px;

    --md-sys-elevation-level1: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --md-sys-elevation-level2: 0 2px 6px 2px rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: var(--md-sys-typescale-body-large-font);
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--md-sys-typescale-display-large-font);
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(254, 247, 255, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--md-sys-typescale-display-large-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--md-sys-color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--md-sys-color-on-surface-variant);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--md-sys-color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('ahltrade_hero_1.png');
    /* To be copied later */
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--md-sys-color-primary), #9c27b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--md-sys-elevation-level1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--md-sys-elevation-level2);
}

/* Sections */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

/* Grid Layout */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--md-sys-color-surface-variant);
    padding: 40px;
    border-radius: var(--md-sys-shape-corner-extra-large);
    transition: transform 0.3s;
    border: 1px solid var(--md-sys-color-outline);
    opacity: 0.9;
}

.card:hover {
    transform: scale(1.02);
    background-color: var(--md-sys-color-secondary-container);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--md-sys-color-on-primary-container);
}

/* Founder Section */
.founder-section {
    background-color: var(--md-sys-color-primary-container);
    border-radius: 40px;
    margin: 0 5% 80px;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
}

.founder-img {
    width: 300px;
    height: 300px;
    border-radius: var(--md-sys-shape-corner-extra-large);
    object-fit: cover;
    box-shadow: var(--md-sys-elevation-level2);
}

.founder-info h2 {
    margin-bottom: 10px;
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    text-decoration: none;
    color: var(--md-sys-color-primary);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--md-sys-color-on-surface);
    color: var(--md-sys-color-surface);
    padding: 60px 5% 20px;
    text-align: center;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .founder-section {
        flex-direction: column;
        text-align: center;
    }

    header {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    nav ul {
        margin-top: 20px;
    }
}