/* ==========================================================================
   TOP1SUB LANDING PAGE - 100% DOITUONGTAC.COM ARCHITECTURAL DESIGN SYSTEM
   Dark default (#09090b) & Light toggle (#ffffff), Signika font, 72px grid,
   radial glow orb, auto-cycling Spotlight widget & scroll-reveal system.
   ========================================================================== */

:root {
    --dtt-bg: #ffffff;
    --dtt-fg: #09090b;
    --dtt-card: #ffffff;
    --dtt-primary: #155dfc;
    --dtt-primary-hover: #1447e6;
    --dtt-primary-fg: #eff6ff;
    --dtt-primary-soft: rgba(21, 93, 252, 0.08);
    --dtt-primary-ring: rgba(21, 93, 252, 0.2);
    --dtt-muted: #f4f4f5;
    --dtt-muted-fg: #71717a;
    --dtt-border: #e4e4e7;
    --dtt-input-bg: #ffffff;
    --dtt-grid-line: rgba(113, 113, 122, 0.14);
    --dtt-surface-row-active: rgba(9, 9, 11, 0.045);
    --dtt-surface-row-hover: rgba(9, 9, 11, 0.03);
    --dtt-header-scroll-bg: rgba(255, 255, 255, 0.82);
    --dtt-header-border: rgba(228, 228, 231, 0.72);
    --dtt-radius: 0.875rem;
    --dtt-font: 'Signika', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html.dark,
html[data-theme="dark"],
body.dark-mode {
    --dtt-bg: #09090b;
    --dtt-fg: #fafafa;
    --dtt-card: #16161a;
    --dtt-primary: #193cb8;
    --dtt-primary-hover: #2554e8;
    --dtt-primary-fg: #eff6ff;
    --dtt-primary-soft: rgba(25, 60, 184, 0.18);
    --dtt-primary-ring: rgba(59, 130, 246, 0.25);
    --dtt-muted: #27272a;
    --dtt-muted-fg: #9f9fa9;
    --dtt-border: rgba(255, 255, 255, 0.1);
    --dtt-input-bg: rgba(255, 255, 255, 0.05);
    --dtt-grid-line: rgba(255, 255, 255, 0.045);
    --dtt-surface-row-active: rgba(255, 255, 255, 0.055);
    --dtt-surface-row-hover: rgba(255, 255, 255, 0.035);
    --dtt-header-scroll-bg: rgba(9, 9, 11, 0.82);
    --dtt-header-border: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    scrollbar-width: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: var(--dtt-font);
    background-color: var(--dtt-bg);
    color: var(--dtt-fg);
    line-height: 1.55;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dtt-container {
    width: 100%;
    max-width: 1152px; /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .dtt-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .dtt-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* ==========================================================================
   1. FIXED TRANSPARENT-TO-BLUR HEADER
   ========================================================================== */
.dtt-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.dtt-header.is-scrolled,
.dtt-header.menu-open {
    background: var(--dtt-header-scroll-bg);
    border-bottom-color: var(--dtt-header-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dtt-header-inner {
    height: 64px; /* h-16 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dtt-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    flex-shrink: 0;
    text-decoration: none;
}

.dtt-brand-link .nav-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.dtt-nav-desktop {
    display: none;
    align-items: center;
    gap: 4px;
}

.dtt-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dtt-muted-fg);
    text-decoration: none;
    transition: background-color 0.16s ease, color 0.16s ease;
    white-space: nowrap;
}

.dtt-nav-link:hover {
    background: rgba(113, 113, 122, 0.12);
    color: var(--dtt-fg);
}

.dtt-header-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.dtt-mob-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .dtt-nav-desktop,
    .dtt-header-actions {
        display: flex;
    }
    .dtt-mob-controls {
        display: none;
    }
}

/* Borderless Sun / Moon Theme Toggle */
.dtt-theme-btn,
.t1-theme-btn {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    border: 0 !important;
    background: transparent !important;
    color: var(--dtt-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    outline: none;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.dtt-theme-btn:hover,
.t1-theme-btn:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0.85;
    transform: scale(1.08);
}

.dtt-theme-btn:focus-visible {
    outline: 2px solid var(--dtt-primary);
    outline-offset: 2px;
}

.t1-theme-icon {
    position: absolute;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Match Reference: Dark mode shows crisp Moon icon; Light mode shows crisp Sun icon */
.t1-theme-icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.t1-theme-icon-moon {
    opacity: 0;
    transform: scale(0) rotate(90deg);
}

html.dark .t1-theme-icon-sun,
html[data-theme="dark"] .t1-theme-icon-sun {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
}

html.dark .t1-theme-icon-moon,
html[data-theme="dark"] .t1-theme-icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Header Action Buttons */
.dtt-btn-ghost-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dtt-fg);
    background: transparent;
    border: none;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.16s ease, opacity 0.16s ease;
}

.dtt-btn-ghost-sm:hover {
    background: rgba(113, 113, 122, 0.14);
}

.dtt-btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dtt-primary-fg);
    background: var(--dtt-primary);
    border: none;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.16s ease, opacity 0.16s ease;
}

.dtt-btn-primary-sm:hover {
    background: var(--dtt-primary-hover);
    color: var(--dtt-primary-fg);
}

.dtt-mob-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--dtt-header-border);
    background: var(--dtt-header-scroll-bg);
    color: var(--dtt-fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.16s ease;
}

/* Mobile Slide-Down Panel under Fixed Header */
.dtt-mob-drawer {
    display: none;
    border-top: 1px solid var(--dtt-header-border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px;
}

html.dark .dtt-mob-drawer,
html[data-theme="dark"] .dtt-mob-drawer {
    background: rgba(9, 9, 11, 0.96);
}

.dtt-mob-drawer.active {
    display: block;
}

@media (min-width: 768px) {
    .dtt-mob-drawer,
    .dtt-mob-drawer.active {
        display: none !important;
    }
}

.dtt-mob-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}

.dtt-mob-links a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dtt-fg);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.dtt-mob-links a:hover {
    background: rgba(113, 113, 122, 0.12);
}

.dtt-mob-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--dtt-border);
}

