:root {
    --bg: #0b0f14;
    --bg-raised: #121821;
    --card: #141b26;
    --text: #e6edf3;
    --muted: #9fb0c3;
    --accent: #4ea1ff;
    --accent-glow: rgba(78, 161, 255, 0.3);
    --border: #223042;
    --shadow: 0 8px 20px rgba(0, 0, 0, .5);
    --font-sans: system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(1200px 800px at 10% -10%, #101826 0%, transparent 60%),
        radial-gradient(1000px 800px at 100% 0%, #0e1522 0%, transparent 60%),
        var(--bg);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #7ebaff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
    background: #3b8ceb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
}

.brand span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    /* Increase line-height to prevent descenders like 'g' from being clipped */
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #9fb0c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    /* Add a small padding buffer to ensure no visual cut-off in some renderers */
    padding-bottom: 4px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Sections */
section {
    padding: 0px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Product Showcase */
.product-showcase {
    margin-top: 0px;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.product-media {
    width: 100%;
    max-width: 600px;
    margin-bottom: 32px;
}

.product-media img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.product-content {
    width: 100%;
    max-width: 800px;
}

.product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    margin-top: 0;
}

.product-tagline {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 500;
}

.product-description {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-features {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.product-features h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text);
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--muted);
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.product-actions {
    margin-top: 32px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
    text-align: center;
    color: var(--muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}