/* Home page - Hero */
.th-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    color: #FFFFFF;
    padding: 4rem 0 5rem;
}
.th-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.th-hero .container {
    position: relative;
    z-index: 1;
}
.th-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}
.th-hero-orb-1 {
    width: 360px;
    height: 360px;
    background: #F97316;
    top: -140px;
    right: -100px;
    animation: th-float 12s ease-in-out infinite;
}
.th-hero-orb-2 {
    width: 320px;
    height: 320px;
    background: #2563EB;
    bottom: -150px;
    left: -110px;
    animation: th-float 14s ease-in-out infinite reverse;
}
.th-hero-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.th-hero h1 {
    color: #FFFFFF;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    margin: 1.2rem 0 1rem;
}
.th-grad {
    background: linear-gradient(90deg, #F97316, #FBBF24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.th-hero-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 34rem;
}

/* Code window */
.th-hero-visual {
    position: relative;
    padding: 2.6rem 0;
}
.th-code {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.th-code-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.06);
}
.th-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.th-code-dot:nth-child(1) { background: #F87171; }
.th-code-dot:nth-child(2) { background: #FBBF24; }
.th-code-dot:nth-child(3) { background: #34D399; }
.th-code-title {
    margin-left: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}
.th-code pre {
    margin: 0;
    padding: 1.2rem 1.2rem 1.4rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #E2E8F0;
    white-space: pre-wrap;
    min-height: 9.5rem;
}
.th-caret {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: #F97316;
    vertical-align: text-bottom;
    animation: th-blink 1s steps(1) infinite;
}

/* Floating chips */
.th-chip {
    position: absolute;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    animation: th-float 7s ease-in-out infinite;
}
.th-chip-1 { top: 0; right: 8%; }
.th-chip-2 { bottom: 0; left: 6%; animation-delay: -2s; }
.th-chip-3 { bottom: 0; right: 8%; animation-delay: -4s; }


/* Sections (common) */
.th-section {
    padding: 5rem 0;
}
.th-section-alt {
    background: var(--th-slate-50);
}
.th-section-head {
    max-width: 40rem;
    margin: 0 auto 3rem;
    text-align: center;
}
.th-eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--th-orange-dark);
}
.th-section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.8rem;
}
.th-section-head p {
    color: #475569;
    margin: 0;
}

/* Cards */
.th-card {
    position: relative;
    height: 100%;
    padding: 1.8rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.th-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1E3A8A, #F97316);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.th-card:hover {
    transform: translateY(-6px);
    border-color: #CBD5E1;
    box-shadow: 0 18px 40px rgba(30, 58, 138, 0.15);
}
.th-card:hover::before {
    transform: scaleX(1);
}
.th-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
}
.th-icon svg {
    width: 28px;
    height: 28px;
}
.th-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}
.th-card p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.th-card-link {
    font-weight: 600;
    color: var(--th-blue);
    text-decoration: none;
}
.th-card-link:hover {
    color: var(--th-orange-dark);
}

