/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}
a { color: #1a3a2a; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* === Layout === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.bg-light { background: #f8f9f6; }

/* === Nav === */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    transition: box-shadow 0.2s;
}
.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3a2a;
    text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.logo-bc {
    background: #1a3a2a;
    color: #f5a623;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-right: 4px;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: #1a3a2a; text-decoration: none; }
.nav-links a.active {
    color: #f5a623;
    font-weight: 600;
    border-bottom-color: #f5a623;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a3a2a;
    margin: 5px 0;
    transition: transform 0.2s;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-accent { background: #f5a623; color: #1a1a1a; }
.btn-accent:hover { background: #e0951a; }
.btn-secondary { background: #1a3a2a; color: #ffffff; }
.btn-secondary:hover { background: #0d1f16; }
.btn-outline { background: transparent; color: #1a3a2a; border: 2px solid #1a3a2a; }
.btn-outline:hover { background: #1a3a2a; color: #fff; }
.btn-outline-light { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-disabled, .btn:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
    transform: none;
}
.btn-disabled:hover, .btn:disabled:hover { background: #ccc; transform: none; }

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #0d1f16 0%, #1a3a2a 100%);
    color: #ffffff;
    padding: 5rem 0;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-placeholder {
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
}
.hero-placeholder span { font-size: 1.5rem; font-weight: 700; }
.hero-placeholder small { margin-top: 0.5rem; }

/* Coming Soon Banner */
.coming-soon-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    max-width: 420px;
}
.coming-soon-badge {
    background: #f5a623;
    color: #1a1a1a;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    white-space: nowrap;
}
.coming-soon-price {
    color: #f5a623 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* === Section Titles === */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1a3a2a;
}

/* === Grids === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* === Cards === */
.card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1a3a2a;
}

/* Problem/Solution Cards */
.problem-card {
    border-top: 3px solid #f5a623;
}
.solution-check {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    color: #1a3a2a;
    font-weight: 600;
    font-size: 0.9rem;
}

/* === Feature Cards === */
.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { color: #1a3a2a; margin-bottom: 0.5rem; }

/* === Testimonials === */
.testimonial-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 3px solid #1a3a2a;
}
.testimonial-text {
    font-style: italic;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: #1a3a2a;
    color: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.testimonial-author strong { display: block; color: #1a3a2a; }
.testimonial-author span { font-size: 0.85rem; color: #888; }

/* === Feature Detail === */
.feature-group { margin-bottom: 4rem; }
.feature-group h2 {
    font-size: 1.5rem;
    color: #1a3a2a;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f5a623;
}
.feature-detail {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.2s;
}
.feature-detail:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.feature-detail h3 { color: #1a3a2a; margin-bottom: 0.5rem; }

/* === Plan Cards === */
.plan-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    transition: transform 0.2s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured {
    border: 2px solid #f5a623;
    position: relative;
}
.plan-card h3 { color: #1a3a2a; font-size: 1.25rem; margin-bottom: 0.5rem; }
.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a3a2a;
    margin-bottom: 1rem;
}
.plan-price span { font-size: 1rem; font-weight: 400; color: #888; }

/* === Pricing Page === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.pricing-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.pricing-card.featured { border: 2px solid #f5a623; }
.pricing-card h3 { color: #1a3a2a; margin-bottom: 0.5rem; }
.pricing-card .price {
    font-size: 2rem;
    font-weight: 800;
    color: #1a3a2a;
    margin-bottom: 0.25rem;
}
.pricing-card .price span { font-size: 0.85rem; font-weight: 400; color: #888; }
.pricing-card .price-note { color: #888; font-size: 0.85rem; margin-bottom: 1rem; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.pricing-card ul li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}
.pricing-card ul li::before { content: "\2713 "; color: #1a3a2a; font-weight: 700; margin-right: 0.25rem; }
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f5a623;
    color: #1a1a1a;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* === Feature Comparison Table === */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}
.comparison-table th {
    background: #1a3a2a;
    color: #fff;
    font-weight: 600;
}
.comparison-table th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}
.comparison-table th:last-child { border-radius: 0 8px 0 0; }
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #333;
}
.comparison-table tbody tr:hover { background: #f8f9f6; }
.comparison-table .highlight-col {
    background: rgba(245, 166, 35, 0.08);
}
.comparison-table th.highlight-col {
    background: #f5a623;
    color: #1a1a1a;
}

/* === Billing Toggle === */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.toggle-label { font-size: 0.95rem; color: #888; }
.toggle-label.active { color: #1a3a2a; font-weight: 600; }
.toggle-switch {
    width: 52px;
    height: 28px;
    background: #ddd;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.toggle-switch.active { background: #1a3a2a; }
.toggle-knob {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: left 0.2s;
}
.toggle-switch.active .toggle-knob { left: 27px; }
.save-badge {
    background: #e8f5e9;
    color: #1a3a2a;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, #1a3a2a 0%, #0d1f16 100%);
    color: #ffffff;
    text-align: center;
    padding: 4rem 1.5rem;
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, #0d1f16 0%, #1a3a2a 100%);
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* === Forms === */
.form {
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #333;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a3a2a;
    box-shadow: 0 0 0 3px rgba(26, 58, 42, 0.1);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* === Contact Layout === */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}
.contact-info h2 {
    color: #1a3a2a;
    margin-bottom: 1rem;
}
.contact-info > p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.contact-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.contact-item strong {
    display: block;
    color: #1a3a2a;
    margin-bottom: 0.15rem;
}
.contact-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* === Download === */
.download-box {
    background: #ffffff;
    border: 2px solid #1a3a2a;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}
.download-box h2 { color: #1a3a2a; margin-bottom: 0.25rem; }
.version-date { color: #888; margin-bottom: 2rem; }
.system-req {
    text-align: left;
    background: #f8f9f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.system-req h3 { font-size: 1rem; margin-bottom: 0.75rem; color: #1a3a2a; }
.system-req ul { margin-left: 1.25rem; }
.system-req li { margin-bottom: 0.35rem; color: #555; }
.install-steps { margin-top: 2rem; }
.install-steps h2 { color: #1a3a2a; margin-bottom: 1rem; margin-top: 2rem; }
.install-steps ol { margin-left: 1.25rem; }
.install-steps li { margin-bottom: 0.5rem; color: #555; }

/* === Confirm Pages === */
.confirm-icon { font-size: 4rem; margin-bottom: 1rem; }

/* === Footer === */
.footer {
    background: #0d1f16;
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 2rem;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.footer-brand { text-align: center; }
.footer-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}
.footer-tagline {
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.4rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-legal { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-operator {
    margin-top: 0.5rem;
}
.footer-operator a {
    font-size: 0.75rem;
    color: #666;
    text-decoration: none;
}
.footer-operator a:hover {
    text-decoration: underline;
    color: #888;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #e8e8e8;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.5rem 0; }
    .hero .container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-image { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-inner { text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .page-header h1 { font-size: 1.75rem; }
    .section { padding: 3rem 0; }
    .coming-soon-banner { max-width: 100%; }
}
