*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0f172a; color: #e2e8f0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow-x: hidden; }
a { color: #38bdf8; }

/* Navbar */
.site-nav { position: sticky; top: 0; z-index: 1000; background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #1e293b; }
.site-nav-inner { max-width: 960px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-brand { display: flex; align-items: center; gap: 10px; color: #ffffff; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.site-brand-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #2563eb 0%, #a855f7 100%); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; color: #fff; }
.site-nav-links { display: flex; gap: 4px; }
.site-nav-links a { color: #cbd5e1; text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.site-nav-links a:hover { background: #1e293b; color: #ffffff; }
.site-nav-links a.active { background: #1e293b; color: #ffffff; box-shadow: inset 0 -2px 0 #a855f7; }
.site-nav-links a:focus-visible, .site-brand:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; }
@media (max-width: 600px) {
  .site-nav-inner { flex-wrap: wrap; padding: 10px 16px; gap: 6px; }
  .site-nav-links { width: 100%; justify-content: space-between; }
  .site-nav-links a { font-size: 0.82rem; padding: 7px 8px; }
}

/* Landing */
.teledrive-bridge-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; background-color: #0f172a; }
.teledrive-container { max-width: 650px; width: 100%; margin: 0 auto; padding: 20px; box-sizing: border-box; text-align: center; }
.teledrive-h1 { font-size: 2.2rem; font-weight: 800; color: #ffffff; margin: 20px 0 12px 0; line-height: 1.2; }
.teledrive-subtitle { font-size: 1.1rem; color: #94a3b8; margin-bottom: 30px; line-height: 1.5; }
.teledrive-section-title { font-size: 1.4rem; font-weight: 700; color: #ffffff; margin: 40px 0 20px 0; text-align: left; border-left: 3px solid #a855f7; padding-left: 10px; }
.teledrive-bonus-card { background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%); border: 2px solid #a855f7; border-radius: 16px; padding: 35px 25px; margin-bottom: 35px; box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.3); }
.teledrive-bonus-badge { background-color: #a855f7; color: white; font-size: 0.85rem; font-weight: 700; padding: 6px 14px; border-radius: 99px; display: inline-block; margin-bottom: 15px; }
.teledrive-bonus-title { font-size: 1.7rem; font-weight: 700; color: #ffffff; margin: 0 0 12px 0; }
.teledrive-bonus-desc { color: #cbd5e1; font-size: 1rem; line-height: 1.5; margin: 0 0 25px 0; }
.teledrive-cta-button { display: inline-block; background-color: #2563eb; color: #ffffff; font-size: 1.2rem; font-weight: 700; text-decoration: none; padding: 18px 36px; border-radius: 10px; width: 100%; box-sizing: border-box; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4); text-align: center; }
.teledrive-cta-button:hover { background-color: #1d4ed8; }
.teledrive-pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; margin-bottom: 35px; }
.teledrive-price-card { background-color: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 20px; text-align: left; position: relative; }
.teledrive-price-card.featured { border-color: #a855f7; background-color: #1e1b4b; }
.teledrive-card-badge { position: absolute; top: -10px; right: 15px; background-color: #a855f7; color: white; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.teledrive-price-card h4 { margin: 0 0 10px 0; color: #ffffff; font-size: 1rem; }
.teledrive-price-value { font-size: 1.6rem; font-weight: 800; color: #38bdf8; margin-bottom: 10px; }
.teledrive-price-value span { font-size: 0.8rem; color: #64748b; font-weight: 400; }
.teledrive-price-card p { margin: 0; font-size: 0.8rem; color: #94a3b8; line-height: 1.4; }
.teledrive-calculator-box { background-color: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 25px; margin-bottom: 35px; text-align: left; }
.teledrive-calculator-box h4 { margin: 0 0 5px 0; color: #ffffff; }
.teledrive-calculator-box p { margin: 0 0 15px 0; color: #94a3b8; font-size: 0.9rem; }
#teledrive-calc-range { width: 100%; margin-bottom: 15px; accent-color: #a855f7; }
.teledrive-calc-result { display: flex; justify-content: space-between; color: #ffffff; font-size: 0.95rem; }
.teledrive-calc-result strong { color: #38bdf8; }
.teledrive-features-list { text-align: left; background-color: #1e293b; border-radius: 12px; padding: 25px; border: 1px solid #334155; }
.teledrive-feature-item { display: flex; align-items: flex-start; margin-bottom: 15px; }
.teledrive-feature-item:last-child { margin-bottom: 0; }
.teledrive-feature-icon { color: #38bdf8; font-size: 1.2rem; margin-right: 12px; }
.teledrive-feature-text { font-size: 0.95rem; color: #e2e8f0; line-height: 1.4; }
.teledrive-testimonials { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.teledrive-testi-item { background-color: #1e293b; padding: 15px 20px; border-radius: 10px; border: 1px solid #334155; font-style: italic; font-size: 0.9rem; color: #cbd5e1; }
.teledrive-testi-item p { margin: 0; line-height: 1.5; }
.teledrive-testi-item em { color: #a855f7; font-style: normal; }
.teledrive-faq-section { text-align: left; }
.teledrive-faq-item { background-color: #1e293b; border: 1px solid #334155; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.teledrive-faq-question { padding: 15px 44px 15px 20px; color: #ffffff; font-weight: 600; font-size: 0.95rem; cursor: pointer; position: relative; user-select: none; }
.teledrive-faq-question::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.teledrive-faq-question.active::after { content: '−'; }
.teledrive-faq-answer { max-height: 0; overflow: hidden; padding: 0 20px; color: #94a3b8; font-size: 0.85rem; line-height: 1.5; transition: max-height 0.2s ease-out; }
.teledrive-faq-answer p { margin: 0 0 15px 0; }
.teledrive-faq-question:focus-visible, .teledrive-cta-button:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.teledrive-more-link { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; }
.teledrive-more-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; background: transparent; color: #e2e8f0; border: 1px solid #475569; border-radius: 10px; padding: 12px 28px; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; }
.teledrive-more-toggle::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
.teledrive-more-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.teledrive-more-toggle:hover { border-color: #a855f7; color: #ffffff; }
.teledrive-more-toggle:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.teledrive-more { margin-top: 30px; }
@media (max-width: 600px) {
  .teledrive-pricing-grid { grid-template-columns: 1fr; }
  .teledrive-h1 { font-size: 1.75rem; }
  .teledrive-container { padding: 24px 16px; }
  .teledrive-calc-result { flex-direction: column; gap: 8px; }
  .teledrive-cta-button { font-size: 1rem; padding: 16px; }
}

/* Blog list */
.page { max-width: 960px; margin: 0 auto; padding: 32px 16px 0; }
.page-head { text-align: left; margin-bottom: 28px; }
.page-head h1 { font-size: 2.1rem; font-weight: 800; color: #ffffff; margin: 0 0 10px 0; line-height: 1.2; }
.page-head p { color: #94a3b8; font-size: 1.05rem; line-height: 1.5; margin: 0; max-width: 640px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-grid.compact { grid-template-columns: 1fr; gap: 12px; }
.post-card { display: flex; flex-direction: column; background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 22px; text-decoration: none; text-align: left; transition: border-color 0.15s, transform 0.15s; }
.post-card:hover { border-color: #a855f7; transform: translateY(-2px); }
.post-card:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.post-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; color: #c084fc; background: rgba(168, 85, 247, 0.14); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.post-card h2, .post-card h3 { color: #ffffff; font-size: 1.12rem; line-height: 1.35; margin: 0 0 10px 0; }
.post-card p { color: #94a3b8; font-size: 0.9rem; line-height: 1.5; margin: 0 0 16px 0; flex: 1; }
.post-meta { color: #64748b; font-size: 0.8rem; }

/* Article / legal */
.article { max-width: 720px; margin: 0 auto; padding: 32px 16px 0; text-align: left; }
.breadcrumbs { font-size: 0.82rem; color: #64748b; margin-bottom: 18px; }
.breadcrumbs a { color: #94a3b8; text-decoration: none; }
.breadcrumbs a:hover { color: #ffffff; }
.article h1 { font-size: 2.1rem; font-weight: 800; color: #ffffff; line-height: 1.2; margin: 0 0 14px 0; }
.article .post-meta { margin-bottom: 28px; display: block; }
.article-body { color: #cbd5e1; font-size: 1.02rem; line-height: 1.75; }
.article-body h2 { color: #ffffff; font-size: 1.4rem; line-height: 1.3; margin: 40px 0 14px 0; border-left: 3px solid #a855f7; padding-left: 10px; }
.article-body h3 { color: #ffffff; font-size: 1.12rem; margin: 26px 0 10px 0; }
.article-body p { margin: 0 0 16px 0; }
.article-body ul, .article-body ol { margin: 0 0 18px 0; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: #a855f7; }
.article-body strong { color: #ffffff; }
.article-body code { background: #1e293b; border: 1px solid #334155; border-radius: 5px; padding: 1px 6px; font-size: 0.9em; color: #e2e8f0; }
.article-lead { font-size: 1.12rem; color: #e2e8f0; }
.table-wrap { overflow-x: auto; margin: 0 0 20px 0; border: 1px solid #334155; border-radius: 10px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.article-body th, .article-body td { padding: 10px 14px; border-bottom: 1px solid #334155; text-align: left; vertical-align: top; }
.article-body th { background: #1e293b; color: #ffffff; font-weight: 700; }
.article-body tr:last-child td { border-bottom: none; }
.article-body td:first-child { color: #94a3b8; font-weight: 600; }
.article-cta { margin: 40px 0 0 0; background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%); border: 2px solid #a855f7; border-radius: 16px; padding: 28px 24px; text-align: center; }
.article-cta h2 { color: #ffffff; font-size: 1.35rem; margin: 0 0 10px 0; border: none; padding: 0; }
.article-cta p { color: #cbd5e1; margin: 0 0 20px 0; line-height: 1.5; }
.related { margin-top: 48px; }
.related h2 { color: #ffffff; font-size: 1.2rem; margin: 0 0 14px 0; }
.legal-updated { color: #64748b; font-size: 0.85rem; margin: 0 0 28px 0; }
@media (max-width: 600px) {
  .page-head h1, .article h1 { font-size: 1.65rem; }
  .article-body { font-size: 0.98rem; }
  .article-body h2 { font-size: 1.22rem; }
}

/* 404 */
.notfound { max-width: 560px; margin: 0 auto; padding: 80px 16px 0; text-align: center; }
.notfound h1 { font-size: 4rem; margin: 0; color: #a855f7; }
.notfound p { color: #94a3b8; margin: 10px 0 28px; }
.notfound .teledrive-cta-button { width: auto; }

/* Footer */
.site-footer { max-width: 960px; margin: 60px auto 0; padding: 30px 16px 40px; font-size: 0.75rem; color: #64748b; border-top: 1px solid #1e293b; text-align: center; }
.site-footer p { margin: 0 0 10px 0; line-height: 1.5; }
.site-footer a { color: #94a3b8; text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: #ffffff; }
.teledrive-disclaimer { margin-top: 12px; font-style: italic; }
