/* ==========================================================================
   NAWALAPATROL.COM — DESIGN SYSTEM & STYLESHEET
   Aesthetic: Developer-Centric Dark Mode (Vercel / GitHub / Cloudflare)
   Palette: Zinc / Slate (#09090b, #18181b, #27272a)
   Typography: Inter (UI) & JetBrains Mono (Data/Logs/Code)
   NO AI-slop: No radial neon, no glassmorphism blur, no rotating radar
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-page: #09090b;
    --bg-subtle: #0c0a09;
    --bg-card: #121215;
    --bg-card-hover: #18181b;
    --bg-terminal: #0d0e12;
    --bg-input: #101014;

    --border-subtle: #27272a;
    --border-hover: #3f3f46;
    --border-focus: #71717a;

    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dim: #52525b;

    --btn-primary-bg: #ffffff;
    --btn-primary-text: #09090b;
    --btn-primary-hover: #e4e4e7;

    --status-green: #22c55e;
    --status-green-dim: rgba(34, 197, 94, 0.12);
    --status-red: #ef4444;
    --status-red-dim: rgba(239, 68, 68, 0.12);
    --status-amber: #f59e0b;
    --status-amber-dim: rgba(245, 158, 11, 0.12);

    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --container-max: 1160px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

/* Base Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    background-color: var(--bg-page);
    color: var(--text-primary);
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-ui);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

.mono {
    font-family: var(--font-mono);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   SMOOTH LOADING & STAGGERED REVEAL ANIMATIONS
   ========================================================================== */
#page-top-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    width: 0%;
    background: linear-gradient(90deg, #38bdf8, #22c55e, #ffffff);
    z-index: 99999;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

/* Staggered Content Reveal from bottom to top */
@keyframes fadeInUpContent {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-init {
    opacity: 0;
    transform: translateY(24px);
    will-change: transform, opacity;
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger delays for child items */
.stagger-1 {
    transition-delay: 0.05s;
}

.stagger-2 {
    transition-delay: 0.12s;
}

.stagger-3 {
    transition-delay: 0.18s;
}

.stagger-4 {
    transition-delay: 0.24s;
}

.stagger-5 {
    transition-delay: 0.30s;
}

.stagger-6 {
    transition-delay: 0.36s;
}

/* Immediate Hero Animation on Load */
.hero-anim-1 {
    animation: fadeInUpContent 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-anim-2 {
    animation: fadeInUpContent 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
    opacity: 0;
}

.hero-anim-3 {
    animation: fadeInUpContent 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
    opacity: 0;
}

.hero-anim-4 {
    animation: fadeInUpContent 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
    opacity: 0;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    cursor: pointer;
}

.brand-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-brand:hover .brand-icon {
    transform: scale(1.12) rotate(-5deg);
}

.brand-logo-desktop {
    display: inline-block;
    height: 20px;
    width: auto;
    max-height: 22px;
    object-fit: contain;
    vertical-align: middle;
    transition: filter 0.25s ease, opacity 0.2s ease;
}

.brand-logo-mobile {
    display: none;
    height: 28px;
    width: auto;
    max-height: 30px;
    object-fit: contain;
    vertical-align: middle;
    transition: filter 0.25s ease, opacity 0.2s ease;
}

.nav-brand:hover .brand-logo-desktop,
.nav-brand:hover .brand-logo-mobile {
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.55));
}

.brand-symbol {
    width: 22px;
    height: 22px;
    background: #18181b;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.brand-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--status-green);
    margin-left: 0.2rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
    border: 1px solid transparent;
}

.btn-cta:hover {
    background: var(--btn-primary-hover);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION & IPHONE TELEGRAM MOCKUP
   ========================================================================== */
.hero-section {
    padding: 3.5rem 0 3.5rem;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.22rem 0.65rem;
    background: #18181b;
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-size: 0.70rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 100%;
    white-space: nowrap;
}

.status-badge .mono {
    font-size: 0.70rem;
    white-space: nowrap;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--status-green);
}

.hero-title {
    font-size: 2.85rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* Hero Specs Metric Bar */
.hero-specs-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 560px;
}

.hero-spec-item {
    background: #121215;
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero-spec-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-spec-val {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   IPHONE PRO CHASSIS & DYNAMIC ISLAND SIMULATOR
   ========================================================================== */
.iphone-device-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.iphone-chassis {
    position: relative;
    width: 350px;
    height: 680px;
    background: #18181c;
    border-radius: 52px;
    padding: 10px;
    box-shadow:
        0 0 0 1px #38383f,
        0 0 0 3px #18181c,
        0 30px 70px -15px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(56, 189, 248, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Physical Titanium Hardware Buttons */
.iphone-btn-action {
    position: absolute;
    left: -3.5px;
    top: 105px;
    width: 3.5px;
    height: 24px;
    background: #27272a;
    border-radius: 3px 0 0 3px;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2);
}

.iphone-btn-vol-up {
    position: absolute;
    left: -3.5px;
    top: 145px;
    width: 3.5px;
    height: 48px;
    background: #27272a;
    border-radius: 3px 0 0 3px;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2);
}

.iphone-btn-vol-down {
    position: absolute;
    left: -3.5px;
    top: 205px;
    width: 3.5px;
    height: 48px;
    background: #27272a;
    border-radius: 3px 0 0 3px;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2);
}

.iphone-btn-power {
    position: absolute;
    right: -3.5px;
    top: 165px;
    width: 3.5px;
    height: 72px;
    background: #27272a;
    border-radius: 0 3px 3px 0;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2);
}

/* OLED Screen Inner Container */
.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #090a0f;
    border-radius: 42px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* iOS Top Status Bar */
.iphone-top-bar {
    height: 38px;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 30;
    background: #141722;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    user-select: none;
    flex-shrink: 0;
}

.iphone-time {
    font-size: 0.76rem;
    font-weight: 700;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    letter-spacing: -0.01em;
}

/* Dynamic Island Pill */
.dynamic-island {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 98px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8px;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.island-camera {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #1e1b4b 0%, #030712 100%);
    box-shadow: inset 0 0 1px 1px rgba(56, 189, 248, 0.4);
}

.island-sensor {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0b0f19;
}

.iphone-status-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #ffffff;
}

.ios-signal {
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
    height: 10px;
}

.ios-signal span {
    width: 2.5px;
    background: #ffffff;
    border-radius: 0.5px;
}

.ios-signal span:nth-child(1) {
    height: 3px;
}

.ios-signal span:nth-child(2) {
    height: 5px;
}

.ios-signal span:nth-child(3) {
    height: 7px;
}

.ios-signal span:nth-child(4) {
    height: 9.5px;
}

.ios-net-type {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    margin-left: 1px;
}

.ios-battery {
    width: 19px;
    height: 9.5px;
    border: 1.2px solid rgba(255, 255, 255, 0.85);
    border-radius: 3px;
    padding: 1px;
    position: relative;
    display: flex;
    align-items: center;
}

.ios-battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 2.5px;
    width: 1.5px;
    height: 4px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0 1px 1px 0;
}

.ios-battery-level {
    width: 82%;
    height: 100%;
    background: #10b981;
    border-radius: 1px;
}

/* ==========================================================================
   TELEGRAM APP WINDOW INSIDE IPHONE
   ========================================================================== */
.tg-app {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #090b10;
    overflow: hidden;
    position: relative;
}

.tg-app-header {
    background: #141722;
    padding: 0.45rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    user-select: none;
    flex-shrink: 0;
}

.tg-app-nav-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tg-app-back-btn {
    background: none;
    border: none;
    color: #38bdf8;
    cursor: pointer;
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
}

.tg-app-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #091322;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(0, 200, 255, 0.35);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
    flex-shrink: 0;
}

