:root {
    --bg-primary: #0a0c10;
    --bg-secondary: #0d1117;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent: #238636;
    --accent-hover: #2ea043;
    --border: #30363d;
    --brand-blue: #3354f8;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body:not(.scrollable) {
    overflow: hidden;
}

body.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Layout Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header & Footer */
header {
    padding: 1.5rem 0;
    width: 100%;
    z-index: 20;
}

body:not(.scrollable) header {
    position: absolute;
    top: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

footer {
    padding: 1.5rem 0;
    width: 100%;
    z-index: 10;
    margin-top: auto;
    /* Push to bottom for flex */
}

body:not(.scrollable) footer {
    position: absolute;
    bottom: 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.app-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 4vh, 3rem);
    width: 100%;
    padding: 2rem 0;
}

/* Hero Section */
.hero-center {
    text-align: center;
}

.hero-icon-container {
    margin-bottom: 1rem;
}

.hero-icon {
    width: clamp(60px, 8vw, 90px);
    height: auto;
    filter: drop-shadow(0 0 30px rgba(51, 84, 248, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 30%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(35, 134, 54, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Features Row */
.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 850px;
}

.feature-card {
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    backdrop-filter: blur(5px);
}

.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.f-icon {
    font-size: 1.25rem;
}

/* Page Content (Privacy Policy) */
.page-content {
    flex: 1;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

.text-content {
    max-width: 750px;
    margin: 0 auto;
}

.text-content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: left;
}

.text-content h2 {
    font-size: 1.35rem;
    margin: 2.5rem 0 1rem;
    color: #fff;
}

.text-content p,
.text-content li {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.text-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Glow Blobs */
.glow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}

.blob-1 {
    top: 0;
    left: 0;
    background: var(--brand-blue);
}

.blob-2 {
    bottom: 0;
    right: 0;
    background: #a5b4fc;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        overflow-y: auto !important;
    }

    .main-content,
    .page-content {
        padding: 4rem 1rem;
    }

    .features-row {
        grid-template-columns: 1fr;
    }

    header,
    footer {
        position: static !important;
    }

    .app-layout {
        gap: 2rem;
        padding: 0;
    }
}