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

:root {
    --primary: #0f3460;
    --accent: #16c79a;
    --text: #1a1a2e;
    --muted: #6b7280;
    --bg: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;
    --radius: 8px;
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; }

/* NAV */
.site-nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 64px; position: sticky; top: 0; z-index: 100; }
.site-nav .logo { font-size: 20px; font-weight: 700; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.site-nav .logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* BUTTONS */
.btn { display: inline-block; padding: 10px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all 0.15s; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #1a4a80; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #13a882; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* HERO */
.hero { padding: 100px 5% 80px; text-align: center; background: linear-gradient(135deg, #f0f4ff 0%, #e8f5f0 100%); }
.hero h1 { font-size: 52px; font-weight: 800; color: var(--primary); line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 20px; color: var(--muted); max-width: 600px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badge { display: inline-block; background: rgba(22,199,154,0.15); color: #0a8a6a; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }

/* CAD LOGOS */
.cad-logos { padding: 40px 5%; background: var(--white); border-bottom: 1px solid var(--border); }
.cad-logos p { text-align: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.logo-strip { display: flex; justify-content: center; gap: 40px; align-items: center; flex-wrap: wrap; }
.logo-strip .cad-name { font-size: 18px; font-weight: 700; color: var(--primary); opacity: 0.6; }

/* FEATURES */
.features { padding: 80px 5%; background: var(--bg); }
.section-title { text-align: center; font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 500px; margin: 0 auto 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.feature-card { background: var(--white); padding: 32px; border-radius: 12px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* HOW IT WORKS */
.how-it-works { padding: 80px 5%; background: var(--white); }
.steps { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.step { text-align: center; max-width: 220px; }
.step-num { width: 48px; height: 48px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 16px; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.step p { font-size: 14px; color: var(--muted); }

/* PRICING */
.pricing-section { padding: 80px 5%; background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: var(--white); border-radius: 12px; padding: 36px 28px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); border: 2px solid transparent; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: var(--accent); }
.pricing-card .plan-name { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pricing-card .plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.pricing-card .plan-price { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pricing-card .plan-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.pricing-card .plan-period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-card ul li { font-size: 14px; color: #374151; padding: 6px 0; border-bottom: 1px solid var(--border); }
.pricing-card ul li::before { content: "✓  "; color: var(--accent); font-weight: 700; }
.pricing-card .btn { width: 100%; text-align: center; }
.featured-badge { display: inline-block; background: var(--accent); color: white; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 10px; margin-bottom: 8px; }

/* CTA SECTION */
.cta-section { padding: 80px 5%; background: var(--primary); text-align: center; }
.cta-section h2 { font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.site-footer { background: #111827; color: rgba(255,255,255,0.6); padding: 40px 5%; text-align: center; font-size: 13px; }
.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* CONTACT PAGE */
.contact-page { padding: 80px 5%; min-height: 70vh; }
.contact-page h1 { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.contact-page .lead { font-size: 18px; color: var(--muted); margin-bottom: 48px; max-width: 500px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 36px; }
.contact-form h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,52,96,0.1); }
.form-group textarea { min-height: 100px; resize: vertical; }
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.contact-info p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail .icon { font-size: 20px; }
.contact-detail strong { display: block; font-size: 14px; color: var(--primary); }
.contact-detail span { font-size: 13px; color: var(--muted); }
.alert-success { background: #d1fae5; color: #065f46; padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 16px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .contact-layout { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
