/* CSS Variables - Matching Shadcn/Tailwind neutral palette */
:root {
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--neutral-950);
    color: var(--neutral-100);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Pop-out transition layer */
.transition-layer {
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: var(--neutral-950);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    /* Exact cubic-bezier from your React code */
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1), opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-layer.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Header Styling */
header {
    position: relative;
}

.header-container {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.contact-us {
    font-size: 0.875rem;
    color: var(--neutral-300);
    cursor: pointer;
    transition: color 0.2s;
}

.contact-us:hover {
    color: var(--neutral-100);
}

.header-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(64, 64, 64, 0.4), transparent);
    pointer-events: none;
}

/* Hero Section */
.section-wrapper {
    max-width: 72rem; /* max-w-6xl */
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero-container {
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 2.5rem 0;
    max-width: 48rem; /* max-w-3xl */
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--neutral-50);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-400);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Button Styling (Shadcn UI LG Variant) */
.btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    height: 3rem;
    font-weight: 500;
    border-radius: 0.375rem;
    background-color: var(--neutral-200);
    color: var(--neutral-900);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-lg:hover {
    background-color: var(--neutral-300);
    transform: scale(1.05);
}

.btn-lg:active {
    transform: scale(1);
}

.hero-bottom-gradient {
    pointer-events: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(to bottom, transparent, var(--neutral-950));
}

/* Features Section */
.features-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero-title { font-size: 3rem; }
}

/* Card Component Styling */
.card {
    background-color: rgba(23, 23, 23, 0.4);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-100);
}

.card-content {
    color: var(--neutral-400);
    line-height: 1.5;
}

/* Footer & Separator */
.separator {
    height: 1px;
    background-color: var(--neutral-800);
    border: none;
}

footer {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    color: var(--neutral-500);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    footer {
        flex-direction: row;
    }
}
