:root {
    --bg-color: #f5f5f7;
    --text-color: #1d1d1f;
    --accent-color: #0066cc;
    --btn-primary: #0071e3;
    --btn-primary-hover: #0077ed;
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --text-color: #f5f5f7;
        --btn-primary: #ffffff;
        --btn-primary-hover: #e8e8ed;
    }
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    color: #86868b;
    margin-bottom: 30px;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-nav {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--btn-primary);
    color: var(--bg-color);
}
@media (prefers-color-scheme: dark) {
    .btn-primary {
        color: #000;
    }
}

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

.btn-secondary {
    color: var(--accent-color);
    background-color: transparent;
}

.btn-secondary:hover {
    text-decoration: underline;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 150px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 60px;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
}

.product-mockup {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    border-radius: 30px;
    box-shadow: 20px 20px 60px #d0d0d0, -20px -20px 60px #ffffff;
}

@media (prefers-color-scheme: dark) {
    .product-mockup {
        background: linear-gradient(145deg, #111, #222);
        box-shadow: 20px 20px 60px #050505, -20px -20px 60px #1b1b1b;
    }
}

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 100px 5%;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.85rem;
    color: #86868b;
    border-top: 1px solid rgba(134, 134, 139, 0.2);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.fade-up.visible, .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Mobile adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hidden on mobile for basic page */
    }
    
    .features {
        flex-direction: column;
    }
}
