/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #E8673C;
    --color-primary-dark: #D15A32;
    --color-primary-light: #FDEEE8;
    --color-bg: #F5F5F7;
    --color-bg-white: #FFFFFF;
    --color-text: #1D1D1F;
    --color-text-secondary: #6E6E73;
    --color-border: #E5E5EA;
    --color-blue: #007AFF;
    --color-green: #34C759;
    --color-red: #FF3B30;
    --color-purple: #AF52DE;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

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

.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: var(--color-bg-white);
}

.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

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

.nav-actions { display: flex; align-items: center; gap: 12px; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-bg-white);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.hero-phone {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232,103,60,0.08) 0%, rgba(232,103,60,0.02) 50%, transparent 100%);
    border-radius: 0 0 0 200px;
    z-index: -1;
}

/* Phone Frame */
.phone-frame {
    position: relative;
    width: 280px;
    border: 6px solid #1D1D1F;
    border-radius: 44px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.phone-frame img {
    width: 100%;
    display: block;
}

.phone-notch {
    display: none;
}

.phone-frame-sm {
    width: 220px;
}

/* ===== Platforms ===== */
.platforms {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.platforms-title {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.platforms-list {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.feature-card-large {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding-bottom: 0;
}

.feature-card-large .feature-card-content {
    padding-bottom: 20px;
}

.feature-card-large h3 { font-size: 22px; }

.feature-card-phone {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.feature-card-phone .phone-frame-sm {
    width: 180px;
    transform: translateY(20px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon-orange { background: #FFF0E8; color: var(--color-primary); }
.feature-icon-blue { background: #E8F4FF; color: var(--color-blue); }
.feature-icon-green { background: #E8F9ED; color: var(--color-green); }
.feature-icon-red { background: #FFE8E7; color: var(--color-red); }
.feature-icon-purple { background: #F3E8FF; color: var(--color-purple); }

/* ===== How It Works ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--color-bg-white);
}

.tools-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.tool-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tool-item-reverse {
    direction: rtl;
}

.tool-item-reverse > * {
    direction: ltr;
}

.tool-phone {
    display: flex;
    justify-content: center;
}

.tool-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary-light);
    letter-spacing: -2px;
    margin-bottom: 12px;
    line-height: 1;
}

.tool-content h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.tool-content p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 420px;
}

/* ===== iPad Showcase ===== */
.ipad-showcase {
    padding: 100px 0;
    background: var(--color-bg);
}

.ipad-frame-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ipad-frame {
    position: relative;
    width: 100%;
    max-width: 900px;
    border: 6px solid #1D1D1F;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.ipad-camera {
    display: none;
}

.ipad-screen {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--color-bg);
    aspect-ratio: 4 / 3;
}

.ipad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ipad-slide.active {
    opacity: 1;
}

.ipad-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ipad-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-bg-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ipad-tab:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.ipad-tab.active {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

/* ===== Highlights ===== */
.highlights {
    padding: 100px 0;
    background: var(--color-bg-white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.highlight-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border: 2px solid var(--color-text);
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -2px;
}

.period {
    font-size: 15px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.pricing-features li svg {
    color: var(--color-green);
    flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--color-bg-white);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-text-secondary);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: var(--color-text);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
}

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

.cta .btn-primary:hover {
    background: #f0f0f0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-description { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-phone { order: -1; }

    .phone-frame { width: 240px; }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card-large {
        grid-column: 1 / -1;
        grid-row: auto;
        flex-direction: row;
        align-items: center;
        padding-bottom: 32px;
    }

    .feature-card-phone .phone-frame-sm {
        transform: none;
    }

    .tool-item {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .tool-item-reverse { direction: ltr; }
    .tool-content p { margin: 0 auto; }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card-featured {
        transform: none;
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
    }

    .hero { padding: 100px 0 60px; }

    .hero h1 { font-size: 36px; letter-spacing: -1px; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        flex-direction: column;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .ipad-frame { border-radius: 14px; border-width: 4px; }
    .ipad-screen { border-radius: 8px; }

    .ipad-tabs { gap: 6px; }
    .ipad-tab { padding: 8px 14px; font-size: 12px; }
    .ipad-tab svg { display: none; }

    .hero-stats { gap: 24px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero h1 { font-size: 30px; }

    .phone-frame { width: 200px; }
    .phone-frame-sm { width: 180px; }

    .hero-buttons { flex-direction: column; align-items: center; }

    .platforms-list { gap: 24px; }

    .section-header h2 { font-size: 28px; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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