/* Basic Reset & Root Variables */
:root {
    --primary: #359EFF;
    --background-light: #f5f7f8;
    --background-dark: #0f1923;
    --text-light: #f5f7f8;
    --text-dark: #0d121b;
    --border-light: #e7ebf3;
    --border-dark: #4a5568; /* approx gray-700 */
}

html.dark {
    --background-light: #0f1923;
    --background-dark: #f5f7f8;
    --text-light: #0d121b;
    --text-dark: #f5f7f8;
    --border-light: #4a5568;
    --border-dark: #e7ebf3;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
}

html.dark body {
    background-color: var(--background-dark);
    color: var(--text-light);
}

/* Layout */
.relative { position: relative; }
.flex { display: flex; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.flex-col { flex-direction: column; }
.overflow-x-hidden { overflow-x: hidden; }
.layout-container {
    display: flex;
    height: 100%;
    flex-grow: 1;
    flex-direction: column;
}
.flex-1 { flex: 1 1 0%; }
.justify-center { justify-content: center; }
.layout-content-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1280px; /* max-w-7xl */
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 1rem; /* py-3 px-4 */
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(245, 247, 248, 0.8); /* bg-background-light/80 */
    backdrop-filter: blur(4px); /* backdrop-blur-sm */
}

html.dark header {
    border-color: var(--border-dark);
    background-color: rgba(15, 25, 35, 0.8); /* dark:bg-background-dark/80 */
}

@media (min-width: 768px) {
    header {
        padding-left: 2.5rem; /* md:px-10 */
        padding-right: 2.5rem;
    }
}

.items-center { align-items: center; }
.gap-4 { gap: 1rem; }
.text-primary { color: var(--primary); }
.size-8 { width: 2rem; height: 2rem; }

header h2 {
    color: var(--text-dark);
    font-size: 1.125rem; /* text-lg */
    font-weight: 700; /* font-bold */
    line-height: 1.5rem; /* leading-tight */
    letter-spacing: -0.015em;
}

html.dark header h2 {
    color: var(--text-light);
}

.hidden { display: none; }

@media (min-width: 768px) {
    .md\:flex { display: flex; }
}

.justify-end { justify-content: flex-end; }
.gap-8 { gap: 2rem; }
.gap-9 { gap: 2.25rem; }

header a {
    color: var(--text-dark);
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    line-height: 1.25rem; /* leading-normal */
    text-decoration: none;
}
html.dark header a {
    color: var(--text-light);
}
header a:hover {
    color: var(--primary);
}

