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

:root {
    --orange: #d96a2d;
    --orange-dark: #b85520;
    --orange-light: #f4a261;
    --teal: #0f8093;
    --teal-dark: #0a5f6d;
    --dark: #1a1a2e;
    --dark-soft: #2d2d44;
    --gray-900: #1e1e2f;
    --gray-800: #2a2a3d;
    --gray-700: #3a3a50;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.nav-logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-auth-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 4px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-soft);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217,106,45,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-nav {
    background: var(--orange);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 8px;
}

.btn-nav:hover {
    background: var(--orange-dark);
}

.btn-nav-secondary {
    padding: 8px 20px;
    border-color: rgba(26,26,46,0.18);
    background: rgba(255,255,255,0.86);
}

.nav.scrolled .btn-nav-secondary {
    background: rgba(255,255,255,0.95);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }

/* ===== Hero ===== */
.hero {
    padding: 160px 24px 100px;
    text-align: center;
    background: linear-gradient(165deg, var(--dark) 0%, #1a2744 50%, var(--teal-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(217,106,45,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(15,128,147,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat { text-align: center; }

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-light);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px;
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(217,106,45,0.1), rgba(15,128,147,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--orange);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===== Steps ===== */
.steps {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.step:last-child { border-bottom: none; }

.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

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

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: box-shadow var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border: 2px solid var(--orange);
    box-shadow: var(--shadow);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.pricing-price {
    margin-bottom: 28px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    vertical-align: top;
    line-height: 1;
    margin-top: 8px;
    display: inline-block;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 4px;
}

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

.pricing-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--dark-soft);
    border-bottom: 1px solid var(--gray-100);
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(217,106,45,0.15);
    border: 2px solid var(--orange);
}

.pricing-features li:last-child { border-bottom: none; }

/* ===== CTA ===== */
.section-cta {
    background: linear-gradient(165deg, var(--dark) 0%, var(--teal-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.section-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
}

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

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(10);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 24px; box-shadow: var(--shadow); gap: 16px; }
    .nav-auth-links { flex-direction: column; align-items: stretch; width: 100%; margin-left: 0; }
    .nav-auth-links .btn { width: 100%; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero h1 { font-size: 2.4rem; }
    .hero { padding: 130px 24px 80px; }
    .hero-stats { gap: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-card-featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .section { padding: 64px 0; }
    .section-header h2 { font-size: 1.7rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
