/* -------------------------------------------------------------
 * TRUE WEB VPN - Premium Minimalist Stylesheet (Linear Style)
 * ------------------------------------------------------------- */

/* Custom Reset & Base Setup */
:root {
    --bg-dark: #040407;
    --bg-card: rgba(255, 255, 255, 0.015);
    
    --color-accent: #00f2fe;
    --color-text-main: #f3f4f6;
    --color-text-muted: #8e929b;
    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-active: rgba(255, 255, 255, 0.15);
    
    --font-heading: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #ffffff;
    overflow-wrap: break-word;
    word-break: normal;
}

p {
    overflow-wrap: break-word;
}

.gradient-text {
    background: linear-gradient(180deg, #ffffff 40%, #a5a9b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desktop-only {
    display: inline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background-color: #ffffff;
    color: #040407;
}
.btn-primary:hover {
    background-color: #e5e7eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-border-active);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(4, 4, 7, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding-top: env(safe-area-inset-top, 0px);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
}
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
}
.logo-highlight {
    color: var(--color-text-muted);
}

/* Navbar */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.nav-link:hover {
    color: #ffffff;
}

/* Mobile Toggles */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
}
.mobile-nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-smooth);
}
.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 104;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}
.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    height: 100dvh;
    background: #06060a;
    border-left: 1px solid var(--color-border);
    z-index: 105;
    padding: max(80px, env(safe-area-inset-top, 0px) + 60px) 24px max(40px, env(safe-area-inset-bottom, 0px) + 24px);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.open {
    right: 0;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mobile-nav-link {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}
.mobile-nav-link:hover, .mobile-nav-link:active {
    color: #ffffff;
}
.mobile-nav-btn {
    margin-top: 16px;
    height: 48px;
    font-size: 0.95rem;
}

/* Sections Structure */
.section {
    padding: 110px 0;
    border-bottom: 1px solid var(--color-border);
}
.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}
.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.section-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 90px;
    border-bottom: 1px solid var(--color-border);
}
.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}
.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 44px;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.hero-feat-item i, .hero-feat-item svg {
    width: 15px;
    height: 15px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* 3D Hero Graphics */
.hero-graphics {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#canvas3d-container {
    position: relative;
    width: 100%;
    height: 100%;
}
#globe-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.canvas-overlay-card {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(4, 4, 7, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    padding: 12px 16px;
    border-radius: 10px;
    z-index: 10;
    max-width: 250px;
    animation: float 4s ease-in-out infinite alternate;
}
.overlay-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}
.overlay-node-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00ff87;
    box-shadow: 0 0 8px #00ff87;
    flex-shrink: 0;
}
.overlay-node-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
}
.overlay-card-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Protocols Section */
.protocols-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.protocol-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.005);
    padding: 32px 28px;
    transition: var(--transition-smooth);
}
.protocol-card:hover {
    border-color: var(--color-border-active);
    background: rgba(255, 255, 255, 0.015);
}
.protocol-tech {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.protocol-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.protocol-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.005);
    padding: 24px;
    transition: var(--transition-smooth);
}
.feature-card:hover {
    border-color: var(--color-border-active);
    background: rgba(255, 255, 255, 0.015);
}
.feature-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}
.feature-icon svg, .feature-icon i {
    width: 20px;
    height: 20px;
}
.feature-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card-desc {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* Interactive Servers Dashboard */
.servers-dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.003);
    height: 520px;
    overflow: hidden;
}

.dashboard-sidebar {
    border-right: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.002);
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 6px;
}
.category-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    -webkit-tap-highlight-color: transparent;
}
.category-tab-btn i, .category-tab-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.category-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}
.category-tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-border-active);
}
.category-tab-btn .badge {
    margin-left: auto;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-muted);
}
.category-tab-btn.active .badge {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}
.search-header-box {
    position: relative;
    border-bottom: 1px solid var(--color-border);
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.002);
}
.search-icon-tw {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    width: 15px;
    height: 15px;
    pointer-events: none;
}
.search-header-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 12px 10px 36px;
    color: #ffffff;
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}
.search-header-box input:focus {
    outline: none;
    border-color: var(--color-border-active);
}

.servers-scroll-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.servers-scroll-list::-webkit-scrollbar {
    width: 3px;
}
.servers-scroll-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
}

