/* ATP Site — Design System */
:root {
    --primary: #6C63FF;
    --primary-dark: #3F3D9E;
    --primary-light: #A5A0FF;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #FF6B6B;
    --bg: #ffffff;
    --bg-alt: #f8f9fc;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-nav { padding: 10px 24px; font-size: 14px; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nav-brand { display: flex; align-items: center; gap: 8px; }
.nav-logo { font-size: 28px; }
.nav-name { font-size: 24px; font-weight: 800; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-light); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: all 0.3s; }

/* Hero */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f8f7ff 0%, #ffffff 100%);
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-block; padding: 8px 16px; border-radius: 20px;
    background: #f0eeff; color: var(--primary); font-size: 13px; font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 { font-size: 44px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.highlight { color: var(--primary); }
.hero-sub { font-size: 17px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat strong { display: block; font-size: 28px; color: var(--primary); }
.hero-stat span { font-size: 13px; color: var(--text-light); }

/* Phone Mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
    width: 280px; height: 560px;
    background: #1a1a2e; border-radius: 36px;
    padding: 12px; box-shadow: 0 20px 60px rgba(108,99,255,0.2);
    position: relative;
}
.phone-mockup::before {
    content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 24px; background: #1a1a2e; border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-screen {
    background: #f5f6fa; border-radius: 26px; height: 100%;
    padding: 40px 16px 16px; overflow: hidden;
}
.mock-header {
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(135deg, #6C63FF, #8B83FF);
    color: white; padding: 14px; border-radius: 12px; margin-bottom: 12px;
    font-size: 13px; font-weight: 600;
}
.mock-alert {
    background: white; padding: 10px; border-radius: 8px;
    border-left: 3px solid var(--danger); font-size: 12px;
    margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.mock-progress { display: flex; gap: 8px; margin-bottom: 12px; }
.mock-ring {
    flex: 1; background: white; border-radius: 8px; padding: 14px 8px;
    text-align: center; font-size: 16px; font-weight: 700;
    color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.mock-calendar { background: white; border-radius: 8px; padding: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.mock-cal-item { font-size: 11px; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.mock-cal-item:last-child { border-bottom: none; }

/* Problem Section */
.problem-section { padding: 80px 0; background: var(--bg-alt); }
.section-title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 16px; }
.section-sub { text-align: center; color: var(--text-light); font-size: 16px; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.problems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.problem-card {
    background: white; padding: 28px; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05); text-align: center;
}
.problem-icon { font-size: 40px; margin-bottom: 16px; }
.problem-card h3 { font-size: 16px; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Features */
.features-section { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    padding: 28px; border-radius: 16px;
    border: 1px solid var(--border); transition: all 0.3s;
}
.feature-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(108,99,255,0.1); transform: translateY(-4px); }
.feature-icon { font-size: 36px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Personas Section */
.personas-section { padding: 80px 0; background: var(--bg-alt); }
.persona-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.persona-tab {
    padding: 12px 24px; border-radius: 30px; border: 2px solid var(--border);
    background: white; cursor: pointer; font-size: 14px; font-weight: 600;
    transition: all 0.2s;
}
.persona-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
.persona-tab:hover { border-color: var(--primary); }
.persona-content { max-width: 700px; margin: 0 auto; }
.persona-content.hidden { display: none; }
.persona-info {
    background: white; padding: 36px; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.persona-info h3 { font-size: 20px; font-style: italic; color: var(--primary-dark); margin-bottom: 20px; }
.persona-info ul { list-style: none; }
.persona-info li {
    padding: 10px 0; border-bottom: 1px solid #f0f0f0;
    font-size: 15px; padding-left: 28px; position: relative;
}
.persona-info li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.persona-info li:last-child { border-bottom: none; }

/* Differentials */
.diff-section { padding: 80px 0; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.diff-card {
    background: white; padding: 28px; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.diff-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.diff-icon { font-size: 32px; }
.diff-card h3 { font-size: 18px; }
.diff-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.diff-compare { display: flex; flex-direction: column; gap: 6px; }
.diff-old { font-size: 13px; color: var(--danger); text-decoration: line-through; }
.diff-new { font-size: 13px; color: var(--success); font-weight: 600; }

/* Testimonials */
.testimonials-section { padding: 80px 0; background: var(--bg-alt); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
    background: white; padding: 28px; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.testimonial-text { font-size: 15px; line-height: 1.7; font-style: italic; margin-bottom: 20px; color: var(--text); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 12px; color: var(--text-light); }

/* CTA */
.cta-section {
    padding: 80px 0; text-align: center;
    background: linear-gradient(135deg, #6C63FF, #3F3D9E); color: white;
}
.cta-container { max-width: 600px; }
.cta-section h2 { font-size: 32px; margin-bottom: 12px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
.cta-features { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; font-size: 14px; opacity: 0.85; }
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form input {
    padding: 14px 20px; border-radius: 8px; border: none;
    font-size: 15px; background: rgba(255,255,255,0.15);
    color: white; outline: none;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-form input:focus { background: rgba(255,255,255,0.25); }
.cta-form .btn { margin-top: 8px; background: white; color: var(--primary); font-size: 16px; }
.cta-form .btn:hover { background: #f0eeff; }

/* Footer */
.footer { padding: 60px 0 0; background: #1a1a2e; color: rgba(255,255,255,0.7); }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-size: 24px; font-weight: 800; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-links h4 { color: white; font-size: 14px; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { font-size: 13px; text-align: center; }

/* Responsive */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: white; flex-direction: column; padding: 24px;
        border-bottom: 1px solid var(--border); gap: 16px;
    }
    .nav-links.open { display: flex; }
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero h1 { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .hero-visual { order: -1; }
    .phone-mockup { width: 240px; height: 480px; }
    .problems-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .diff-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .cta-features { flex-direction: column; gap: 8px; }
    .persona-tabs { gap: 8px; }
    .persona-tab { padding: 8px 16px; font-size: 12px; }
}