.tg-app-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.tg-app-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tg-app-name-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tg-app-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.tg-verified-badge {
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
}

.tg-app-status {
    font-size: 0.68rem;
    color: #38bdf8;
    font-family: var(--font-mono);
}

.tg-app-reset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #27272a;
    color: #a1a1aa;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-family: var(--font-mono);
    transition: all 0.15s ease;
}

.tg-app-reset-btn:hover {
    background: #27272a;
    color: #ffffff;
}

/* Floating Date Badge */
.tg-date-badge {
    display: flex;
    justify-content: center;
    margin: 0.45rem 0 0.25rem;
    flex-shrink: 0;
}

.tg-date-badge span {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

/* Chat Scroll Area with iOS-native slim translucent scrollbar */
.tg-chat-area {
    flex: 1;
    padding: 0.65rem 0.85rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background-color: #0d1117;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.tg-chat-area::-webkit-scrollbar {
    width: 3.5px;
}

.tg-chat-area::-webkit-scrollbar-track {
    background: transparent;
}

.tg-chat-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}

.tg-chat-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.tg-msg {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    animation: fadeInMsg 0.2s ease forwards;
}

@keyframes fadeInMsg {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tg-msg.bot {
    align-self: flex-start;
}

.tg-msg.user {
    align-self: flex-end;
}

.tg-bubble {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.5;
    word-break: break-word;
    text-align: left;
}

.tg-msg.bot .tg-bubble {
    background: #141722;
    border: 1px solid #27272a;
    color: #e4e4e7;
    border-top-left-radius: 2px;
}

.tg-msg.user .tg-bubble {
    background: #1e293b;
    border: 1px solid #334155;
    color: #f8fafc;
    border-top-right-radius: 2px;
}

.tg-msg-time {
    font-size: 0.62rem;
    color: #64748b;
    margin-top: 0.2rem;
    font-family: var(--font-mono);
}

.tg-msg.user .tg-msg-time {
    align-self: flex-end;
}

.tg-msg.bot .tg-msg-time {
    align-self: flex-start;
}

/* Quick Chips & Anti-Spam Disabled State */
.tg-quick-chips {
    padding: 0.4rem 0.75rem;
    background: #0f1118;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.tg-quick-chips.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.6);
}

.tg-send-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

.tg-input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #050608;
}