.dtt-mob-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--dtt-border);
    background: var(--dtt-input-bg);
    color: var(--dtt-fg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dtt-mob-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: var(--dtt-primary);
    color: var(--dtt-primary-fg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* ==========================================================================
   2. HERO SECTION (72PX SQUARE GRID, RADIAL GLOW ORB & AUTO SPOTLIGHT)
   ========================================================================== */
.dtt-hero {
    position: relative;
    overflow: hidden;
    padding-top: 96px;  /* pt-24 */
    padding-bottom: 64px; /* pb-16 */
}

@media (min-width: 640px) {
    .dtt-hero {
        padding-top: 112px; /* sm:pt-28 */
        padding-bottom: 80px; /* sm:pb-20 */
    }
}

@media (min-width: 1024px) {
    .dtt-hero {
        padding-bottom: 96px; /* lg:pb-24 */
    }
}

.dtt-hero-grid {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--dtt-grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--dtt-grid-line) 1px, transparent 1px);
    background-size: 72px 72px;
}

.dtt-hero-glow-orb {
    pointer-events: none;
    position: absolute;
    top: -128px;
    left: 50%;
    width: 820px;
    height: 520px;
    transform: translateX(-50%);
    border-radius: 9999px;
    background: rgba(21, 93, 252, 0.14);
    filter: blur(64px);
}

html.dark .dtt-hero-glow-orb,
html[data-theme="dark"] .dtt-hero-glow-orb {
    background: rgba(25, 60, 184, 0.22);
}

.dtt-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

@media (min-width: 1024px) {
    .dtt-hero-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 40px;
    }
}

.dtt-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(21, 93, 252, 0.22);
    background: rgba(21, 93, 252, 0.08);
    color: var(--dtt-primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

html.dark .dtt-hero-pill,
html[data-theme="dark"] .dtt-hero-pill {
    border-color: rgba(59, 130, 246, 0.28);
    background: rgba(25, 60, 184, 0.18);
    color: #60a5fa;
}

.dtt-hero-h1 {
    margin: 0;
    max-width: 672px;
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--dtt-fg);
    text-wrap: balance;
}

@media (min-width: 640px) {
    .dtt-hero-h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .dtt-hero-h1 {
        font-size: 3.4rem;
        line-height: 1.05;
    }
}

.dtt-hero-sub {
    margin: 20px 0 0;
    max-width: 576px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--dtt-muted-fg);
    text-wrap: pretty;
}

@media (min-width: 640px) {
    .dtt-hero-sub {
        font-size: 18px;
    }
}

.dtt-hero-ctas {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .dtt-hero-ctas {
        flex-direction: row;
        align-items: center;
    }
}

.dtt-btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border-radius: 10px;
    border: none;
    background: var(--dtt-primary);
    color: var(--dtt-primary-fg);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.dtt-btn-hero-primary:hover {
    background: var(--dtt-primary-hover);
    color: var(--dtt-primary-fg);
}

