/* Premium Chapiware CSS */
:root {
    --bg-color: #FDFDFD;
    --bg-alt: #F4F5F7;
    --text-primary: #111111;
    --text-secondary: #6B7280;
    --accent: #000000;
    --accent-hover: #333333;
    
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, sans-serif;
    
    --radius-device: 48px;
    --radius-btn: 99px;
    
    --shadow-device: 0 40px 80px -20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Typography Constraints */
h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.text-center { text-align: center; }
.max-w-sm { max-width: 640px; margin: 0 auto; }

/* Layout Blocks */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 253, 253, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:not(.nav-btn) {
    position: relative;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.nav-btn):hover {
    color: var(--text-primary);
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--text-primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-btn);
    transition: transform 0.2s, background 0.2s;
}

.nav-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Buttons */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-btn);
    transition: transform 0.2s, background 0.2s;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.btn-icon {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--accent-hover);
    box-shadow: 0 10px 20px -10px rgba(0,0,0,0.3);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.hero-note {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Device Mockups (Real Screenshots!) */
.hero-showcase {
    margin-top: 5rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-showcase .device-frame {
    transform: perspective(1000px) rotateX(8deg);
    margin-bottom: -150px;
    box-shadow: 0 -20px 80px rgba(0,0,0,0.1);
}

.hero-showcase .device-frame:hover {
    transform: perspective(1000px) rotateX(8deg) translateY(-10px) scale(1.02);
    box-shadow: 0 -20px 100px rgba(0,0,0,0.15);
}

.device-frame {
    width: 320px;
    height: 693px;
    border-radius: var(--radius-device);
    border: 12px solid #111;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-device);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
}

.device-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Feature Sections (Zig-Zag) */
.feature-section {
    padding: 8rem 0;
}

.showcase-alt {
    background-color: var(--bg-alt);
}

.dual-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
}

.dual-col.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-list {
    margin-top: 2rem;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-list li:hover::before {
    transform: scale(1.3) rotate(5deg);
}

.feature-list li {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-list li:hover {
    transform: translateX(5px);
    color: var(--text-primary);
}

/* Privacy */
.privacy-section {
    padding: 10rem 0;
    background: #111;
    color: #fff;
    text-align: center;
}

.privacy-section .privacy-title {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em;
}

.privacy-section .privacy-subtitle {
    color: #A1A1AA;
    font-size: 1.25rem;
    margin-top: 2rem;
}

/* CTA Footer Section */
.cta-section {
    padding: 8rem 0;
}

.cta-heading {
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Responsive constraints */
@media (max-width: 900px) {
    .dual-col, .dual-col.reverse {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 8rem;
    }
}