.server-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.003);
    transition: var(--transition-smooth);
}
.server-row-item:hover {
    border-color: var(--color-border-active);
    background: rgba(255, 255, 255, 0.015);
}
.server-row-item .flag {
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.server-row-item .name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
.server-row-item .name .sub {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.badge-tech {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    flex-shrink: 0;
    white-space: nowrap;
}
.badge-tech.special {
    background: rgba(0, 242, 254, 0.03);
    border-color: rgba(0, 242, 254, 0.2);
    color: #00f2fe;
}
.badge-tech.lte {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.ping-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ping-indicator.green {
    background-color: #00ff87;
    box-shadow: 0 0 6px #00ff87;
}
.ping-indicator.yellow {
    background-color: #ffd700;
    box-shadow: 0 0 6px #ffd700;
}
.ping-indicator.red {
    background-color: #ff4747;
    box-shadow: 0 0 6px #ff4747;
}

.ping-val {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    min-width: 44px;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Pricing Grid */
.pricing-grid-trueweb {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pricing-card-tw {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.005);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.pricing-card-tw:hover {
    border-color: var(--color-border-active);
}
.pricing-card-tw.popular {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.015);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.03);
}

.pricing-card-tw-header {
    text-align: center;
    margin-bottom: 16px;
}
.pricing-card-tw-header h3 {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}
.pricing-card-tw-header .days {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}
.price-value {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    margin-bottom: 4px;
}
.price-value .rub {
    font-size: 1.3rem;
    color: var(--color-text-muted);
}
.price-sub {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    margin-bottom: 24px;
}

.price-list {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}
.price-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}
.price-list li i, .price-list li svg {
    width: 14px;
    height: 14px;
    color: #00ff87;
    flex-shrink: 0;
}

/* Compatible Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.app-item-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    transition: var(--transition-smooth);
}
.app-item-card:hover {
    border-color: var(--color-border-active);
}
.app-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.app-icon-box i, .app-icon-box svg {
    width: 18px;
    height: 18px;
}
.app-item-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.app-clients {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.client-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}
.client-tags .tag {
    font-size: 0.7rem;
    padding: 3px 7px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-muted);
}

.connection-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.005);
}
.tip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}
.tip-content h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}
.tip-content p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8px;
    cursor: pointer;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
}
.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    font-family: var(--font-body);
}
.faq-icon {
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 8px;
}
.faq-answer p {
    padding-bottom: 18px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-item.active .faq-answer {
    max-height: 600px;
    transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* Footer Section */
.footer {
    background: #020204;
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
.footer-brand .logo {
    margin-bottom: 12px;
}
.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-bottom: 16px;
    max-width: 260px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}
.social-links a:hover {
    color: #ffffff;
    border-color: var(--color-border-active);
}
.footer-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links li a, .footer-links li {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition-smooth);
}
.footer-links li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
}
.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.copyright {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}
.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}
.footer-legal a:hover {
    color: #ffffff;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================= */

/* Desktop / Laptop down to Small Tablet */
@media (max-width: 1024px) {
    .pricing-grid-trueweb {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* Tablet (iPad, etc.) */
@media (max-width: 992px) {
    .header-container {
        height: 62px;
    }
    .nav, .header-cta {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }

    .hero-section {
        padding-top: 110px;
        padding-bottom: 60px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
    .hero-content {
        align-items: center;
        text-align: center;
        max-width: 640px;
        margin: 0 auto;
    }
    .hero-title {
        font-size: clamp(2rem, 5.5vw, 2.8rem);
    }
    .hero-description {
        font-size: 0.98rem;
        margin-bottom: 28px;
    }
    .hero-actions {
        justify-content: center;
        margin-bottom: 36px;
    }
    .hero-features {
        justify-content: center;
        gap: 16px 24px;
    }

    .hero-graphics {
        height: 360px;
        max-width: 440px;
        margin: 0 auto;
    }

    .protocols-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Servers Dashboard mobile tab bar */
    .servers-dashboard {
        grid-template-columns: 1fr;
        height: auto;
    }
    .dashboard-sidebar {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 14px;
        gap: 8px;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        scrollbar-width: none;
    }
    .dashboard-sidebar::-webkit-scrollbar {
        display: none;
    }
    .category-tab-btn {
        flex-shrink: 0;
        width: auto;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .servers-scroll-list {
        max-height: 400px;
    }

    .pricing-grid-trueweb {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
        gap: 20px;
    }
    .pricing-card-tw.popular {
        order: -1;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Standard Mobile (iPhone 12/14/15, Galaxy, Pixel) */
@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .desktop-only {
        display: none;
    }

    .section {
        padding: 64px 0;
    }
    .section-header {
        margin-bottom: 36px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 0.88rem;
    }

    .hero-section {
        padding-top: 92px;
        padding-bottom: 44px;
    }
    .hero-badge {
        margin-bottom: 18px;
    }
    .hero-title {
        font-size: clamp(1.75rem, 7.5vw, 2.3rem);
        line-height: 1.2;
    }
    .hero-description {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 10px;
        margin-bottom: 28px;
    }
    .hero-actions .btn {
        width: 100%;
        height: 46px;
        font-size: 0.9rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .hero-feat-item {
        font-size: 0.78rem;
    }

    .hero-graphics {
        height: 280px;
    }
    .canvas-overlay-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin: -16px auto 0;
        width: max-content;
        max-width: calc(100% - 32px);
        padding: 10px 14px;
        text-align: center;
    }
    .overlay-card-header {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 18px;
    }

    .search-header-box {
        padding: 12px 14px;
    }
    .search-icon-tw {
        left: 20px;
    }
    .search-header-box input {
        font-size: 16px; /* Prevents auto zoom on iOS */
        padding: 9px 12px 9px 34px;
    }
    .servers-scroll-list {
        padding: 12px 14px;
        max-height: 360px;
        gap: 6px;
    }

    .server-row-item {
        padding: 10px 12px;
        gap: 10px;
    }
    .server-row-item .flag {
        font-size: 1.25rem;
    }
    .server-row-item .name {
        font-size: 0.82rem;
    }
    .server-row-item .name .sub {
        font-size: 0.7rem;
        white-space: normal;
        line-height: 1.3;
    }
    .badge-tech {
        font-size: 0.62rem;
        padding: 2px 6px;
    }
    .ping-val {
        font-size: 0.72rem;
        min-width: 36px;
    }

    .pricing-card-tw {
        padding: 28px 18px;
    }
    .price-value {
        font-size: 2.8rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .app-item-card {
        padding: 18px 16px;
    }

    .connection-tip-card {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .faq-question {
        padding: 16px 4px;
    }
    .faq-question h3 {
        font-size: 0.88rem;
    }
    .faq-answer p {
        font-size: 0.82rem;
        padding-bottom: 14px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Small / Compact Mobile (<= 380px) */
@media (max-width: 380px) {
    .container {
        padding: 0 14px;
    }

    .header-container {
        height: 56px;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .server-row-item .badge-tech {
        display: none;
    }

    .price-value {
        font-size: 2.4rem;
    }
}