.dtt-btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1px solid var(--dtt-border);
    background: var(--dtt-input-bg);
    color: var(--dtt-fg);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.dtt-btn-hero-outline:hover {
    background: var(--dtt-surface-row-hover);
}

.dtt-hero-checks {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.dtt-hero-check-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    color: var(--dtt-muted-fg);
    font-weight: 500;
}

/* ==========================================================================
   HERO RIGHT COLUMN: AUTO-CYCLING SPOTLIGHT WIDGET (2.8s CYCLE)
   ========================================================================== */
.dtt-spotlight-wrap {
    position: relative;
    width: 100%;
    max-width: 448px; /* max-w-md */
    margin-left: auto;
    margin-right: auto;
}

.dtt-spotlight-ambient {
    pointer-events: none;
    position: absolute;
    inset: -32px;
    border-radius: 2.5rem;
    opacity: 0.7;
    filter: blur(64px);
    transition: background 0.7s ease;
    background: radial-gradient(circle at 30% 20%, rgba(24, 119, 242, 0.28), transparent 65%);
}

.dtt-spotlight-inner {
    position: relative;
    z-index: 1;
}

.dtt-spotlight-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.dtt-ping-wrap {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.dtt-ping-ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.65);
    animation: dttPing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dtt-ping-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #10b981;
}

@keyframes dttPing {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.dtt-spotlight-status-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--dtt-muted-fg);
}

.dtt-spotlight-stage {
    min-height: 116px;
    display: flex;
    align-items: center;
}

.dtt-spotlight-active-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.dtt-spotlight-active-row.is-switching {
    opacity: 0;
    transform: translateY(6px);
}

.dtt-spotlight-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(113, 113, 122, 0.25);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: box-shadow 0.5s ease;
}

html.dark .dtt-spotlight-icon-box,
html[data-theme="dark"] .dtt-spotlight-icon-box {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(9, 9, 11, 0.82);
}

.dtt-spotlight-meta {
    min-width: 0;
    flex: 1;
}

.dtt-spotlight-plat {
    font-size: 12px;
    font-weight: 500;
    color: var(--dtt-muted-fg);
    margin-bottom: 2px;
}

.dtt-spotlight-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--dtt-fg);
    line-height: 1.25;
}

@media (min-width: 640px) {
    .dtt-spotlight-name {
        font-size: 1.35rem;
    }
}

.dtt-spotlight-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(113, 113, 122, 0.22);
}

html.dark .dtt-spotlight-list,
html[data-theme="dark"] .dtt-spotlight-list {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.dtt-spotlight-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dtt-muted-fg);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dtt-spotlight-item:hover {
    background: var(--dtt-surface-row-hover);
    color: var(--dtt-fg);
}

.dtt-spotlight-item.active {
    background: var(--dtt-surface-row-active);
    color: var(--dtt-fg);
    font-weight: 600;
}

.dtt-spotlight-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.dtt-spotlight-mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dtt-spotlight-item-title {
    font-size: 13.5px;
    line-height: 1.3;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dtt-spotlight-item-plat {
    font-size: 11px;
    color: var(--dtt-muted-fg);
    font-weight: 400;
    line-height: 1.25;
}

.dtt-spotlight-arrow {
    opacity: 0;
    font-size: 12px;
    color: var(--dtt-muted-fg);
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dtt-spotlight-item.active .dtt-spotlight-arrow {
    opacity: 1;
    transform: translateX(0);
}

.dtt-spotlight-cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border-radius: 9999px;
    background: var(--dtt-fg);
    color: var(--dtt-bg);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dtt-spotlight-cta:hover {
    opacity: 0.9;
    color: var(--dtt-bg);
}

/* Bottom Scroll Cue (KHÁM PHÁ + 1.8s 0->6px bounce) */
.dtt-scroll-cue {
    display: none;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--dtt-muted-fg);
    cursor: pointer;
    z-index: 2;
    padding: 4px 10px;
    transition: color 0.18s ease;
}

.dtt-scroll-cue:hover {
    color: var(--dtt-fg);
}

@media (min-width: 640px) {
    .dtt-scroll-cue {
        display: flex;
    }
}

.dtt-scroll-cue-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.dtt-chevron-bob {
    display: inline-flex;
    animation: dttChevronBob 1.8s ease-in-out infinite;
}

@keyframes dttChevronBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ==========================================================================
   3. PLATFORMS STRIP (#platforms)
   ========================================================================== */
.dtt-platforms {
    border-top: 1px solid var(--dtt-border);
    border-bottom: 1px solid var(--dtt-border);
    background: rgba(244, 244, 245, 0.5);
    padding: 32px 0;
}

html.dark .dtt-platforms,
html[data-theme="dark"] .dtt-platforms {
    background: rgba(39, 39, 42, 0.3);
}

.dtt-platforms-head {
    text-align: center;
    margin-bottom: 20px;
}

.dtt-eyebrow-muted {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--dtt-muted-fg);
    margin: 0 0 6px;
}

.dtt-platforms-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--dtt-fg);
}

