:root {
    --th-orange: #ff6600;
    --th-dark: #1a1a2e;
    --th-green: #35BD6D;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================
   Navbar
============================ */
.navbar-main {
    background: var(--th-dark);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar-main .navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none;
}
.navbar-main .navbar-brand span { color: var(--th-orange); }
.navbar-main .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    transition: color 0.2s;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus { color: var(--th-orange) !important; }
.navbar-main .dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
}
.btn-orange {
    background-color: var(--th-orange);
    border-color: var(--th-orange);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}
.btn-orange:hover {
    background-color: #e55c00;
    border-color: #e55c00;
    color: white;
}
.btn-outline-nav {
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.9);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-outline-nav:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: white;
}

/* ============================
   Hero
============================ */
.hero-section {
    background: linear-gradient(135deg, #07071a 0%, #1a1a2e 55%, #0f3460 100%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,102,0,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,102,0,0.15);
    border: 1px solid rgba(255,102,0,0.35);
    color: #ff9d5c;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero-section h1 .highlight { color: var(--th-orange); }
.hero-section .lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--th-orange);
    display: block;
    line-height: 1;
}
.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 3px;
}

/* ============================
   Page header (inner pages)
============================ */
.page-header {
    background: linear-gradient(135deg, #07071a 0%, #1a1a2e 55%, #0f3460 100%);
    padding: 100px 0 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,102,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.page-header .lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================
   Sections
============================ */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--th-dark);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: #777;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ============================
   Plans
============================ */
.plan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 2.5rem;
}
.toggle-label {
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}
.toggle-label.active { color: var(--th-dark); }
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}
.toggle-switch input { display: none; }
.toggle-switch label {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}
.toggle-switch label::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 4px;
    left: 4px;
    transition: left 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + label { background: var(--th-orange); }
.toggle-switch input:checked + label::after { left: 28px; }

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}
.plan-card.featured {
    border-color: var(--th-orange);
    background: linear-gradient(180deg, #fff9f5 0%, #fff 80%);
}
.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--th-orange);
    color: white;
    padding: 0.2rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.03em;
}
.plan-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}
.plan-price { margin: 1.2rem 0; }
.plan-price .currency {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    vertical-align: top;
    margin-top: 8px;
    display: inline-block;
}
.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--th-dark);
    line-height: 1;
}
.plan-price .period {
    font-size: 0.8rem;
    color: #aaa;
    display: block;
    margin-top: 4px;
}
.plan-price .annual-detail {
    font-size: 0.8rem;
    color: var(--th-green);
    font-weight: 600;
    display: block;
    margin-top: 2px;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}
.plan-features li {
    padding: 0.45rem 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.plan-features li:last-child { border-bottom: none; }
.check-icon { color: var(--th-green); flex-shrink: 0; }

/* ============================
   Features
============================ */
.feature-card {
    padding: 1.8rem;
    border-radius: 14px;
    background: #f8f9fa;
    height: 100%;
    transition: all 0.25s;
}
.feature-card:hover {
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.feature-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--th-orange), #ff8c3a);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: white;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--th-dark);
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================
   Tech logos
============================ */
.tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.8rem;
    opacity: 0.55;
    transition: opacity 0.25s;
    text-align: center;
}
.tech-logo:hover { opacity: 1; }
.tech-logo-icon {
    font-size: 2.4rem;
    margin-bottom: 0.4rem;
}
.tech-logo-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================
   CTA dark section
============================ */
.cta-section {
    background: linear-gradient(135deg, #0d0d20 0%, #1a1a2e 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}
.cta-section p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   Footer
============================ */
.footer {
    background: #0d0d1a;
    color: rgba(255,255,255,0.55);
    padding: 60px 0 30px;
}
.footer-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.footer-brand span { color: var(--th-orange); }
.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.2rem;
}
.footer-heading {
    color: white;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--th-orange); }
.footer hr { border-color: rgba(255,255,255,0.08); margin: 2rem 0 1.5rem; }
.footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ============================
   Responsive
============================ */
@media (max-width: 767px) {
    .hero-section h1 { font-size: 2rem; }
    .hero-section { min-height: auto; padding: 100px 0 60px; }
    .section-title { font-size: 1.8rem; }
    .cta-section h2 { font-size: 1.7rem; }
    .page-header h1 { font-size: 2rem; }
    .hero-stats { gap: 1.2rem; }
    .hero-stat .number { font-size: 1.5rem; }
}