/* Scroll reveal (JS class lagata hai, JS na chale to content dikhta rahega) */
.th-reveal {
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.th-reveal.is-hidden {
    opacity: 0;
    transform: translateY(24px);
}
@media (prefers-reduced-motion: reduce) {
    .th-card, .th-card::before, .th-reveal { transition: none; }
    .th-card:hover { transform: none; }
}

@keyframes th-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes th-blink {
    50% { opacity: 0; }
}

@media (max-width: 575.98px) {
    .th-hero { padding: 3rem 0 4rem; }
    .th-chip-2 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .th-hero-orb, .th-chip, .th-caret { animation: none; }
}



/* Card hover fix (reveal ke saath) */
.th-card.th-reveal {
    transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Dark section */
.th-section-dark {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #13224F 100%);
    color: #FFFFFF;
}
.th-section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.th-section-dark .container {
    position: relative;
    z-index: 1;
}
.th-section-dark .th-section-head h2 {
    color: #FFFFFF;
}
.th-section-dark .th-section-head p {
    color: rgba(255, 255, 255, 0.75);
}
.th-section-dark .th-eyebrow {
    color: #FDBA74;
}

/* Glass cards */
.th-card-glass {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.th-card-glass h3 {
    color: #FFFFFF;
}
.th-card-glass p {
    color: rgba(255, 255, 255, 0.75);
}
.th-card-glass:hover {
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.th-card-glass .th-icon {
    background: linear-gradient(135deg, #F97316, #EA580C);
}
.th-card-glass .th-card-link {
    color: #FDBA74;
}
.th-card-glass .th-card-link:hover {
    color: #FFFFFF;
}


/* Trust strip */
.th-stats {
    position: relative;
    z-index: 2;
    margin-top: -3rem;
    margin-bottom: 4rem;
}
.th-stats-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    padding: 1.6rem 1rem;
}
.th-stat {
    text-align: center;
    padding: 0.8rem 1rem;
}
.th-stat-value {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #1E3A8A, #F97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.th-stat-label {
    margin-top: 0.3rem;
    color: #475569;
    font-size: 0.95rem;
}
@media (min-width: 768px) {
    .th-stat + .th-stat {
        border-left: 1px solid #E2E8F0;
    }
}


/* Founder */
.th-section-tint {
    background: #EEF4FF;
}
.th-founder-photo {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}
.th-founder-photo::before {
    content: "";
    position: absolute;
    inset: 18px -10px -18px 18px;
    border-radius: 28px;
    background: linear-gradient(135deg, #1E3A8A, #F97316);
}
.th-founder-photo img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}
.th-founder-badge {
    position: absolute;
    z-index: 2;
    left: -14px;
    bottom: 28px;
    padding: 0.7rem 1.1rem;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
    font-weight: 700;
    line-height: 1.2;
    color: var(--th-navy);
    animation: th-float 7s ease-in-out infinite;
}
.th-founder-badge span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748B;
}
.th-founder-role {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--th-orange-dark);
}
@media (prefers-reduced-motion: reduce) {
    .th-founder-badge { animation: none; }
}


/* Reviews & community card */
.th-cta-card {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
}
.th-cta-card::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: #F97316;
    filter: blur(90px);
    opacity: 0.35;
}
.th-cta-card > * {
    position: relative;
}
.th-cta-card h2 {
    color: #FFFFFF;
}
.th-cta-card p {
    max-width: 36rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}
.th-cta-card .th-eyebrow {
    color: #FDBA74;
}
.th-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}
.th-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    transition: background 0.2s ease, transform 0.2s ease;
}
.th-social a:hover {
    background: var(--th-orange);
    transform: translateY(-3px);
}
.th-social svg {
    width: 22px;
    height: 22px;
}


/* Blog cards */
.th-blog-thumb {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 140px;
    margin: 0 0 1.2rem;
    padding: 0.9rem;
    border-radius: 12px;
    overflow: hidden;
}
.th-blog-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
}
.th-blog-thumb-1 { background: linear-gradient(135deg, #1E3A8A, #2563EB); }
.th-blog-thumb-2 { background: linear-gradient(135deg, #F97316, #EA580C); }
.th-blog-thumb-3 { background: linear-gradient(135deg, #0F172A, #1E3A8A); }
.th-blog-tag {
    position: relative;
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
}


/* Social platform cards */
.th-platform {
    text-align: center;
}
.th-platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.2rem;
    border-radius: 20px;
    color: #FFFFFF;
}
.th-platform-icon svg {
    width: 34px;
    height: 34px;
}
.th-platform-facebook {
    background: linear-gradient(135deg, #1877F2, #0B5BD3);
}
.th-platform-instagram {
    background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF);
}
.th-platform-tiktok {
    background: linear-gradient(135deg, #0F172A, #334155);
}
.th-platform-handle {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748B;
}