@media (min-width: 640px) {
    .dtt-platforms-title {
        font-size: 20px;
    }
}

.dtt-platforms-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 32px;
}

@media (min-width: 640px) {
    .dtt-platforms-row {
        gap: 16px 40px;
    }
}

.dtt-plat-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--dtt-fg);
    text-decoration: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dtt-plat-brand:hover {
    opacity: 0.82;
    transform: translateY(-1px);
}

.dtt-plat-brand i {
    font-size: 18px;
}

/* ==========================================================================
   4. FEATURES 3x2 GRID (#features)
   ========================================================================== */
.dtt-section {
    padding: 80px 0;
}

@media (min-width: 640px) {
    .dtt-section {
        padding: 96px 0;
    }
}

.dtt-section-alt {
    background: rgba(244, 244, 245, 0.45);
}

html.dark .dtt-section-alt,
html[data-theme="dark"] .dtt-section-alt {
    background: rgba(39, 39, 42, 0.25);
}

.dtt-section-header {
    text-align: center;
    max-width: 672px;
    margin: 0 auto;
}

.dtt-eyebrow-primary {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--dtt-primary);
    margin: 0 0 10px;
}

html.dark .dtt-eyebrow-primary,
html[data-theme="dark"] .dtt-eyebrow-primary {
    color: #3b82f6;
}

.dtt-section-h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 0;
    color: var(--dtt-fg);
}

@media (min-width: 640px) {
    .dtt-section-h2 {
        font-size: 36px;
    }
}

.dtt-section-sub {
    margin: 14px 0 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--dtt-muted-fg);
}

.dtt-features-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .dtt-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dtt-features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dtt-feature-card {
    height: 100%;
    border-radius: 16px;
    border: 1px solid var(--dtt-border);
    background: var(--dtt-card);
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.dtt-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 93, 252, 0.3);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.14);
}

.dtt-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dtt-primary-soft);
    color: var(--dtt-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background-color 0.24s ease, color 0.24s ease;
}

html.dark .dtt-feature-icon,
html[data-theme="dark"] .dtt-feature-icon {
    color: #3b82f6;
}

.dtt-feature-card:hover .dtt-feature-icon {
    background: var(--dtt-primary);
    color: var(--dtt-primary-fg);
}

.dtt-feature-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--dtt-fg);
}

.dtt-feature-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--dtt-muted-fg);
    margin: 0;
}

.dtt-feature-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dtt-primary);
    text-decoration: none;
}

html.dark .dtt-feature-link,
html[data-theme="dark"] .dtt-feature-link {
    color: #60a5fa;
}

.dtt-feature-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   5. HOW IT WORKS - 3 STEPS (#how-it-works)
   ========================================================================== */
.dtt-steps-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

@media (min-width: 1024px) {
    .dtt-steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dtt-step-card {
    position: relative;
    height: 100%;
    border-radius: 16px;
    border: 1px solid var(--dtt-border);
    background: var(--dtt-bg);
    padding: 24px;
}

.dtt-step-connector {
    display: none;
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: -13px;
    width: 24px;
    height: 1px;
    background: var(--dtt-border);
    z-index: 1;
}

@media (min-width: 1024px) {
    .dtt-step-connector {
        display: block;
    }
}

.dtt-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dtt-step-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(21, 93, 252, 0.75);
}

html.dark .dtt-step-num,
html[data-theme="dark"] .dtt-step-num {
    color: rgba(59, 130, 246, 0.8);
}

.dtt-step-icon {
    color: rgba(21, 93, 252, 0.82);
}

html.dark .dtt-step-icon,
html[data-theme="dark"] .dtt-step-icon {
    color: rgba(59, 130, 246, 0.85);
}

.dtt-step-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--dtt-fg);
}

.dtt-step-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--dtt-muted-fg);
    margin: 0;
}

/* ==========================================================================
   6. MEMBER PRICING TIERS (#pricing)
   ========================================================================== */
