:root {
    --bg-color: #fbfbfd;
    --text-color: #1d1d1f;
    --text-secondary: #86868b;
    --accent-color: #0071e3;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --section-spacing: 120px;
    --border-radius: 24px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --text-color: #f5f5f7;
        --text-secondary: #86868b;
        --accent-color: #2997ff;
        --glass-bg: rgba(30, 30, 30, 0.65);
        --glass-border: rgba(255, 255, 255, 0.1);
        --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.47059;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 700;
    letter-spacing: -0.005em;
    margin-bottom: 20px;
}

h2 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0em;
    margin-bottom: 15px;
}

h3 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    font-size: 19px;
    line-height: 1.4211;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Glass Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 700;
    font-size: 21px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 32px;
    width: 32px;
    border-radius: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    margin-left: 24px;
    font-size: 12px;
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--text-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0077ed;
    text-decoration: none;
    transform: scale(1.02);
}

.hero-image {
    margin-top: 60px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    display: inline-block;
    width: 100%;
    max-width: 900px;
    height: 500px; /* Placeholder height */
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-secondary);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* Background Gradients */
.gradient-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 20% 20%, rgba(0, 113, 227, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(180, 50, 255, 0.1) 0%, transparent 50%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

/* Features Section */
.features {
    padding: var(--section-spacing) 0;
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding: 50px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 12px;
}

@media (prefers-color-scheme: dark) {
    footer {
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-secondary);
}

/* Legal Pages */
.legal-content {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 700px;
}

.legal-content h1 {
    margin-bottom: 40px;
}

.legal-content h3 {
    margin-top: 30px;
    color: var(--text-color);
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 10px;
}

/* Placeholder for app screens */
.app-screen-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