.tg-quick-chips::-webkit-scrollbar {
    display: none;
}

.tg-chip {
    background: #181b26;
    border: 1px solid #27272a;
    color: #a1a1aa;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    flex-shrink: 0;
}

.tg-chip:hover {
    background: #252a3b;
    color: #38bdf8;
    border-color: #38bdf8;
}

/* Input Bar */
.tg-input-bar {
    padding: 0.55rem 0.75rem;
    background: #121520;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.tg-input-clip {
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
}

.tg-input-clip:hover {
    color: #94a3b8;
}

.tg-input {
    flex: 1;
    background: #090a0f;
    border: 1px solid #27272a;
    padding: 0.45rem 0.75rem;
    border-radius: 18px;
    color: #ffffff;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.15s ease;
}

.tg-input:focus {
    border-color: #38bdf8;
}

.tg-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.tg-send-btn:hover {
    background: #0369a1;
    transform: scale(1.05);
}

.tg-typing-dots {
    display: inline-flex;
    gap: 3.5px;
    align-items: center;
}

.tg-typing-dot {
    width: 4.5px;
    height: 4.5px;
    border-radius: 50%;
    background: #38bdf8;
    animation: typingBounce 1s infinite ease-in-out;
}

.tg-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.tg-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* iOS Home Indicator Bar */
.iphone-home-indicator {
    width: 105px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    margin: 6px auto 3px auto;
    flex-shrink: 0;
}

/* ==========================================================================
   Terminal Mockup (Relocated to Diagnostics section)
   ========================================================================== */
.terminal-card {
    background: var(--bg-terminal);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: left;
    overflow: hidden;
    margin-bottom: 2rem;
}

.terminal-header {
    background: #141418;
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #27272a;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.1rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.65;
    color: #e4e4e7;
    overflow-x: auto;
}

.term-cmd {
    color: #a1a1aa;
    margin-bottom: 0.5rem;
}

.term-cmd .prompt {
    color: #22c55e;
    user-select: none;
}

.term-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #a1a1aa;
}

.term-ts {
    color: #52525b;
}

.term-isp {
    color: #e4e4e7;
    min-width: 165px;
}

.term-ok {
    color: #22c55e;
    padding: 0 4px;
    border-radius: 2px;
}

.term-block {
    color: #ef4444;
    background: var(--status-red-dim);
    padding: 0 4px;
    border-radius: 2px;
}

.term-meta {
    color: #71717a;
}

/* ==========================================================================
   LIVE CONSOLE CHECKER SECTION
   ========================================================================== */
.section {
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-head {
    margin-bottom: 2.25rem;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
}

/* Console Probe Box */
.console-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.console-bar {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #101014;
}

.console-prefix {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 600;
    user-select: none;
}

.console-input-wrap {
    flex: 1;
    position: relative;
}

.console-input {
    width: 100%;
    background: #18181b;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.console-input:focus {
    border-color: #38bdf8;
    background: #1e1e24;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.console-input::placeholder {
    color: #71717a;
}

.console-btn {
    background: #27272a;
    color: #f4f4f5;
    border: 1px solid #3f3f46;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.console-btn:hover {
    background: #3f3f46;
    border-color: #52525b;
}

.console-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table Output */
.console-table-wrap {
    overflow-x: auto;
}

.console-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: left;
}

.console-table th {
    background: #0f0f13;
    padding: 0.65rem 1rem;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    letter-spacing: 0.02em;
}

.console-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(39, 39, 42, 0.4);
    color: var(--text-secondary);
}

.console-table tr:last-child td {
    border-bottom: none;
}

.console-table tr:hover td {
    background: #16161a;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 500;
}

.badge-normal {
    background: var(--status-green-dim);
    color: #22c55e;
}

.badge-blocked {
    background: var(--status-red-dim);
    color: #ef4444;
}

.badge-warning {
    background: var(--status-amber-dim);
    color: #f59e0b;
}

.badge-neutral {
    background: #27272a;
    color: #a1a1aa;
}

.console-footer {
    padding: 0.85rem 1rem;
    background: #0e0e12;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   BENTO GRID FEATURES
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.15s ease;
}

.bento-card:hover {
    border-color: var(--border-hover);
}