.dtt-pricing-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .dtt-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .dtt-pricing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.dtt-tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    border: 1px solid var(--dtt-border);
    background: var(--dtt-card);
    padding: 24px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.dtt-tier-card:hover {
    border-color: rgba(21, 93, 252, 0.28);
}

.dtt-tier-card--featured {
    border-color: rgba(21, 93, 252, 0.45);
    background: rgba(21, 93, 252, 0.045);
    box-shadow: 0 10px 28px -8px rgba(21, 93, 252, 0.16), 0 0 0 1px rgba(21, 93, 252, 0.16);
}

html.dark .dtt-tier-card--featured,
html[data-theme="dark"] .dtt-tier-card--featured {
    border-color: rgba(37, 99, 235, 0.48);
    background: rgba(25, 60, 184, 0.1);
    box-shadow: 0 12px 30px -10px rgba(25, 60, 184, 0.28), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.dtt-tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 9999px;
    background: var(--dtt-primary);
    color: var(--dtt-primary-fg);
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.dtt-tier-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--dtt-fg);
}

.dtt-tier-threshold {
    font-size: 12.5px;
    color: var(--dtt-muted-fg);
    margin: 4px 0 0;
}

.dtt-tier-divider {
    height: 1px;
    background: var(--dtt-border);
    margin: 18px 0;
}

.dtt-tier-discount {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--dtt-primary);
    line-height: 1.1;
}

html.dark .dtt-tier-discount,
html[data-theme="dark"] .dtt-tier-discount {
    color: #2563eb;
}

.dtt-tier-discount-sub {
    font-size: 12px;
    color: var(--dtt-muted-fg);
    margin: 4px 0 18px;
}

.dtt-tier-perks {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--dtt-muted-fg);
}

.dtt-tier-perks li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dtt-tier-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    border-radius: 9999px;
    border: 1px solid var(--dtt-border);
    background: transparent;
    color: var(--dtt-fg);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.dtt-tier-cta:hover {
    background: var(--dtt-surface-row-hover);
    color: var(--dtt-fg);
}

.dtt-tier-cta--featured {
    border: none;
    background: var(--dtt-primary);
    color: var(--dtt-primary-fg);
}

.dtt-tier-cta--featured:hover {
    background: var(--dtt-primary-hover);
    color: var(--dtt-primary-fg);
}

/* ==========================================================================
   7. FINAL DARK CTA BANNER & FOOTER
   ========================================================================== */
.dtt-cta-section {
    padding: 64px 0 80px;
}

.dtt-cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #09090b;
    padding: 48px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
    .dtt-cta-box {
        padding: 64px 40px;
    }
}

.dtt-cta-glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.25), transparent 55%);
}

.dtt-cta-content {
    position: relative;
    z-index: 1;
}

.dtt-cta-h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

@media (min-width: 640px) {
    .dtt-cta-h2 {
        font-size: 32px;
    }
}

.dtt-cta-sub {
    margin: 14px auto 0;
    max-width: 560px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #a1a1aa;
}

.dtt-cta-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dtt-btn-cta-dark-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 28px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.16s ease;
}

.dtt-btn-cta-dark-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dtt-footer {
    border-top: 1px solid var(--dtt-border);
    background: rgba(244, 244, 245, 0.35);
    padding: 48px 0;
}

html.dark .dtt-footer,
html[data-theme="dark"] .dtt-footer {
    background: rgba(39, 39, 42, 0.2);
}

.dtt-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
}

@media (min-width: 1024px) {
    .dtt-footer-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    }
}

.dtt-footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--dtt-fg);
    margin: 0;
}

.dtt-footer-desc {
    margin: 12px 0 0;
    max-width: 448px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--dtt-muted-fg);
}

.dtt-footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    font-size: 13.5px;
}

.dtt-footer-col-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dtt-fg);
    margin: 0 0 12px;
}

.dtt-footer-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.dtt-footer-col-list a {
    color: var(--dtt-muted-fg);
    text-decoration: none;
    transition: color 0.15s ease;
}

.dtt-footer-col-list a:hover {
    color: var(--dtt-fg);
}

.dtt-footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--dtt-border);
    text-align: center;
    font-size: 13px;
    color: var(--dtt-muted-fg);
}

/* ==========================================================================
   8. SCROLL REVEAL MOTION (FRAMER MOTION EQUIVALENT)
   ========================================================================== */
.t1-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.t1-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .t1-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .dtt-chevron-bob,
    .dtt-ping-ring {
        animation: none;
    }
}

/* Shared Duotone & Platform SVG Helpers */
.dtt-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.dtt-ico svg {
    display: block;
    width: 100%;
    height: 100%;
}
