:root {
    /* Color Palette */
    --primary-color: #0f172a;
    /* Deep Navy/Slate */
    --secondary-color: #3b82f6;
    /* Vibrant Blue */
    --accent-color: #0ea5e9;
    /* Sky Blue */
    --background-color: #f8fafc;
    /* Light Gray/Off-white */
    --surface-color: #ffffff;
    /* Pure White */
    --text-primary: #1e293b;
    /* Dark Slate */
    --text-secondary: #64748b;
    /* Muted Slate */
    --border-color: #e2e8f0;
    /* Light Border */

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

    /* 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);

    /* Spacing */
    --container-padding: 1rem;
}

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

html {
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--background-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

/* Container */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 1rem;
    background: radial-gradient(circle at top right, #f1f5f9, transparent),
        radial-gradient(circle at bottom left, #e2e8f0, transparent);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    margin-top: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Valuation Tools Section */
.valuation-tools {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.tool-card {
    background: var(--surface-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: #eff6ff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tool-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    width: fit-content;
}

.tool-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: white;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    border-radius: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
}

.feature {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 50%;
    color: var(--secondary-color);
}

.feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

@media (max-width: 767px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section {
        padding: 4rem 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .valuation-tools {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}