.bento-span-2 {
    grid-column: span 2;
}

.bento-header {
    margin-bottom: 1.25rem;
}

.bento-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.bento-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.bento-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Micro UI Elements */
.micro-ui {
    background: #0b0c10;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-top: 1rem;
}

.micro-probe-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.matrix-col {
    background: #141418;
    border: 1px solid #27272a;
    border-radius: 4px;
    padding: 0.6rem;
}

.matrix-carrier {
    font-weight: 600;
    color: #e4e4e7;
    margin-bottom: 0.2rem;
}

.matrix-asn {
    color: #71717a;
    font-size: 0.68rem;
    margin-bottom: 0.4rem;
}

.matrix-ping {
    color: #22c55e;
    font-size: 0.72rem;
}

/* Micro Telegram Bubble */
.micro-tg-bubble {
    background: #161a22;
    border-left: 3px solid #ef4444;
    padding: 0.75rem;
    border-radius: 0 4px 4px 0;
    color: #e4e4e7;
    line-height: 1.5;
}

.tg-alert-title {
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Micro Command Prompt */
.micro-cli {
    background: #0d0e12;
    padding: 0.75rem;
    border-radius: 4px;
    color: #d4d4d8;
}

.cli-success {
    color: #22c55e;
    margin-top: 0.3rem;
}

/* Micro Validation Flow */
.micro-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.flow-step {
    background: #18181b;
    border: 1px solid #27272a;
    padding: 0.35rem 0.6rem;
    border-radius: 3px;
    color: #d4d4d8;
}

.flow-arrow {
    color: #52525b;
}

/* ==========================================================================
   PRICING SECTION (Clean Flat Table)
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: border-color 0.15s ease;
}

.pricing-card:hover {
    border-color: var(--border-hover);
}

.pricing-card.recommended {
    border-color: #52525b;
    background: #141418;
}

.pricing-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.pricing-card.recommended .pricing-tag {
    color: #f4f4f5;
    font-weight: 600;
}

.pricing-price {
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.pricing-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li::before {
    content: "✓";
    font-family: var(--font-mono);
    color: #a1a1aa;
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    padding: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    display: block;
}

.pricing-btn.solid {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.pricing-btn.solid:hover {
    background: var(--btn-primary-hover);
}

.pricing-btn.outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.pricing-btn.outline:hover {
    border-color: var(--border-hover);
    background: #18181b;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
}

.faq-q {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    padding: 3rem 0 3.5rem;
    background: #070709;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-specs-row {
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-span-2 {
        grid-column: span 1;
    }

    .micro-probe-matrix {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .brand-logo-desktop {
        display: none !important;
    }

    .brand-logo-mobile {
        display: inline-block !important;
    }

    .brand-icon {
        width: 22px;
        height: 22px;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .status-badge {
        font-size: 0.58rem !important;
        padding: 0.18rem 0.5rem !important;
        gap: 0.35rem !important;
        margin-bottom: 1.25rem !important;
        white-space: nowrap !important;
    }

    .status-badge .mono {
        font-size: 0.58rem !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .hero-lead {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-specs-row {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 0.5rem;
    }

    .hero-spec-item {
        padding: 0.65rem 0.5rem;
    }

    .iphone-device-wrapper {
        width: 100%;
        overflow: hidden;
    }

    .iphone-chassis {
        width: 100%;
        max-width: 320px;
        height: 590px;
        border-radius: 42px;
        padding: 8px;
        margin: 0 auto;
    }

    .iphone-btn-action,
    .iphone-btn-vol-up,
    .iphone-btn-vol-down,
    .iphone-btn-power {
        display: none !important;
    }

    .iphone-screen {
        border-radius: 34px;
    }

    .tg-input-bar {
        padding: 0.45rem 0.55rem;
    }

    .tg-input {
        font-size: 0.78rem;
        padding: 0.4rem 0.6rem;
    }

    .console-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        padding: 0.75rem 0.85rem;
    }

    .console-prefix {
        font-size: 0.78rem;
    }

    .console-input {
        font-size: 0.82rem;
    }

    .console-btn {
        width: 100%;
        padding: 0.55rem 0.75rem;
        text-align: center;
        justify-content: center;
    }

    .console-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .console-table {
        min-width: 520px;
    }

    .console-table th,
    .console-table td {
        padding: 0.6rem 0.75rem;
        font-size: 0.76rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .status-badge {
        font-size: 0.52rem !important;
        padding: 0.16rem 0.45rem !important;
        gap: 0.3rem !important;
        margin-bottom: 1rem !important;
        max-width: 100% !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .status-badge .mono {
        font-size: 0.52rem !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
    }

    .status-indicator {
        width: 5px !important;
        height: 5px !important;
        flex-shrink: 0;
    }
}