header button {
    display: flex;
    min-width: 84px;
    max-width: 480px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem; /* rounded-lg */
    height: 2.5rem; /* h-10 */
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.875rem; /* text-sm */
    font-weight: 700; /* font-bold */
    line-height: 1.25rem; /* leading-normal */
    letter-spacing: 0.015em;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Main Content */
.p-4 { padding: 1rem; }
.md\:p-10 { padding: 2.5rem; }

.min-h-\[480px\] { min-height: 480px; }
.gap-6 { gap: 1.5rem; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }
.rounded-lg { border-radius: 0.5rem; }
.items-start { align-items: flex-start; }
.justify-end { justify-content: flex-end; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.pb-10 { padding-bottom: 2.5rem; }

.gap-2 { gap: 0.5rem; }
.text-left { text-align: left; }
.max-w-2xl { max-width: 42rem; }

h1 {
    color: white;
    font-size: 2.25rem; /* text-4xl */
    font-weight: 900; /* font-black */
    line-height: 1.1; /* leading-tight */
    letter-spacing: -0.033em;
}

h2 {
    color: white;
    font-size: 0.875rem; /* text-sm */
    font-weight: 400; /* font-normal */
    line-height: 1.25rem; /* leading-normal */
}

main button {
    display: flex;
    min-width: 84px;
    max-width: 480px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem; /* rounded-lg */
    height: 2.5rem; /* h-10 */
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.875rem; /* text-sm */
    font-weight: 700; /* font-bold */
    line-height: 1.25rem; /* leading-normal */
    letter-spacing: 0.015em;
}

/* Section Header */
.section-header {
    color: var(--text-dark);
    font-size: 1.375rem; /* text-[22px] */
    font-weight: 700;
    line-height: 1.5rem; /* leading-tight */
    letter-spacing: -0.015em;
    padding: 1.25rem 1rem 0.75rem; /* px-4 md:px-10 pb-3 pt-5 */
}
html.dark .section-header {
    color: var(--text-light);
}
@media (min-width: 768px) {
    .section-header {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gap-3 { gap: 0.75rem; }
.p-4 { padding: 1rem; }
@media (min-width: 768px) {
    .md\:p-10 { padding: 2.5rem; }
}

.pb-3 { padding-bottom: 0.75rem; }
.aspect-square { aspect-ratio: 1 / 1; }

.text-base { font-size: 1rem; }
.font-medium { font-weight: 500; }
.leading-normal { line-height: 1.5; }
.text-gray-500 { color: #6b7280; }
html.dark .text-gray-400 { color: #9ca3af; }
.text-sm { font-size: 0.875rem; }
.font-normal { font-weight: 400; }

/* Feature Section */
.gap-10 { gap: 2.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.tracking-light { letter-spacing: -0.015em; }
.text-\[32px\] { font-size: 2rem; }
.max-w-\[720px\] { max-width: 45rem; }
.text-gray-800 { color: #1f2937; }
html.dark .text-gray-300 { color: #d1d5db; }
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.p-0 { padding: 0; }
.border { border-width: 1px; }
.border-\[\#cfd7e7\] { border-color: #cfd7e7; }
html.dark .border-gray-700 { border-color: #374151; }
.bg-white { background-color: white; }
html.dark .bg-background-dark { background-color: var(--background-dark); }
.gap-1 { gap: 0.25rem; }
.text-3xl { font-size: 1.875rem; }

/* Testimonials */
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.text-gray-900 { color: #111827; }
.mb-10 { margin-bottom: 2.5rem; }
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gap-8 { gap: 2rem; }
.bg-background-light { background-color: var(--background-light); }
html.dark .bg-gray-800 { background-color: #1f2937; }
.p-6 { padding: 1.5rem; }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.rounded-full { border-radius: 9999px; }
.mr-4 { margin-right: 1rem; }
.font-semibold { font-weight: 600; }

/* CTA */
.bg-primary\/20 { background-color: rgba(53, 159, 255, 0.2); }
html.dark .bg-primary\/30 { background-color: rgba(53, 159, 255, 0.3); }
.p-8 { padding: 2rem; }
@media (min-width: 768px) {
    .md\:p-12 { padding: 3rem; }
    .md\:flex-row { flex-direction: row; }
}
.justify-between { justify-content: space-between; }
.text-2xl { font-size: 1.5rem; }
@media (min-width: 768px) {
    .md\:text-3xl { font-size: 1.875rem; }
}
.mb-2 { margin-bottom: 0.5rem; }
.text-gray-700 { color: #374151; }
html.dark .text-gray-200 { color: #e5e7eb; }
.flex-shrink-0 { flex-shrink: 0; }

/* Footer */
footer.bg-gray-800 { background-color: #1f2937; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 768px) {
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.col-span-2 { grid-column: span 2 / span 2; }
@media (min-width: 768px) {
    .md\:col-span-1 { grid-column: span 1 / span 1; }
}
.text-xl { font-size: 1.25rem; }
.mt-4 { margin-top: 1rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.items-start { align-items: flex-start; }
.text-lg { font-size: 1.125rem; }
.mr-2 { margin-right: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-8 { margin-top: 2rem; }
.border-t { border-top-width: 1px; }
.pt-8 { padding-top: 2rem; }
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.mt-0 { margin-top: 0; }

/* Dark mode specific text colors */
html.dark .dark\:text-white { color: white; }
html.dark .dark\:text-gray-400 { color: #9ca3af; }
html.dark .dark\:text-gray-300 { color: #d1d5db; }
html.dark .dark\:text-gray-200 { color: #e5e7eb; }

/* Material Symbols Outlined */
.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}
