:root {
    --primary-color: #007AFF;
    --primary-hover: #0056b3;
    --bg-color: #ffffff;
    --text-main: #1d1d1f;
    --text-secondary: #86868b;
    --bg-secondary: #f5f5f7;
    --border-color: #d2d2d7;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --max-width: 1200px;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --text-main: #f5f5f7;
        --text-secondary: #a1a1a6;
        --bg-secondary: #1d1d1f;
        --border-color: #424245;
    }
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    border: none;
    border-radius: 980px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(var(--bg-color), 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

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

/* Hero Section */
.hero {
    padding: 160px 24px 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge {
    background-color: var(--bg-secondary);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-visual {
    margin-top: 60px;
    width: 100%;
    max-width: 400px;
}

.mockup-container {
    background-color: var(--bg-secondary);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-video {
    width: 100%;
    border-radius: 32px;
    display: block;
}

/* Features */
.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 120px;
}

.feature-row.reverse {
    flex-direction: column;
}

@media (min-width: 768px) {
    .feature-row {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .feature-row.reverse {
        flex-direction: row-reverse;
    }

    .feature-text, .feature-img-container {
        flex: 1;
    }
}

.feature-text {
    padding: 20px;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.feature-text ul {
    list-style: none;
    margin-bottom: 16px;
}

.feature-text li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
}

.feature-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.highlight {
    font-weight: 500;
    color: var(--text-main) !important;
}

.privacy-box {
    background-color: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-top: 24px;
    border: 1px solid var(--border-color);
}

.privacy-box strong {
    display: block;
    margin-bottom: 8px;
    color: #34C759; /* iOS green */
}

.feature-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img {
    max-width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-height: 600px;
}

.text-feature {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 40px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-demo {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.typing-text {
    border-right: 2px solid var(--primary-color);
    padding-right: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.widget-demo {
    width: 100%;
    max-width: 320px;
}

.widget {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.widget p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Final CTA */
.final-cta {
    background-color: var(--bg-secondary);
    padding: 100px 24px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.pricing-card {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 24px;
    margin: 40px auto;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.pricing-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.manifesto {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

/* Footer */
footer {
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.footer-logo img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-main);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
