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

:root {
    --bg: #FAF6F1;
    --bg-alt: #F3EDE5;
    --card: #FFFFFF;
    --accent: #8B6F47;
    --accent-light: #A8896A;
    --gold: #C4993B;
    --gold-light: #D4AF5C;
    --text: #2C2C2C;
    --text-secondary: #6B6358;
    --text-muted: #9B9189;
    --border: #E8E0D6;
    --shadow: rgba(139, 111, 71, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px var(--shadow);
}

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

.navbar-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: var(--accent);
}

.navbar-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.navbar-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
    padding: 140px 24px 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 111, 71, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(139, 111, 71, 0.04);
}

.hero-image {
    flex: 0 0 320px;
}

.phone-frame {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    background: #000;
    padding: 8px;
}

.phone-frame img {
    border-radius: 28px;
    display: block;
    width: 100%;
}

/* ===== Section Common ===== */
.section {
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Features ===== */
.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

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

.feature-text {
    flex: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.feature-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-image {
    flex: 0 0 280px;
}

.feature-image .phone-frame {
    max-width: 280px;
}

/* ===== Pricing ===== */
.pricing-bg {
    background: var(--bg-alt);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 780px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 2px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--accent);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 0.03em;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

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

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.pricing-features li.disabled::before {
    background: var(--border);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B9189' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-btn:hover {
    border-color: var(--accent);
    background: rgba(139, 111, 71, 0.04);
}

.pricing-card.featured .pricing-btn {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pricing-card.featured .pricing-btn:hover {
    background: var(--accent-light);
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Legal Pages ===== */
.legal {
    padding: 120px 24px 80px;
    max-width: 780px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.legal .last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--accent);
}

.legal p, .legal ul {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal ul {
    padding-left: 24px;
}

.legal li {
    margin-bottom: 8px;
}

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

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

/* ===== Mobile Nav ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250, 246, 241, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    z-index: 99;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 110px;
        gap: 40px;
    }

    .hero p {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        flex: none;
        max-width: 260px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .feature-image {
        flex: none;
        max-width: 240px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 640px) {
    .navbar-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .feature-text h3 {
        font-size: 1.3rem;
    }

    .section {
        padding: 60px 20px;
    }
}
