4232 lines
86 KiB
CSS
4232 lines
86 KiB
CSS
@media (prefers-reduced-motion:reduce) {
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
scroll-behavior: auto !important
|
|
}
|
|
}
|
|
|
|
:root {
|
|
--primary: #4f46e5;
|
|
--primary-hover: #4338ca;
|
|
--primary-light: #818cf8;
|
|
--primary-dark: #3730a3;
|
|
--accent: #8b5cf6;
|
|
--success: #10b981;
|
|
--error: #ef4444;
|
|
--gray-50: #f8fafc;
|
|
--gray-100: #f1f5f9;
|
|
--gray-200: #e2e8f0;
|
|
--gray-300: #cbd5e1;
|
|
--gray-400: #94a3b8;
|
|
--gray-500: #64748b;
|
|
--gray-600: #475569;
|
|
--gray-700: #334155;
|
|
--gray-800: #1e293b;
|
|
--gray-900: #0f172a;
|
|
--text-primary: var(--gray-900);
|
|
--text-secondary: var(--gray-600);
|
|
--text-tertiary: var(--gray-500);
|
|
--text-muted: var(--gray-400);
|
|
--bg-primary: #fff;
|
|
--bg-secondary: var(--gray-50);
|
|
--bg-tertiary: var(--gray-100);
|
|
--bg-elevated: #fff;
|
|
--border-primary: var(--gray-200);
|
|
--border-secondary: var(--gray-300);
|
|
--border-focus: var(--primary);
|
|
--container-max: 1400px;
|
|
--content-max: 1200px;
|
|
--header-height: 5rem;
|
|
--section-pad-y: clamp(2rem, 6vw, 4.5rem);
|
|
--section-pad-y-tight: clamp(1.5rem, 4vw, 3rem);
|
|
--container-x: clamp(.75rem, 3.2vw, 2.5rem);
|
|
--space-xs: .25rem;
|
|
--space-sm: .5rem;
|
|
--space-md: .75rem;
|
|
--space-lg: 1rem;
|
|
--space-xl: 1.25rem;
|
|
--space-2xl: 1.5rem;
|
|
--space-3xl: 2rem;
|
|
--space-4xl: 2.5rem;
|
|
--space-5xl: 3rem;
|
|
--space-6xl: 4rem;
|
|
--space-7xl: 5rem;
|
|
--space-8xl: 6rem;
|
|
--text-xs: .75rem;
|
|
--text-sm: .875rem;
|
|
--text-base: 1rem;
|
|
--text-lg: 1.125rem;
|
|
--text-xl: 1.25rem;
|
|
--text-2xl: 1.5rem;
|
|
--text-3xl: 1.875rem;
|
|
--text-4xl: 2.25rem;
|
|
--text-5xl: 3rem;
|
|
--text-6xl: 3.75rem;
|
|
--font-light: 300;
|
|
--font-normal: 400;
|
|
--font-medium: 500;
|
|
--font-semibold: 600;
|
|
--font-bold: 700;
|
|
--font-extrabold: 800;
|
|
--radius-sm: .25rem;
|
|
--radius-md: .375rem;
|
|
--radius-lg: .5rem;
|
|
--radius-xl: .625rem;
|
|
--radius-2xl: .75rem;
|
|
--radius-full: 9999px;
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
|
|
--shadow-md: 0 2px 8px 0 rgb(0 0 0 / .08);
|
|
--shadow-lg: 0 4px 16px 0 rgb(0 0 0 / .1);
|
|
--shadow-focus: 0 0 0 3px rgb(99 102 241 / .15);
|
|
--transition-fast: .15s ease;
|
|
--transition-normal: .2s ease;
|
|
color-scheme: light dark
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--text-primary: var(--gray-100);
|
|
--text-secondary: var(--gray-300);
|
|
--text-tertiary: var(--gray-400);
|
|
--text-muted: var(--gray-500);
|
|
--bg-primary: var(--gray-900);
|
|
--bg-secondary: var(--gray-800);
|
|
--bg-tertiary: var(--gray-700);
|
|
--bg-elevated: var(--gray-800);
|
|
--border-primary: var(--gray-700);
|
|
--border-secondary: var(--gray-600);
|
|
--primary: #a5b4fc;
|
|
--primary-hover: #c7d2fe;
|
|
--primary-light: #e0e7ff;
|
|
--shadow-sm: 0 2px 4px 0 rgb(0 0 0 / .4);
|
|
--shadow-md: 0 4px 12px 0 rgb(0 0 0 / .5);
|
|
--shadow-lg: 0 8px 24px 0 rgb(0 0 0 / .6);
|
|
--shadow-focus: 0 0 0 3px rgb(129 140 248 / .25);
|
|
color-scheme: dark
|
|
}
|
|
|
|
/* ===== HIGH CONTRAST MODE SUPPORT ===== */
|
|
@media (prefers-contrast: high) {
|
|
:root {
|
|
--primary: #4338ca;
|
|
--primary-hover: #3730a3;
|
|
--text-secondary: var(--gray-700);
|
|
--border-primary: var(--gray-400);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--primary: #a5b4fc;
|
|
--primary-hover: #c7d2fe;
|
|
--text-secondary: var(--gray-200);
|
|
--border-primary: var(--gray-500);
|
|
}
|
|
|
|
:focus-visible {
|
|
outline-width: 4px;
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
button:focus-visible,
|
|
a:focus-visible {
|
|
outline-width: 4px;
|
|
outline-offset: 4px;
|
|
box-shadow: 0 0 0 6px rgba(99, 102, 241, .25);
|
|
}
|
|
|
|
.btn,
|
|
.status-card,
|
|
.benefit-card {
|
|
border-width: 2px;
|
|
}
|
|
}
|
|
|
|
@supports (content-visibility:auto) {
|
|
|
|
.section,
|
|
.data-table-container,
|
|
.table-wrapper,
|
|
.comparison-section .table-wrapper,
|
|
.pricing-container,
|
|
.features-grid,
|
|
.referral-grid {
|
|
content-visibility: auto;
|
|
contain-intrinsic-size: 800px auto
|
|
}
|
|
}
|
|
|
|
.loading-overlay {
|
|
contain: layout paint style
|
|
}
|
|
|
|
.loading-spinner {
|
|
will-change: transform;
|
|
backface-visibility: hidden
|
|
}
|
|
|
|
input[type="checkbox"],
|
|
input[type="radio"],
|
|
progress,
|
|
input[type="range"],
|
|
select,
|
|
button {
|
|
accent-color: var(--accent, var(--primary, #6366f1))
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
-webkit-text-size-adjust: 100%;
|
|
overflow-x: hidden;
|
|
height: 100%
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-feature-settings: 'cv01', 'cv03', 'cv04', 'cv11';
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-rendering: optimizeLegibility;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
transition: background-color var(--transition-normal), color var(--transition-normal)
|
|
}
|
|
|
|
svg,
|
|
img,
|
|
video,
|
|
canvas {
|
|
max-width: 100%;
|
|
height: auto
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast)
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-hover)
|
|
}
|
|
|
|
:where(h1, h2, h3, h4, h5, h6) {
|
|
text-wrap: balance
|
|
}
|
|
|
|
:focus {
|
|
outline: 2px solid var(--border-focus);
|
|
outline-offset: 2px
|
|
}
|
|
|
|
:focus:not(:focus-visible) {
|
|
outline: none
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 3px;
|
|
box-shadow: var(--shadow-focus);
|
|
transition: outline-offset 0.2s ease;
|
|
}
|
|
|
|
a:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 3px;
|
|
box-shadow: 0 0 0 5px rgba(99, 102, 241, .15);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
button:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 3px;
|
|
box-shadow: 0 0 0 5px rgba(99, 102, 241, .15);
|
|
}
|
|
|
|
.skip-link {
|
|
position: absolute;
|
|
left: -9999px;
|
|
top: auto;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
position: fixed;
|
|
left: 50%;
|
|
top: var(--space-lg);
|
|
transform: translateX(-50%);
|
|
width: auto;
|
|
height: auto;
|
|
padding: var(--space-lg) var(--space-2xl);
|
|
background: var(--primary);
|
|
color: #fff;
|
|
border: 3px solid var(--primary-dark);
|
|
border-radius: var(--radius-xl);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
z-index: 10000;
|
|
font-weight: var(--font-semibold);
|
|
font-size: var(--text-base);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.page-wrapper {
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.container {
|
|
max-width: var(--container-max);
|
|
margin-inline: auto;
|
|
padding-inline: var(--container-x);
|
|
width: 100%
|
|
}
|
|
|
|
.content-container {
|
|
max-width: var(--content-max);
|
|
margin-inline: auto;
|
|
width: 100%
|
|
}
|
|
|
|
/* ===== MODERN HEADER ===== */
|
|
.site-header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
height: var(--header-height);
|
|
width: 100%;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.header-blur-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(255, 255, 255, .9);
|
|
backdrop-filter: blur(12px) saturate(140%);
|
|
-webkit-backdrop-filter: blur(12px) saturate(140%);
|
|
border-bottom: 1px solid var(--border-primary);
|
|
transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal), -webkit-backdrop-filter var(--transition-normal);
|
|
z-index: -1;
|
|
will-change: backdrop-filter, background, border-bottom;
|
|
}
|
|
|
|
.site-header.is-scrolled .header-blur-bg {
|
|
background: rgba(255, 255, 255, .95);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
border-bottom: 1px solid var(--border-primary);
|
|
box-shadow: 0 2px 8px rgba(15, 23, 42, .04), 0 1px 2px rgba(15, 23, 42, .06);
|
|
}
|
|
|
|
/* Reduce backdrop blur on mobile for better performance */
|
|
@media (max-width:900px) {
|
|
.header-blur-bg {
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
background: rgba(255, 255, 255, .98);
|
|
border-bottom: 1px solid var(--border-primary);
|
|
}
|
|
|
|
.site-header.is-scrolled .header-blur-bg {
|
|
box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
|
|
}
|
|
}
|
|
|
|
[data-theme="dark"] .header-blur-bg {
|
|
background: rgba(15, 23, 42, .9);
|
|
}
|
|
|
|
[data-theme="dark"] .site-header.is-scrolled .header-blur-bg {
|
|
background: rgba(15, 23, 42, .95);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
border-bottom: 1px solid rgba(52, 65, 85, .6);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
|
|
}
|
|
|
|
@media (max-width:900px) {
|
|
[data-theme="dark"] .header-blur-bg {
|
|
background: rgba(15, 23, 42, .98);
|
|
border-bottom: 1px solid rgba(52, 65, 85, .4);
|
|
}
|
|
|
|
[data-theme="dark"] .site-header.is-scrolled .header-blur-bg {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
|
|
}
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
position: relative;
|
|
padding-top: var(--header-height)
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
height: var(--header-height);
|
|
gap: var(--space-4xl)
|
|
}
|
|
|
|
@media (max-width:1200px) {
|
|
.header-content {
|
|
gap: var(--space-2xl)
|
|
}
|
|
}
|
|
|
|
@media (max-width:600px) {
|
|
.header-content {
|
|
gap: var(--space-md)
|
|
}
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-lg);
|
|
margin-left: auto
|
|
}
|
|
|
|
@media (max-width:900px) {
|
|
.header-actions {
|
|
gap: var(--space-md)
|
|
}
|
|
}
|
|
|
|
@media (max-width:600px) {
|
|
.header-actions {
|
|
gap: var(--space-sm)
|
|
}
|
|
}
|
|
|
|
.site-title {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
font-size: var(--text-xl);
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
padding: var(--space-sm) var(--space-lg);
|
|
border-radius: var(--radius-xl);
|
|
transition: transform var(--transition-fast);
|
|
min-width: 0;
|
|
white-space: nowrap;
|
|
position: relative;
|
|
}
|
|
|
|
.logo-wrapper {
|
|
position: relative;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
color: var(--primary);
|
|
transition: transform var(--transition-normal), filter var(--transition-normal);
|
|
position: relative;
|
|
z-index: 1;
|
|
filter: drop-shadow(0 2px 6px rgba(99, 102, 241, .2));
|
|
}
|
|
|
|
.logo-glow {
|
|
position: absolute;
|
|
inset: -8px;
|
|
background: radial-gradient(circle, rgba(99, 102, 241, .15) 0%, transparent 70%);
|
|
border-radius: 50%;
|
|
opacity: 0;
|
|
transition: opacity var(--transition-normal);
|
|
}
|
|
|
|
.site-title:hover .logo-icon {
|
|
transform: rotate(-10deg) scale(1.05);
|
|
filter: drop-shadow(0 4px 12px rgba(99, 102, 241, .4));
|
|
}
|
|
|
|
.site-title:hover .logo-glow {
|
|
opacity: 1;
|
|
}
|
|
|
|
.logo-text {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
align-items: baseline;
|
|
}
|
|
|
|
.logo-primary {
|
|
font-weight: var(--font-bold);
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.logo-secondary {
|
|
font-weight: var(--font-medium);
|
|
color: var(--text-secondary);
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.site-title:hover .logo-secondary {
|
|
color: var(--primary);
|
|
}
|
|
|
|
@media (max-width:900px) {
|
|
.site-title {
|
|
flex: 1 1 auto;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap
|
|
}
|
|
}
|
|
|
|
@media (max-width:600px) {
|
|
.site-title {
|
|
font-size: var(--text-lg);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
gap: var(--space-sm)
|
|
}
|
|
|
|
.logo-wrapper {
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
}
|
|
|
|
@media (max-width:380px) {
|
|
.site-title {
|
|
font-size: var(--text-base);
|
|
}
|
|
}
|
|
|
|
.header-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
position: relative;
|
|
z-index: 1;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
justify-content: flex-end;
|
|
margin-left: auto;
|
|
}
|
|
|
|
@media (max-width:1100px) {
|
|
.nav-link {
|
|
padding: var(--space-sm) var(--space-lg);
|
|
font-size: .9rem
|
|
}
|
|
}
|
|
|
|
.header-nav .nav-link:focus-visible {
|
|
box-shadow: var(--shadow-focus);
|
|
outline: none
|
|
}
|
|
|
|
.nav-link {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: var(--space-md) var(--space-xl);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-medium);
|
|
color: var(--text-secondary);
|
|
border-radius: var(--radius-lg);
|
|
white-space: nowrap;
|
|
transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
|
|
text-decoration: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nav-link-text {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.nav-link::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
|
|
opacity: 0;
|
|
border-radius: var(--radius-lg);
|
|
transition: opacity var(--transition-fast);
|
|
}
|
|
|
|
.nav-link::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 6px;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--primary);
|
|
border-radius: var(--radius-full);
|
|
transform: translateX(-50%);
|
|
transition: width var(--transition-fast);
|
|
}
|
|
|
|
.nav-mobile-header {
|
|
display: none;
|
|
}
|
|
|
|
.nav-close {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--primary);
|
|
background: var(--bg-secondary);
|
|
transform: translateY(0);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.nav-link:hover::before {
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-link:hover::after {
|
|
width: 50%;
|
|
}
|
|
|
|
.header-nav .nav-link[aria-current="page"],
|
|
.nav-link.active {
|
|
color: var(--primary);
|
|
background: var(--bg-secondary);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.nav-link.active::before {
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-link.active::after {
|
|
width: 50%;
|
|
}
|
|
|
|
.header-nav .nav-link:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.dark-mode-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 2px solid var(--border-primary);
|
|
border-radius: var(--radius-full);
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
|
|
}
|
|
|
|
.theme-toggle-inner {
|
|
position: relative;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dark-mode-toggle:hover {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
color: #fff;
|
|
transform: rotate(20deg) scale(1.05);
|
|
box-shadow: 0 4px 16px rgba(99, 102, 241, .3);
|
|
}
|
|
|
|
.dark-mode-toggle:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.dark-mode-toggle:active {
|
|
transform: rotate(20deg) scale(0.95);
|
|
}
|
|
|
|
.sun-icon,
|
|
.moon-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
position: absolute;
|
|
transition: opacity var(--transition-normal), transform var(--transition-normal);
|
|
}
|
|
|
|
.sun-icon {
|
|
opacity: 1;
|
|
transform: rotate(0deg) scale(1);
|
|
}
|
|
|
|
.moon-icon {
|
|
opacity: 0;
|
|
transform: rotate(90deg) scale(0);
|
|
}
|
|
|
|
[data-theme="dark"] .sun-icon {
|
|
opacity: 0;
|
|
transform: rotate(-90deg) scale(0);
|
|
}
|
|
|
|
[data-theme="dark"] .moon-icon {
|
|
opacity: 1;
|
|
transform: rotate(0deg) scale(1);
|
|
}
|
|
|
|
.nav-toggle {
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 2px solid var(--border-primary);
|
|
border-radius: var(--radius-full);
|
|
background: var(--bg-primary);
|
|
cursor: pointer;
|
|
transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
|
|
flex-shrink: 0;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
|
|
}
|
|
|
|
.nav-toggle:hover {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
transform: scale(1.05);
|
|
box-shadow: 0 4px 16px rgba(99, 102, 241, .3);
|
|
}
|
|
|
|
.nav-toggle:hover .nav-toggle-bar {
|
|
background: #fff;
|
|
}
|
|
|
|
.nav-toggle:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.nav-toggle-icon {
|
|
position: relative;
|
|
width: 20px;
|
|
height: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav-toggle-bar {
|
|
display: block;
|
|
width: 100%;
|
|
height: 2px;
|
|
background: var(--text-primary);
|
|
border-radius: var(--radius-full);
|
|
transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
|
|
transform-origin: center;
|
|
}
|
|
|
|
.nav-toggle-bar:nth-child(1) {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-toggle-bar:nth-child(2) {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-toggle-bar:nth-child(3) {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
|
|
transform: translateY(8px) rotate(45deg);
|
|
}
|
|
|
|
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
|
|
opacity: 0;
|
|
transform: scaleX(0);
|
|
}
|
|
|
|
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
|
|
transform: translateY(-8px) rotate(-45deg);
|
|
}
|
|
|
|
@media (max-width:600px) {
|
|
.dark-mode-toggle,
|
|
.nav-toggle {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
}
|
|
|
|
@media (max-width:380px) {
|
|
.dark-mode-toggle,
|
|
.nav-toggle {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
}
|
|
|
|
.dark-mode-toggle:hover::before {
|
|
opacity: 1
|
|
}
|
|
|
|
.sun-icon,
|
|
.moon-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
transition: opacity var(--transition-fast), transform var(--transition-fast)
|
|
}
|
|
|
|
/* Mobile Navigation */
|
|
/* ===== NAVIGATION DROPDOWNS ===== */
|
|
.nav-dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
/* Improve touch responsiveness */
|
|
-webkit-tap-highlight-color: transparent;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.nav-dropdown-trigger {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
/* Improve touch responsiveness */
|
|
-webkit-tap-highlight-color: transparent;
|
|
touch-action: manipulation;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.dropdown-icon {
|
|
transition: transform var(--transition-fast);
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.nav-dropdown-trigger[aria-expanded="true"] .dropdown-icon {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.nav-dropdown-menu {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-lg);
|
|
min-width: 200px;
|
|
padding: var(--space-sm);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateX(-50%) translateY(-8px);
|
|
transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
|
|
z-index: 100;
|
|
backdrop-filter: blur(20px);
|
|
}
|
|
|
|
[data-theme="dark"] .nav-dropdown-menu {
|
|
background: rgba(30, 41, 59, 0.98);
|
|
border-color: var(--border-secondary);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
.nav-dropdown-item {
|
|
display: block;
|
|
padding: var(--space-md) var(--space-lg);
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
border-radius: var(--radius-md);
|
|
transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-medium);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-dropdown-item:hover {
|
|
background: var(--bg-secondary);
|
|
color: var(--primary);
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.nav-dropdown-item:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
/* ===== MOBILE NAVIGATION OVERLAY ===== */
|
|
.nav-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
z-index: 120;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.25s ease, visibility 0.25s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nav-open .nav-overlay {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
/* ===== MOBILE NAVIGATION STYLES ===== */
|
|
@media (max-width: 900px) {
|
|
.nav-toggle {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/* Side drawer */
|
|
.header-nav {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: min(80vw, 320px);
|
|
background: var(--bg-elevated);
|
|
border-left: 1px solid var(--border-primary);
|
|
display: flex !important;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
gap: 0;
|
|
margin-left: 0;
|
|
flex: none;
|
|
min-width: auto;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
transform: translateX(100%);
|
|
transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
z-index: 140;
|
|
box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
[data-theme="dark"] .header-nav {
|
|
box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.nav-open .header-nav {
|
|
display: flex !important;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
body.nav-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Mobile nav header */
|
|
.nav-mobile-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-lg) var(--space-xl);
|
|
border-bottom: 1px solid var(--border-primary);
|
|
flex-shrink: 0;
|
|
position: sticky;
|
|
top: 0;
|
|
background: var(--bg-elevated);
|
|
z-index: 1;
|
|
}
|
|
|
|
.nav-mobile-brand {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.nav-mobile-title {
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.nav-mobile-subtitle {
|
|
font-size: var(--text-xs);
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.nav-close {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-primary);
|
|
background: var(--bg-secondary);
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast), color var(--transition-fast);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nav-close:hover,
|
|
.nav-close:focus-visible {
|
|
background: var(--bg-tertiary);
|
|
color: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.nav-close svg {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Direct nav links in mobile */
|
|
.header-nav > a.nav-link,
|
|
.header-nav > .nav-dropdown {
|
|
display: none;
|
|
}
|
|
|
|
.mobile-nav-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
padding: var(--space-sm) 0 var(--space-xl);
|
|
}
|
|
|
|
.mobile-nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 13px var(--space-xl);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-medium);
|
|
text-decoration: none;
|
|
border-bottom: 1px solid var(--border-primary);
|
|
transition: background var(--transition-fast), color var(--transition-fast);
|
|
min-height: 50px;
|
|
}
|
|
|
|
.mobile-nav-link:hover,
|
|
.mobile-nav-link:focus-visible {
|
|
background: var(--bg-secondary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.mobile-nav-link:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Theme toggle positioning */
|
|
.dark-mode-toggle {
|
|
width: 40px !important;
|
|
height: 40px !important;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.nav-toggle {
|
|
width: 42px !important;
|
|
height: 42px !important;
|
|
}
|
|
|
|
body:not(.js-ready) .header-nav,
|
|
body:not(.js-ready) .nav-overlay {
|
|
transition: none !important;
|
|
}
|
|
}
|
|
|
|
/* ===== HERO SECTION ===== */
|
|
.hero-section {
|
|
position: relative;
|
|
padding: calc(var(--header-height) + var(--space-6xl)) 0 var(--space-7xl);
|
|
background: var(--bg-primary);
|
|
overflow: hidden;
|
|
min-height: clamp(480px, 65vh, 720px);
|
|
display: grid;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border-primary);
|
|
}
|
|
|
|
.hero-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: radial-gradient(1000px 800px at 50% 0%, rgba(99, 102, 241, .04) 0%, transparent 60%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
[data-theme="dark"] .hero-section::before {
|
|
background: radial-gradient(1000px 800px at 50% 0%, rgba(129, 140, 248, .06) 0%, transparent 60%);
|
|
}
|
|
|
|
.hero-content {
|
|
text-align: center;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
animation: fadeInUp .5s ease-out;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(12px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion:reduce) {
|
|
.hero-content {
|
|
animation: none !important;
|
|
}
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
|
|
font-weight: var(--font-extrabold);
|
|
line-height: 1.15;
|
|
margin: 0 0 var(--space-xl);
|
|
color: var(--text-primary);
|
|
letter-spacing: -.025em;
|
|
}
|
|
|
|
.gradient-text {
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
display: inline-block;
|
|
}
|
|
|
|
[data-theme="dark"] .gradient-text {
|
|
background: linear-gradient(135deg, var(--primary-light) 0%, #c4b5fd 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: clamp(var(--text-base), 3vw, var(--text-lg));
|
|
color: var(--text-secondary);
|
|
margin: 0 0 var(--space-4xl);
|
|
max-width: 600px;
|
|
margin-inline: auto;
|
|
line-height: 1.65;
|
|
font-weight: var(--font-normal);
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: var(--space-lg);
|
|
justify-content: center;
|
|
margin-bottom: var(--space-5xl);
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.hero-actions .btn {
|
|
flex: 0 0 auto;
|
|
min-width: 160px;
|
|
}
|
|
|
|
.hero-stats {
|
|
display: flex;
|
|
gap: var(--space-6xl);
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
padding: var(--space-3xl) 0 0;
|
|
border-top: 1px solid var(--border-primary);
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.stat-item:not(:last-child)::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: calc(-1 * var(--space-3xl));
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 1px;
|
|
height: 40px;
|
|
background: var(--border-primary);
|
|
}
|
|
|
|
.stat-number {
|
|
display: block;
|
|
font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
|
|
font-weight: var(--font-extrabold);
|
|
margin-bottom: var(--space-xs);
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: var(--text-xs);
|
|
color: var(--text-tertiary);
|
|
text-transform: uppercase;
|
|
letter-spacing: .08em;
|
|
font-weight: var(--font-semibold);
|
|
}
|
|
|
|
.section {
|
|
padding: var(--section-pad-y) 0;
|
|
position: relative;
|
|
scroll-margin-top: calc(var(--header-height) + 1rem);
|
|
content-visibility: auto;
|
|
contain-intrinsic-size: 1px 600px;
|
|
background: var(--bg-primary);
|
|
border-bottom: 1px solid var(--border-primary);
|
|
}
|
|
|
|
.section+.section {
|
|
margin-top: 0;
|
|
border-top: none;
|
|
}
|
|
|
|
.section>:last-child {
|
|
margin-bottom: 0
|
|
}
|
|
|
|
.section:nth-child(even) {
|
|
background: var(--bg-secondary);
|
|
position: relative;
|
|
}
|
|
|
|
.section > .container {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: var(--space-4xl)
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(var(--text-2xl), 5.5vw, var(--text-4xl));
|
|
font-weight: var(--font-extrabold);
|
|
margin: 0 0 var(--space-lg);
|
|
color: var(--text-primary);
|
|
letter-spacing: -.02em;
|
|
line-height: 1.2
|
|
}
|
|
|
|
.section-description {
|
|
font-size: clamp(var(--text-base), 2.8vw, var(--text-lg));
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
max-width: 700px;
|
|
margin-inline: auto;
|
|
line-height: 1.6
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-md) var(--space-2xl);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-semibold);
|
|
text-decoration: none;
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-width: 160px;
|
|
min-height: 48px;
|
|
justify-content: center;
|
|
transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
will-change: transform;
|
|
}
|
|
|
|
.btn svg {
|
|
flex-shrink: 0;
|
|
transition: transform var(--transition-fast);
|
|
}
|
|
|
|
.btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, .03) 0%, rgba(139, 92, 246, .02) 100%);
|
|
opacity: 0;
|
|
transition: opacity var(--transition-fast);
|
|
z-index: -1
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.btn:hover svg {
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
|
|
color: #fff;
|
|
border-color: transparent;
|
|
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
|
|
transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%);
|
|
color: #fff;
|
|
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-primary::before {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .02) 100%)
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
border-color: var(--border-primary);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
background: var(--bg-secondary);
|
|
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(0);
|
|
box-shadow: var(--shadow-sm)
|
|
}
|
|
|
|
.btn:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 3px;
|
|
box-shadow: 0 0 0 6px rgba(99, 102, 241, .15);
|
|
}
|
|
|
|
.btn[disabled],
|
|
.btn.is-disabled {
|
|
opacity: .6;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
filter: grayscale(.15)
|
|
}
|
|
|
|
.btn.is-loading {
|
|
position: relative;
|
|
pointer-events: none
|
|
}
|
|
|
|
.btn.is-loading::after {
|
|
content: '';
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
border: 2px solid currentColor;
|
|
border-top-color: transparent;
|
|
animation: spin .8s linear infinite;
|
|
margin-left: var(--space-sm)
|
|
}
|
|
|
|
/* ===== LOAD ALL BUTTON ===== */
|
|
.load-all-container {
|
|
text-align: center;
|
|
padding: var(--space-2xl) 0;
|
|
margin-top: var(--space-xl);
|
|
animation: fadeIn 0.3s ease-in;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.load-all-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--space-lg) var(--space-2xl);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-semibold);
|
|
gap: var(--space-sm);
|
|
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
|
|
background-color: transparent;
|
|
border: 1px solid var(--primary);
|
|
border-radius: var(--radius-lg);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.load-all-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.load-all-btn svg {
|
|
transition: none;
|
|
}
|
|
|
|
.load-all-btn:hover svg {
|
|
transform: none;
|
|
}
|
|
|
|
.load-all-btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.7;
|
|
transform: none !important;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.load-all-container {
|
|
padding: var(--space-xl) var(--space-md);
|
|
}
|
|
|
|
.load-all-btn {
|
|
width: auto;
|
|
max-width: 300px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="email"],
|
|
select,
|
|
textarea {
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
border-radius: var(--radius-lg)
|
|
}
|
|
|
|
input[type="text"]:focus-visible,
|
|
input[type="email"]:focus-visible,
|
|
select:focus-visible,
|
|
textarea:focus-visible {
|
|
outline: 2px solid transparent;
|
|
box-shadow: var(--shadow-focus);
|
|
border-color: var(--primary);
|
|
transform: translateY(-1px)
|
|
}
|
|
|
|
input:disabled,
|
|
select:disabled,
|
|
textarea:disabled {
|
|
opacity: .6;
|
|
cursor: not-allowed
|
|
}
|
|
|
|
tr:focus-within {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: -3px;
|
|
box-shadow: inset 0 0 0 3px var(--primary);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Ensure links and buttons in tables are keyboard accessible */
|
|
table a:focus-visible,
|
|
table button:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: var(--space-lg)
|
|
}
|
|
|
|
.benefit-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: var(--space-2xl);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
min-height: 160px;
|
|
justify-content: center;
|
|
contain: layout style paint;
|
|
}
|
|
|
|
.benefit-card:hover {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 2px 12px rgba(99, 102, 241, .08);
|
|
}
|
|
|
|
.benefit-card:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.benefit-card .icon-badge {
|
|
width: 40px;
|
|
height: 40px;
|
|
color: var(--primary);
|
|
margin-bottom: var(--space-lg);
|
|
transition: color var(--transition-fast)
|
|
}
|
|
|
|
.benefit-card:hover .icon-badge {
|
|
color: var(--primary-hover)
|
|
}
|
|
|
|
.benefit-card h3 {
|
|
margin: 0 0 var(--space-sm);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary)
|
|
}
|
|
|
|
.benefit-card p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-size: var(--text-xs);
|
|
line-height: 1.4
|
|
}
|
|
|
|
.alert {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-md);
|
|
padding: var(--space-xl);
|
|
border-radius: var(--radius-lg);
|
|
margin: var(--space-xl) 0;
|
|
border: 1px solid var(--border-primary)
|
|
}
|
|
|
|
.alert-info {
|
|
background: rgba(59, 130, 246, .12);
|
|
border-color: rgba(59, 130, 246, .35);
|
|
color: #1e40af;
|
|
}
|
|
|
|
[data-theme="dark"] .alert-info {
|
|
background: rgba(59, 130, 246, .15);
|
|
border-color: rgba(59, 130, 246, .4);
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.alert-warning {
|
|
background: rgba(245, 158, 11, .12);
|
|
border-color: rgba(245, 158, 11, .4);
|
|
color: #92400e;
|
|
}
|
|
|
|
[data-theme="dark"] .alert-warning {
|
|
background: rgba(245, 158, 11, .15);
|
|
border-color: rgba(245, 158, 11, .45);
|
|
color: #fcd34d;
|
|
}
|
|
|
|
.alert-icon {
|
|
flex-shrink: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-top: 2px
|
|
}
|
|
|
|
.alert-icon,
|
|
.note-icon,
|
|
.icon-badge,
|
|
.resource-category-icon,
|
|
.search-icon,
|
|
.clear-icon-svg,
|
|
.sun-icon,
|
|
.moon-icon,
|
|
.logo-icon {
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
vector-effect: non-scaling-stroke;
|
|
overflow: visible;
|
|
display: inline-block
|
|
}
|
|
|
|
.alert-icon {
|
|
vertical-align: middle
|
|
}
|
|
|
|
.speed-section {
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-2xl);
|
|
border: 1px solid var(--border-primary);
|
|
padding: var(--space-4xl);
|
|
margin: var(--space-3xl) 0
|
|
}
|
|
|
|
.speed-header {
|
|
text-align: center;
|
|
margin-bottom: var(--space-3xl)
|
|
}
|
|
|
|
.speed-header h3 {
|
|
margin: 0 0 var(--space-md);
|
|
font-size: var(--text-2xl);
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary)
|
|
}
|
|
|
|
.speed-header p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin-inline: auto
|
|
}
|
|
|
|
.speed-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: var(--space-lg)
|
|
}
|
|
|
|
.speed-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-sm);
|
|
padding: var(--space-xl);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
text-decoration: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
min-height: 120px
|
|
}
|
|
|
|
.speed-card:hover {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 2px 12px rgba(99, 102, 241, .08)
|
|
}
|
|
|
|
.speed-card .service-name {
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-base)
|
|
}
|
|
|
|
.speed-card .speed-test-label {
|
|
font-size: .65rem;
|
|
color: var(--text-secondary)
|
|
}
|
|
|
|
.important-notes-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
gap: var(--space-xl)
|
|
}
|
|
|
|
.note-card {
|
|
display: flex;
|
|
gap: var(--space-lg);
|
|
padding: var(--space-2xl);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast)
|
|
}
|
|
|
|
.note-card--info {
|
|
border-left: 4px solid #3b82f6
|
|
}
|
|
|
|
.note-card--warning {
|
|
border-left: 4px solid #f59e0b
|
|
}
|
|
|
|
.note-card--tip {
|
|
border-left: 4px solid var(--success)
|
|
}
|
|
|
|
.note-card:hover {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 2px 12px rgba(99, 102, 241, .08)
|
|
}
|
|
|
|
.note-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: var(--primary);
|
|
flex-shrink: 0;
|
|
margin-top: 2px
|
|
}
|
|
|
|
.note-content h3 {
|
|
margin: 0 0 var(--space-sm);
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary)
|
|
}
|
|
|
|
.note-content p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-size: var(--text-sm);
|
|
line-height: 1.5
|
|
}
|
|
|
|
.note-content ul {
|
|
margin: var(--space-md) 0 0;
|
|
padding-left: var(--space-3xl)
|
|
}
|
|
|
|
.note-content li {
|
|
margin: var(--space-xs) 0
|
|
}
|
|
|
|
/* Legacy support - removed old .resource-category, .resource-list, .resource-item styles (replaced by .resource-card) */
|
|
|
|
/* ===== TABLE BASE STYLES ===== */
|
|
.data-table-container {
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--border-primary);
|
|
margin: var(--space-xl) 0;
|
|
overflow: hidden;
|
|
width: 100%
|
|
}
|
|
|
|
.table-wrapper {
|
|
overflow-x: auto;
|
|
border-radius: var(--radius-md);
|
|
width: 100%;
|
|
-webkit-overflow-scrolling: touch;
|
|
overscroll-behavior-x: contain;
|
|
border: none;
|
|
box-shadow: none;
|
|
/* Improved scrollbar visibility */
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--primary-light) var(--bg-secondary);
|
|
}
|
|
|
|
/* Webkit scrollbar styling for better visibility */
|
|
.table-wrapper::-webkit-scrollbar {
|
|
height: 8px;
|
|
}
|
|
|
|
.table-wrapper::-webkit-scrollbar-track {
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.table-wrapper::-webkit-scrollbar-thumb {
|
|
background: var(--primary-light);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.table-wrapper::-webkit-scrollbar-thumb:hover {
|
|
background: var(--primary);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: var(--text-sm);
|
|
min-width: 600px;
|
|
background: var(--bg-primary)
|
|
}
|
|
|
|
td,
|
|
th {
|
|
word-break:normal;
|
|
word-wrap:break-word;
|
|
hyphens: auto;
|
|
white-space: normal;
|
|
padding: var(--space-lg) var(--space-xl);
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-primary);
|
|
max-width: 300px;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
th {
|
|
background: var(--primary);
|
|
color: #fff;
|
|
font-weight: var(--font-semibold);
|
|
text-transform: uppercase;
|
|
letter-spacing: .05em;
|
|
font-size: var(--text-xs);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100
|
|
}
|
|
|
|
.social-btn,
|
|
.github-link {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-full);
|
|
color: var(--text-secondary);
|
|
transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast)
|
|
}
|
|
|
|
.social-btn:hover,
|
|
.github-link:hover {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
color: #fff
|
|
}
|
|
|
|
.social-btn:focus-visible,
|
|
.github-link:focus-visible {
|
|
outline: 2px solid transparent;
|
|
box-shadow: 0 0 0 3px rgb(99 102 241 / .35)
|
|
}
|
|
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
border: 0
|
|
}
|
|
|
|
/* Screen reader only text that becomes visible on focus */
|
|
.sr-only-focusable:not(:focus):not(:focus-within) {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0 0 0 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* ARIA live regions should be visible but can be styled minimally */
|
|
[aria-live] {
|
|
position: relative;
|
|
}
|
|
|
|
/* ===== TABLE ALTERNATING ROWS ===== */
|
|
#file-hosts-table tr:nth-child(even),
|
|
.enhanced-table tr:nth-child(even),
|
|
.pricing-table tr:nth-child(even),
|
|
.policies-table tr:nth-child(even),
|
|
.comparison-table tr:nth-child(even) {
|
|
background-color: var(--bg-tertiary)
|
|
}
|
|
|
|
/* ===== TABLE STATUS & INTERACTION ===== */
|
|
.status-cell,
|
|
.support-status {
|
|
text-align: center;
|
|
}
|
|
|
|
.status-indicator {
|
|
display: inline-block;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
transition: transform var(--transition-fast), opacity var(--transition-fast);
|
|
}
|
|
|
|
.status-cell:hover .status-indicator,
|
|
.support-status:hover .status-indicator {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.empty-state-row {
|
|
text-align: center;
|
|
padding: var(--space-2xl) !important;
|
|
color: var(--text-secondary);
|
|
background: var(--bg-secondary);
|
|
font-style: italic;
|
|
}
|
|
.search-results {
|
|
text-align: center;
|
|
font-size: var(--text-sm);
|
|
color: var(--text-secondary);
|
|
padding: var(--space-md) 0;
|
|
background: rgba(99, 102, 241, 0.05);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: var(--space-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-xs);
|
|
animation: slideDown 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.search-results svg {
|
|
flex-shrink: 0;
|
|
stroke: var(--primary);
|
|
}
|
|
|
|
[data-theme="dark"] .search-results {
|
|
background: rgba(99, 102, 241, 0.1);
|
|
}
|
|
.pricing-table .service-name {
|
|
color: inherit
|
|
}
|
|
|
|
/* ===== STICKY FIRST COLUMN - ALL TABLES ===== */
|
|
#file-hosts-table th:first-child,
|
|
#file-hosts-table td:first-child,
|
|
.enhanced-table th:first-child,
|
|
.enhanced-table td:first-child,
|
|
.pricing-table th:first-child,
|
|
.pricing-table td:first-child,
|
|
.policies-table th:first-child,
|
|
.policies-table td:first-child {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 10;
|
|
box-shadow: 2px 0 6px -4px rgba(0, 0, 0, .06);
|
|
}
|
|
.policies-table td:first-child{
|
|
font-weight: bold
|
|
}
|
|
|
|
/* Header cells in first column - higher z-index */
|
|
#file-hosts-table th:first-child,
|
|
.enhanced-table th:first-child,
|
|
.pricing-table th:first-child,
|
|
.policies-table th:first-child {
|
|
z-index: 101;
|
|
background: var(--primary);
|
|
}
|
|
|
|
/* Default background for first column data cells */
|
|
#file-hosts-table td:first-child,
|
|
.enhanced-table td:first-child,
|
|
.pricing-table td:first-child,
|
|
.policies-table td:first-child {
|
|
background-color: var(--bg-primary)
|
|
}
|
|
|
|
/* Alternating row background for first column */
|
|
#file-hosts-table tr:nth-child(even) td:first-child,
|
|
.enhanced-table tr:nth-child(even) td:first-child,
|
|
.pricing-table tr:nth-child(even) td:first-child,
|
|
.policies-table tr:nth-child(even) td:first-child {
|
|
background-color: var(--bg-tertiary)
|
|
}
|
|
|
|
/* First column tbody headers (pricing/policies tables) */
|
|
.policies-table tbody tr th:first-child,
|
|
.pricing-table tbody tr th:first-child {
|
|
background-color: var(--bg-primary);
|
|
color: inherit;
|
|
font-weight: var(--font-medium)
|
|
}
|
|
|
|
.policies-table tbody tr:nth-child(even) th:first-child,
|
|
.pricing-table tbody tr:nth-child(even) th:first-child {
|
|
background-color: var(--bg-tertiary);
|
|
}
|
|
|
|
/* ===== RESPONSIVE TABLE IMPROVEMENTS ===== */
|
|
@media (max-width: 768px) {
|
|
.data-table-container {
|
|
margin: var(--space-2xl) 0;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
table {
|
|
min-width: 700px;
|
|
font-size: var(--text-xs);
|
|
}
|
|
|
|
td, th {
|
|
padding: var(--space-md) var(--space-lg);
|
|
}
|
|
|
|
th {
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.data-table-container {
|
|
margin: var(--space-xl) 0;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.table-wrapper {
|
|
scrollbar-width: auto;
|
|
padding-bottom: var(--space-xs);
|
|
}
|
|
|
|
.table-wrapper::-webkit-scrollbar {
|
|
height: 10px;
|
|
}
|
|
|
|
table {
|
|
min-width: 650px;
|
|
font-size: var(--text-xs);
|
|
}
|
|
|
|
td, th {
|
|
padding: var(--space-sm) var(--space-md);
|
|
}
|
|
|
|
th {
|
|
font-size: 0.65rem;
|
|
padding: var(--space-md) var(--space-md);
|
|
}
|
|
|
|
/* Ensure first column stays visible and readable */
|
|
#file-hosts-table th:first-child,
|
|
#file-hosts-table td:first-child,
|
|
.enhanced-table th:first-child,
|
|
.enhanced-table td:first-child,
|
|
.pricing-table th:first-child,
|
|
.pricing-table td:first-child,
|
|
.policies-table th:first-child,
|
|
.policies-table td:first-child {
|
|
min-width: 120px;
|
|
max-width: 150px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
table {
|
|
min-width: 600px;
|
|
}
|
|
|
|
td, th {
|
|
padding: var(--space-sm) var(--space-sm);
|
|
}
|
|
|
|
#file-hosts-table th:first-child,
|
|
#file-hosts-table td:first-child,
|
|
.enhanced-table th:first-child,
|
|
.enhanced-table td:first-child,
|
|
.pricing-table th:first-child,
|
|
.pricing-table td:first-child,
|
|
.policies-table th:first-child,
|
|
.policies-table td:first-child {
|
|
min-width: 100px;
|
|
max-width: 120px;
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
|
|
.filter-results {
|
|
text-align: center;
|
|
padding: .1em;
|
|
font-size: var(--text-sm);
|
|
color: var(--text-secondary);
|
|
font-family: 'Courier New', Courier, monospace
|
|
}
|
|
|
|
.search-section {
|
|
margin-bottom: var(--space-4xl)
|
|
}
|
|
|
|
.search-container {
|
|
position: relative;
|
|
max-width: 500px;
|
|
margin: 0 auto
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: var(--space-lg);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-tertiary);
|
|
width: 20px;
|
|
height: 20px
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
padding: var(--space-lg) var(--space-5xl);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-xl);
|
|
font-size: var(--text-base);
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
outline: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
padding-inline: var(--space-5xl);
|
|
padding-block: var(--space-lg)
|
|
}
|
|
|
|
.search-input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.search-input:focus-visible {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.clear-icon {
|
|
position: absolute;
|
|
right: var(--space-lg);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-tertiary);
|
|
cursor: pointer;
|
|
padding: var(--space-sm);
|
|
border-radius: var(--radius-md);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity var(--transition-fast), visibility var(--transition-fast);
|
|
width: 20px;
|
|
height: 20px
|
|
}
|
|
|
|
.search-input:not(:placeholder-shown)+.clear-icon {
|
|
opacity: 1;
|
|
visibility: visible
|
|
}
|
|
|
|
.clear-icon:hover {
|
|
background: var(--bg-secondary);
|
|
color: var(--primary)
|
|
}
|
|
|
|
.clear-icon:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
|
|
}
|
|
.status-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: var(--space-xl)
|
|
}
|
|
|
|
.status-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: var(--space-xl);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
text-decoration: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
min-height: 120px;
|
|
contain: layout style paint;
|
|
}
|
|
|
|
.status-card:hover {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 2px 12px rgba(99, 102, 241, .08);
|
|
}
|
|
|
|
.status-card:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 5px rgba(99, 102, 241, .1);
|
|
}
|
|
|
|
.status-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--space-md)
|
|
}
|
|
|
|
.service-name {
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary)
|
|
}
|
|
|
|
.service-status-indicator {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: var(--radius-full);
|
|
background: var(--success);
|
|
box-shadow: 0 0 0 2px rgba(16, 185, 129, .2)
|
|
}
|
|
|
|
.status-card p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-size: var(--text-sm);
|
|
line-height: 1.5
|
|
}
|
|
|
|
/* ===== RESOURCES SECTION ===== */
|
|
.resources-section-wrapper {
|
|
margin-bottom: var(--space-6xl);
|
|
}
|
|
|
|
.resources-section-wrapper:last-of-type {
|
|
margin-bottom: var(--space-4xl);
|
|
}
|
|
|
|
.resource-section-header {
|
|
margin-bottom: var(--space-3xl);
|
|
text-align: center;
|
|
}
|
|
|
|
.resource-section-header h3 {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
font-size: var(--text-2xl);
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary);
|
|
margin: 0;
|
|
}
|
|
|
|
.resource-section-header .section-icon {
|
|
color: var(--primary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.resources-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.resources-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.resource-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: var(--space-xl);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
text-decoration: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
|
|
min-height: 140px;
|
|
}
|
|
|
|
.resource-card:hover {
|
|
border-color: var(--primary);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(99, 102, 241, .1);
|
|
}
|
|
|
|
.resource-card.info-card {
|
|
cursor: default;
|
|
border-style: dashed;
|
|
}
|
|
|
|
.resource-card.info-card:hover {
|
|
transform: none;
|
|
border-color: var(--border-primary);
|
|
}
|
|
|
|
.resource-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--space-md);
|
|
margin-bottom: var(--space-md);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.resource-name {
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-base);
|
|
line-height: 1.3;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.resource-tags {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
margin-block: 0.5rem;
|
|
}
|
|
|
|
.resource-tags .tag {
|
|
font-size: 0.65rem;
|
|
color: var(--primary);
|
|
background: rgba(79, 70, 229, 0.12);
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-md);
|
|
font-weight: var(--font-semibold);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.resource-description {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-size: var(--text-sm);
|
|
line-height: 1.6;
|
|
flex: 1;
|
|
}
|
|
|
|
.resource-links {
|
|
margin-top: var(--space-md);
|
|
display: flex;
|
|
gap: var(--space-lg);
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.resource-links a {
|
|
color: var(--primary);
|
|
font-size: var(--text-sm);
|
|
text-decoration: none;
|
|
font-weight: var(--font-medium);
|
|
transition: color var(--transition-fast);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.resource-links a:hover {
|
|
color: var(--primary-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.resource-card {
|
|
min-height: 120px;
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.resource-card:hover {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
.referral-section {
|
|
margin: var(--space-5xl) 0;
|
|
padding: var(--space-4xl) var(--space-3xl);
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-xl);
|
|
border: 1px solid var(--border-primary);
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.referral-header h2 {
|
|
margin: 0 0 var(--space-md);
|
|
color: var(--text-primary);
|
|
font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
|
|
font-weight: var(--font-bold);
|
|
}
|
|
|
|
.referral-header p {
|
|
margin: 0 auto var(--space-4xl);
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
font-size: var(--text-base);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Enhanced Referral Grid */
|
|
.enhanced-referral-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: var(--space-lg);
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.enhanced-referral-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.referral-section {
|
|
padding: var(--space-3xl) var(--space-lg);
|
|
margin: var(--space-4xl) 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.enhanced-referral-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.referral-section {
|
|
padding: var(--space-2xl) var(--space-md);
|
|
}
|
|
}
|
|
|
|
/* Simplified Referral Card */
|
|
.enhanced-referral-card {
|
|
display: block;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
text-decoration: none;
|
|
width: 100%;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
position: relative;
|
|
overflow: visible;
|
|
contain: layout style;
|
|
}
|
|
|
|
.enhanced-referral-card:hover {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
|
|
}
|
|
|
|
.enhanced-referral-card:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 5px rgba(99, 102, 241, .15);
|
|
}
|
|
|
|
.enhanced-referral-card.featured {
|
|
border-color: var(--primary);
|
|
border-width: 2px;
|
|
}
|
|
|
|
.popular-badge {
|
|
position: absolute;
|
|
top: -10px;
|
|
right: 12px;
|
|
background: var(--primary);
|
|
color: white;
|
|
padding: 4px 12px;
|
|
border-radius: var(--radius-full);
|
|
font-size: 0.65rem;
|
|
font-weight: var(--font-bold);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
|
|
z-index: 2;
|
|
}
|
|
|
|
.referral-card-inner {
|
|
padding: var(--space-xl) var(--space-lg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-sm);
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.enhanced-referral-card .service-name {
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-lg);
|
|
line-height: 1.2;
|
|
display: block;
|
|
}
|
|
|
|
.enhanced-referral-card .referral-badge {
|
|
display: inline-block;
|
|
font-size: 0.7rem;
|
|
color: var(--text-tertiary);
|
|
background: var(--bg-secondary);
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius-md);
|
|
font-weight: var(--font-medium);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.referral-benefit {
|
|
color: var(--text-primary);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-semibold);
|
|
margin: var(--space-sm) 0;
|
|
}
|
|
|
|
.referral-cta-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
padding: var(--space-sm) var(--space-lg);
|
|
background: transparent;
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
font-weight: var(--font-semibold);
|
|
font-size: var(--text-sm);
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
|
|
margin-top: var(--space-sm);
|
|
}
|
|
|
|
.enhanced-referral-card:hover .referral-cta-button {
|
|
background: var(--primary);
|
|
color: white;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
/* Legacy support - keep old classes for backward compatibility */
|
|
/* Legacy support - removed duplicate old .referral-card and .referral-grid styles */
|
|
|
|
.referral-badge,
|
|
.speed-test-label {
|
|
font-size: .65rem;
|
|
color: var(--primary);
|
|
background: rgba(99, 102, 241, .1);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
border-radius: var(--radius-md);
|
|
font-weight: var(--font-medium);
|
|
text-transform: uppercase;
|
|
letter-spacing: .05em
|
|
}
|
|
|
|
.compare-controls {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
gap: var(--space-xl);
|
|
margin-bottom: var(--space-4xl);
|
|
align-items: end;
|
|
max-width: 800px;
|
|
margin-inline: auto
|
|
}
|
|
|
|
.compare-select-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0
|
|
}
|
|
|
|
.compare-select-group label {
|
|
display: block;
|
|
margin-bottom: var(--space-sm);
|
|
font-weight: var(--font-medium);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-sm);
|
|
text-align: center
|
|
}
|
|
|
|
.select-wrapper {
|
|
position: relative;
|
|
width: 100%
|
|
}
|
|
|
|
select {
|
|
width: 100%;
|
|
padding: var(--space-lg) var(--space-4xl) var(--space-lg) var(--space-lg);
|
|
border: 2px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-base);
|
|
cursor: pointer;
|
|
appearance: none;
|
|
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
|
min-height: 48px
|
|
}
|
|
|
|
select:focus {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 5px rgba(99, 102, 241, .15);
|
|
}
|
|
|
|
select:focus-visible {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: 2px;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 5px rgba(99, 102, 241, .15);
|
|
}
|
|
|
|
select:hover {
|
|
border-color: var(--primary)
|
|
}
|
|
|
|
.select-wrapper::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: var(--space-lg);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 6px solid transparent;
|
|
border-right: 6px solid transparent;
|
|
border-top: 6px solid var(--text-tertiary);
|
|
pointer-events: none;
|
|
transition: border-top-color var(--transition-fast)
|
|
}
|
|
|
|
.select-wrapper:hover::after {
|
|
border-top-color: var(--primary)
|
|
}
|
|
|
|
.select-wrapper:focus-within::after {
|
|
border-top-color: var(--primary)
|
|
}
|
|
|
|
.compare-vs {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-bold);
|
|
color: var(--primary);
|
|
background: var(--bg-primary);
|
|
padding: var(--space-md) var(--space-md);
|
|
border-radius: var(--radius-xl);
|
|
border: 2px solid var(--border-primary);
|
|
min-width: 60px;
|
|
min-height: 48px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .1em;
|
|
box-shadow: var(--shadow-sm);
|
|
transition: box-shadow var(--transition-fast)
|
|
}
|
|
|
|
.compare-vs:hover {
|
|
box-shadow: var(--shadow-md)
|
|
}
|
|
|
|
.compare-select-group:focus-within label {
|
|
color: var(--primary)
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: var(--space-6xl);
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-lg);
|
|
border: 2px dashed var(--border-primary);
|
|
margin: var(--space-2xl) 0
|
|
}
|
|
|
|
.empty-state-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
color: var(--text-tertiary);
|
|
margin: 0 auto var(--space-xl);
|
|
opacity: .7
|
|
}
|
|
|
|
.empty-state h3 {
|
|
margin: 0 0 var(--space-md);
|
|
font-size: var(--text-xl);
|
|
color: var(--text-primary);
|
|
font-weight: var(--font-semibold)
|
|
}
|
|
|
|
.empty-state p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-size: var(--text-base);
|
|
max-width: 400px;
|
|
margin-inline: auto;
|
|
line-height: 1.5
|
|
}
|
|
|
|
.loading-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--space-5xl);
|
|
color: var(--text-secondary)
|
|
}
|
|
|
|
.loading-state .loading-spinner {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 3px solid var(--border-primary);
|
|
border-top: 3px solid var(--primary);
|
|
border-radius: var(--radius-full);
|
|
animation: spin 1s linear infinite;
|
|
margin-bottom: var(--space-lg)
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg)
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg)
|
|
}
|
|
}
|
|
|
|
.loading-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
background: radial-gradient(80% 60% at 50% 40%, rgba(0, 0, 0, .04), transparent 60%), color-mix(in srgb, var(--bg-primary) 88%, transparent);
|
|
backdrop-filter: blur(2px);
|
|
-webkit-backdrop-filter: blur(2px);
|
|
opacity: 0;
|
|
transition: opacity var(--transition-normal);
|
|
z-index: 200
|
|
}
|
|
|
|
.loading-overlay--visible {
|
|
opacity: 1
|
|
}
|
|
|
|
.loading-content {
|
|
text-align: center;
|
|
color: var(--text-secondary)
|
|
}
|
|
|
|
.loading-spinner {
|
|
position: relative;
|
|
width: 42px;
|
|
height: 42px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
margin-bottom: var(--space-md)
|
|
}
|
|
|
|
.loading-spinner .spinner-ring {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
border: 3px solid var(--border-primary);
|
|
border-top-color: var(--primary);
|
|
animation: spin 1s linear infinite
|
|
}
|
|
|
|
.loading-spinner .spinner-ring:nth-child(2) {
|
|
inset: 6px;
|
|
opacity: .7;
|
|
animation-duration: 1.4s
|
|
}
|
|
|
|
.loading-spinner .spinner-ring:nth-child(3) {
|
|
inset: 12px;
|
|
opacity: .5;
|
|
animation-duration: 1.8s
|
|
}
|
|
|
|
.loading-text {
|
|
font-size: var(--text-sm);
|
|
color: var(--text-secondary)
|
|
}
|
|
|
|
.comparison-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-lg);
|
|
padding: var(--space-2xl);
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
margin-bottom: var(--space-2xl);
|
|
box-shadow: var(--shadow-sm);
|
|
position: relative;
|
|
overflow: hidden
|
|
}
|
|
|
|
.comparison-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, .03), rgba(139, 92, 246, .03));
|
|
pointer-events: none
|
|
}
|
|
|
|
.comparison-header h3 {
|
|
margin: 0;
|
|
font-size: var(--text-xl);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
text-align: center;
|
|
line-height: 1.3;
|
|
position: relative;
|
|
z-index: 1
|
|
}
|
|
|
|
.comparison-stats {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--space-2xl);
|
|
flex-wrap: wrap
|
|
}
|
|
|
|
.comparison-stats .stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
min-width: 80px;
|
|
padding: var(--space-sm)
|
|
}
|
|
|
|
.comparison-stats .stat-label {
|
|
font-size: var(--text-xs);
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--space-xs);
|
|
text-transform: uppercase;
|
|
letter-spacing: .05em;
|
|
font-weight: var(--font-medium)
|
|
}
|
|
|
|
.comparison-stats .stat-value {
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-bold);
|
|
color: var(--primary)
|
|
}
|
|
|
|
.comparison-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--space-md);
|
|
flex-wrap: wrap
|
|
}
|
|
|
|
.comparison-actions .btn {
|
|
padding: var(--space-sm) var(--space-lg);
|
|
font-size: var(--text-sm);
|
|
min-width: auto;
|
|
border-radius: var(--radius-md);
|
|
transition: background-color var(--transition-fast), border-color var(--transition-fast)
|
|
}
|
|
|
|
.comparison-filters {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--space-lg);
|
|
padding: var(--space-lg);
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: var(--space-2xl);
|
|
flex-wrap: wrap;
|
|
border: 1px solid var(--border-primary);
|
|
position: relative;
|
|
overflow: hidden
|
|
}
|
|
|
|
.comparison-filters::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, .02), rgba(139, 92, 246, .02));
|
|
pointer-events: none
|
|
}
|
|
|
|
.comparison-filters .filter-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
cursor: pointer;
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-medium);
|
|
color: var(--text-secondary);
|
|
transition: color var(--transition-fast);
|
|
padding: var(--space-xs) var(--space-sm);
|
|
border-radius: var(--radius-sm);
|
|
position: relative;
|
|
z-index: 1
|
|
}
|
|
|
|
.comparison-filters .filter-option:hover {
|
|
color: var(--text-primary);
|
|
background: var(--bg-primary)
|
|
}
|
|
|
|
.comparison-filters input[type="radio"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
accent-color: var(--primary)
|
|
}
|
|
|
|
.comparison-filters input[type="radio"]:checked+span {
|
|
color: var(--primary);
|
|
font-weight: var(--font-semibold)
|
|
}
|
|
|
|
/* ===== COMPARISON TABLE ===== */
|
|
.comparison-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: var(--space-lg);
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-sm);
|
|
border: 1px solid var(--border-primary)
|
|
}
|
|
|
|
.comparison-table th,
|
|
.comparison-table td {
|
|
padding: var(--space-lg);
|
|
text-align: center;
|
|
border-bottom: 1px solid var(--border-primary);
|
|
vertical-align: middle
|
|
}
|
|
|
|
.comparison-table th {
|
|
background: var(--bg-secondary);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
font-size: var(--text-sm);
|
|
text-transform: uppercase;
|
|
letter-spacing: .05em
|
|
}
|
|
|
|
.comparison-table th:first-child {
|
|
text-align: left;
|
|
background: var(--bg-secondary);
|
|
color: var(--text-primary);
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 101;
|
|
box-shadow: 2px 0 6px -4px rgba(0, 0, 0, .06)
|
|
}
|
|
|
|
.comparison-table .provider-header {
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-bold);
|
|
background: var(--bg-elevated);
|
|
color: var(--primary)
|
|
}
|
|
|
|
.comparison-table td:first-child {
|
|
text-align: left;
|
|
font-weight: var(--font-medium);
|
|
background: var(--bg-primary);
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 101;
|
|
box-shadow: 2px 0 6px -4px rgba(0, 0, 0, .06)
|
|
}
|
|
|
|
.comparison-table tr:nth-child(even) td:first-child {
|
|
background-color: var(--bg-tertiary)
|
|
}
|
|
|
|
.comparison-row:hover {
|
|
background: var(--bg-secondary)
|
|
}
|
|
|
|
.comparison-row:hover td:first-child {
|
|
background: var(--bg-secondary)
|
|
}
|
|
|
|
.comparison-hiding {
|
|
opacity: 0;
|
|
transform: scale(.98);
|
|
transition: opacity var(--transition-fast), transform var(--transition-fast)
|
|
}
|
|
|
|
.comparison-table .table-check,
|
|
.comparison-table .table-cross {
|
|
font-weight: var(--font-semibold)
|
|
}
|
|
|
|
.compare-section-wrapper {
|
|
position: relative;
|
|
overflow: hidden
|
|
}
|
|
|
|
#compare-table-container {
|
|
min-height: 200px;
|
|
transition: opacity var(--transition-fast);
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-lg);
|
|
position: relative;
|
|
overflow: hidden
|
|
}
|
|
|
|
#compare-table-container::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, .01), rgba(139, 92, 246, .01));
|
|
pointer-events: none;
|
|
z-index: 0
|
|
}
|
|
|
|
#compare-table-container>* {
|
|
position: relative;
|
|
z-index: 1
|
|
}
|
|
|
|
#compare-table-container.loading {
|
|
opacity: .7;
|
|
pointer-events: none
|
|
}
|
|
|
|
.same-provider-warning {
|
|
background: var(--warning-bg, #fef3cd);
|
|
border: 1px solid var(--warning-border, #facc15);
|
|
color: var(--warning-text, #92400e);
|
|
padding: var(--space-lg);
|
|
border-radius: var(--radius-lg);
|
|
margin: var(--space-xl) 0;
|
|
text-align: center;
|
|
font-weight: var(--font-medium)
|
|
}
|
|
|
|
.same-provider-warning .warning-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: var(--space-sm);
|
|
vertical-align: middle
|
|
}
|
|
|
|
.comparison-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--space-5xl);
|
|
color: var(--text-secondary);
|
|
background: var(--bg-primary);
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid var(--border-primary);
|
|
position: relative;
|
|
overflow: hidden
|
|
}
|
|
|
|
.comparison-loading::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, .02), rgba(139, 92, 246, .02));
|
|
pointer-events: none
|
|
}
|
|
|
|
.comparison-loading .loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid var(--border-primary);
|
|
border-top: 3px solid var(--primary);
|
|
border-radius: var(--radius-full);
|
|
animation: spin 1s linear infinite;
|
|
margin-bottom: var(--space-lg);
|
|
position: relative;
|
|
z-index: 1
|
|
}
|
|
|
|
.comparison-loading p {
|
|
margin: 0;
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-medium);
|
|
position: relative;
|
|
z-index: 1
|
|
}
|
|
|
|
#compare .section-header {
|
|
margin-bottom: var(--space-3xl);
|
|
text-align: center
|
|
}
|
|
|
|
#compare .section-description {
|
|
font-size: var(--text-lg);
|
|
color: var(--text-secondary);
|
|
max-width: 600px;
|
|
margin-inline: auto
|
|
}
|
|
|
|
#compare {
|
|
position: relative;
|
|
background: var(--bg-primary)
|
|
}
|
|
|
|
#compare .container {
|
|
position: relative
|
|
}
|
|
|
|
.compare-controls {
|
|
position: relative;
|
|
z-index: 1
|
|
}
|
|
|
|
/* ===== MODERN FOOTER ===== */
|
|
.site-footer {
|
|
background: var(--bg-secondary);
|
|
border-top: 1px solid var(--border-primary);
|
|
padding: var(--space-5xl) 0 var(--space-3xl);
|
|
margin-top: auto;
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.site-footer::before {
|
|
content: none;
|
|
}
|
|
|
|
.footer-content {
|
|
display: grid;
|
|
grid-template-columns: 1.5fr 1fr 1fr 1fr;
|
|
gap: var(--space-3xl);
|
|
margin-bottom: var(--space-4xl);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.footer-content {
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-3xl);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.footer-content {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-4xl);
|
|
}
|
|
}
|
|
|
|
.footer-brand-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xl);
|
|
}
|
|
|
|
.footer-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.footer-logo-wrapper {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.footer-logo {
|
|
width: 28px;
|
|
height: 28px;
|
|
color: var(--primary);
|
|
filter: none;
|
|
}
|
|
|
|
.footer-brand-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.footer-brand h2 {
|
|
margin: 0;
|
|
font-size: var(--text-xl);
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.footer-tagline {
|
|
margin: 0;
|
|
font-size: var(--text-xs);
|
|
color: var(--text-secondary);
|
|
font-weight: var(--font-medium);
|
|
text-transform: uppercase;
|
|
letter-spacing: .1em;
|
|
}
|
|
|
|
.footer-description {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.footer-section h3 {
|
|
margin: 0 0 var(--space-md);
|
|
font-size: var(--text-base);
|
|
font-weight: var(--font-bold);
|
|
color: var(--text-primary);
|
|
position: relative;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.footer-section h3::after {
|
|
content: '';
|
|
display: block;
|
|
width: 52px;
|
|
height: 2px;
|
|
margin-top: var(--space-xs);
|
|
background: var(--primary);
|
|
border-radius: var(--radius-full);
|
|
}
|
|
|
|
.footer-links {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.footer-links li {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.footer-links a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.5;
|
|
padding: 2px 0;
|
|
transition: color var(--transition-fast);
|
|
position: relative;
|
|
}
|
|
|
|
.footer-links a::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 2px;
|
|
width: 0;
|
|
height: 1px;
|
|
background: var(--primary);
|
|
transition: width var(--transition-fast);
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.footer-links a:hover::before {
|
|
width: 100%;
|
|
}
|
|
|
|
.footer-links a svg {
|
|
display: none;
|
|
}
|
|
|
|
.footer-bottom {
|
|
padding-top: var(--space-2xl);
|
|
border-top: 1px solid var(--border-primary);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.footer-bottom-content {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-2xl);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.footer-bottom-content {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: var(--space-xl);
|
|
}
|
|
|
|
.footer-section,
|
|
.footer-brand-section,
|
|
.footer-brand-text,
|
|
.footer-left,
|
|
.footer-right {
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-brand,
|
|
.footer-links,
|
|
.footer-copyright,
|
|
.footer-meta {
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-links a {
|
|
justify-content: center;
|
|
}
|
|
|
|
.footer-links a::before {
|
|
display: none;
|
|
}
|
|
|
|
.footer-disclaimer {
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-section h3::after {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.footer-right {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.footer-copyright {
|
|
margin: 0 0 var(--space-sm);
|
|
color: var(--text-tertiary);
|
|
font-size: var(--text-sm);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.footer-copyright strong {
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.made-with {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.heart-icon {
|
|
display: inline-block;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.footer-copyright a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
font-weight: var(--font-semibold);
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.footer-copyright a:hover {
|
|
color: var(--primary-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.footer-disclaimer {
|
|
margin: 0;
|
|
font-size: var(--text-xs);
|
|
color: var(--text-muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.footer-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-xl);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.footer-meta {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.last-updated {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-xs);
|
|
font-size: var(--text-xs);
|
|
color: var(--text-secondary);
|
|
padding: 0;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.last-updated svg {
|
|
flex-shrink: 0;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.github-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: auto;
|
|
height: auto;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 0;
|
|
color: var(--text-secondary);
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.github-link:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.github-link:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* ===== BACK TO TOP BUTTON ===== */
|
|
.back-to-top {
|
|
position: fixed;
|
|
bottom: var(--space-2xl);
|
|
right: var(--space-2xl);
|
|
width: 48px;
|
|
height: 48px;
|
|
background: var(--primary);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: var(--radius-full);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: var(--shadow-md);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(10px);
|
|
z-index: 50;
|
|
transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast)
|
|
}
|
|
|
|
.back-to-top.visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0)
|
|
}
|
|
|
|
.back-to-top:hover {
|
|
background: var(--primary-hover);
|
|
transform: translateY(-2px)
|
|
}
|
|
|
|
.back-to-top:focus-visible {
|
|
outline: 2px solid transparent;
|
|
box-shadow: var(--shadow-focus)
|
|
}
|
|
|
|
@media (max-width:1024px) {
|
|
.container {
|
|
padding-inline: var(--space-xl)
|
|
}
|
|
}
|
|
|
|
@media (max-width:900px) {
|
|
.hero-section {
|
|
padding:clamp(3.5rem, 10vw, 5rem) 0 clamp(3rem, 8vw, 4rem); min-height:clamp(460px, 65vh, 720px)
|
|
}
|
|
|
|
.footer-content {
|
|
grid-template-columns:repeat(2, 1fr); gap:var(--space-xl)
|
|
}
|
|
|
|
.important-notes-grid {
|
|
grid-template-columns:1fr
|
|
}
|
|
|
|
.comparison-header {
|
|
padding:var(--space-lg); gap:var(--space-md)
|
|
}
|
|
|
|
.comparison-stats {
|
|
gap:var(--space-lg)
|
|
}
|
|
|
|
.comparison-filters {
|
|
flex-direction:column; gap:var(--space-md); align-items:center
|
|
}
|
|
|
|
.compare-controls {
|
|
flex-direction:column; align-items:center; gap:var(--space-xl); max-width: 100%;
|
|
}
|
|
|
|
.compare-vs {
|
|
order:2; margin:var(--space-lg) 0
|
|
}
|
|
|
|
.compare-select-group:first-child {
|
|
order:1; width: 100%; max-width: 100%;
|
|
}
|
|
|
|
.compare-select-group:last-child {
|
|
order:3; width: 100%; max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width:768px) {
|
|
.hero-actions {
|
|
flex-direction:column; align-items:center
|
|
}
|
|
|
|
.hero-stats {
|
|
gap:var(--space-2xl)
|
|
}
|
|
|
|
.features-grid {
|
|
grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:var(--space-md)
|
|
}
|
|
|
|
.benefit-card {
|
|
padding:var(--space-lg); min-height:140px
|
|
}
|
|
|
|
.benefit-card .icon-badge {
|
|
width:32px; height:32px; margin-bottom:var(--space-md)
|
|
}
|
|
|
|
.benefit-card h3 {
|
|
font-size:var(--text-sm)
|
|
}
|
|
|
|
.comparison-stats {
|
|
gap:var(--space-lg)
|
|
}
|
|
|
|
.comparison-filters {
|
|
gap:var(--space-md); padding:var(--space-md)
|
|
}
|
|
|
|
.comparison-table th, .comparison-table td {
|
|
padding:var(--space-md); font-size:var(--text-sm)
|
|
}
|
|
|
|
.comparison-table th:first-child, .comparison-table td:first-child {
|
|
position:sticky; left:0; z-index:101; box-shadow:2px 0 4px -2px rgba(0, 0, 0, .08)
|
|
}
|
|
|
|
.comparison-table .provider-header {
|
|
font-size:var(--text-base)
|
|
}
|
|
|
|
.compare-controls {
|
|
grid-template-columns:1fr; gap:var(--space-lg); text-align:center; align-items:center; justify-items:center; max-width: 100%;
|
|
}
|
|
|
|
.compare-vs {
|
|
order:2; margin:var(--space-lg) auto; width:fit-content; justify-self:center; align-self:center
|
|
}
|
|
|
|
.compare-select-group:first-child, .compare-select-group:last-child {
|
|
width:100%; max-width:100%
|
|
}
|
|
|
|
.compare-select-group label {
|
|
font-size:var(--text-base); font-weight:var(--font-semibold)
|
|
}
|
|
}
|
|
|
|
@media (max-width:700px) {
|
|
.hero-section {
|
|
padding:clamp(3rem, 9vw, 4rem) 0 clamp(2.5rem, 7vw, 3.5rem); min-height:clamp(480px, 70vh, 760px)
|
|
}
|
|
}
|
|
|
|
@media (max-width:600px) {
|
|
.footer-links.compact {
|
|
columns:1
|
|
}
|
|
|
|
.site-footer {
|
|
padding:var(--space-5xl) 0 var(--space-3xl)
|
|
}
|
|
|
|
.footer-content {
|
|
grid-template-columns:1fr;
|
|
gap:var(--space-xl)
|
|
}
|
|
|
|
.site-footer .footer-section h3 {
|
|
margin-top:0; margin-bottom:var(--space-sm); text-align:center
|
|
}
|
|
|
|
.footer-brand {
|
|
text-align:center; margin-bottom:var(--space-sm)
|
|
}
|
|
|
|
.footer-description {
|
|
margin-bottom:0
|
|
}
|
|
|
|
.footer-links {
|
|
margin:0
|
|
}
|
|
|
|
.footer-links li {
|
|
margin-bottom:6px
|
|
}
|
|
|
|
.footer-links a {
|
|
display:inline-flex; padding:4px 0; border-radius:0; background:transparent; border:0; text-decoration:none
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
background:transparent; border-color:transparent
|
|
}
|
|
|
|
.footer-links a:active {
|
|
background:transparent
|
|
}
|
|
|
|
.footer-bottom {
|
|
text-align:center
|
|
}
|
|
|
|
.footer-bottom-content {
|
|
flex-direction:column; align-items:center; gap:var(--space-md)
|
|
}
|
|
|
|
.footer-right {
|
|
text-align:center
|
|
}
|
|
|
|
.footer-meta {
|
|
justify-content:center; gap:var(--space-md)
|
|
}
|
|
}
|
|
|
|
@media (max-width:520px) {
|
|
.hero-section {
|
|
padding:clamp(2.5rem, 8vw, 3.5rem) 0 clamp(2rem, 6vw, 3rem); min-height:clamp(500px, 75vh, 780px)
|
|
}
|
|
}
|
|
|
|
@media (max-width:480px) {
|
|
.container {
|
|
padding-inline:var(--space-lg)
|
|
}
|
|
|
|
.section {
|
|
padding:var(--space-3xl) 0
|
|
}
|
|
|
|
.stat-item:not(:last-child)::after {
|
|
display:none
|
|
}
|
|
|
|
.features-grid {
|
|
grid-template-columns:1fr; gap:var(--space-lg)
|
|
}
|
|
|
|
.benefit-card {
|
|
padding:var(--space-xl); min-height:auto
|
|
}
|
|
|
|
.btn {
|
|
padding:var(--space-md) var(--space-xl); min-width:120px; font-size:var(--text-sm)
|
|
}
|
|
|
|
.comparison-actions .btn {
|
|
min-width:auto
|
|
}
|
|
|
|
.comparison-header {
|
|
padding:var(--space-md)
|
|
}
|
|
|
|
.comparison-header h3 {
|
|
font-size:var(--text-lg)
|
|
}
|
|
|
|
.comparison-stats {
|
|
flex-direction:column; gap:var(--space-md)
|
|
}
|
|
|
|
.comparison-filters {
|
|
gap:var(--space-sm)
|
|
}
|
|
|
|
.comparison-table {
|
|
font-size:var(--text-xs)
|
|
}
|
|
|
|
.comparison-table th, .comparison-table td {
|
|
padding:var(--space-sm)
|
|
}
|
|
|
|
.comparison-table th:first-child, .comparison-table td:first-child {
|
|
position:sticky; left:0; z-index:101; box-shadow:1px 0 3px -1px rgba(0, 0, 0, .1)
|
|
}
|
|
|
|
.hero-meta {
|
|
margin-bottom:var(--space-2xl)
|
|
}
|
|
|
|
.hero-badge {
|
|
font-size:10px
|
|
}
|
|
}
|
|
|
|
@media (max-width:400px) {
|
|
.hero-section {
|
|
padding:clamp(2rem, 7vw, 3rem) 0 clamp(1.5rem, 6vw, 2.5rem)
|
|
}
|
|
}
|
|
|
|
@media (max-width:26.25em) {
|
|
.container {
|
|
padding-inline:var(--space-sm)
|
|
}
|
|
|
|
.hero-section {
|
|
padding:var(--space-4xl) var(--space-sm)
|
|
}
|
|
|
|
.hero-title {
|
|
font-size:clamp(1.5rem, 8vw, 2.5rem); margin-bottom:var(--space-lg)
|
|
}
|
|
|
|
.hero-description {
|
|
font-size:var(--text-base); margin-bottom:var(--space-3xl)
|
|
}
|
|
|
|
.hero-actions {
|
|
margin-bottom:var(--space-4xl); gap:var(--space-md);
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn {
|
|
padding:var(--space-md) var(--space-xl);
|
|
min-width:90%;
|
|
width: 90%;
|
|
font-size:var(--text-sm);
|
|
justify-content: center;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-header {
|
|
margin-bottom:var(--space-lg)
|
|
}
|
|
|
|
.section-title {
|
|
font-size:clamp(1.5rem, 6vw, 2rem); margin-bottom:var(--space-lg)
|
|
}
|
|
|
|
.section-description {
|
|
font-size:var(--text-sm)
|
|
}
|
|
|
|
.benefit-card {
|
|
padding:var(--space-lg) var(--space-md); min-height:auto
|
|
}
|
|
|
|
.benefit-card h3 {
|
|
font-size:var(--text-base)
|
|
}
|
|
|
|
.note-card {
|
|
padding:var(--space-lg)
|
|
}
|
|
|
|
.hero-stats {
|
|
gap:var(--space-lg)
|
|
}
|
|
|
|
.stat-number {
|
|
font-size:clamp(1.5rem, 10vw, 2rem)
|
|
}
|
|
|
|
.alert {
|
|
padding:var(--space-lg); margin:var(--space-lg) 0; gap:var(--space-sm)
|
|
}
|
|
|
|
.compare-controls {
|
|
gap:var(--space-lg)
|
|
}
|
|
|
|
.data-table-container {
|
|
font-size:.8rem
|
|
}
|
|
|
|
th, td {
|
|
padding:var(--space-sm) var(--space-md)
|
|
}
|
|
|
|
.speed-section {
|
|
padding:var(--space-2xl) var(--space-sm)
|
|
}
|
|
|
|
.resource-category {
|
|
padding:var(--space-2xl) var(--space-sm)
|
|
}
|
|
|
|
.resource-item {
|
|
padding:var(--space-md)
|
|
}
|
|
|
|
.referral-section {
|
|
padding:var(--space-2xl) var(--space-sm); margin:var(--space-4xl) 0
|
|
}
|
|
|
|
.referral-grid {
|
|
gap:var(--space-md)
|
|
}
|
|
|
|
.referral-card {
|
|
padding:var(--space-md); max-width:none
|
|
}
|
|
}
|
|
|
|
@media (max-width:20em) {
|
|
html {
|
|
font-size:14px
|
|
}
|
|
|
|
body {
|
|
line-height:1.5
|
|
}
|
|
|
|
.site-header {
|
|
height:3.75rem
|
|
}
|
|
|
|
:root {
|
|
--header-height:3.75rem
|
|
}
|
|
|
|
.header-content {
|
|
gap:var(--space-lg)
|
|
}
|
|
|
|
.site-title {
|
|
font-size:var(--text-lg); padding:var(--space-xs) var(--space-md)
|
|
}
|
|
|
|
.dark-mode-toggle {
|
|
width:38px; height:38px
|
|
}
|
|
|
|
.hero-description {
|
|
font-size:.95rem
|
|
}
|
|
|
|
.hero-stats {
|
|
gap:var(--space-lg)
|
|
}
|
|
|
|
.section {
|
|
padding:2rem 0
|
|
}
|
|
|
|
.section-header {
|
|
margin-bottom:var(--space-xl)
|
|
}
|
|
|
|
.section-description {
|
|
font-size:clamp(.95rem, 3.2vw, 1.05rem)
|
|
}
|
|
|
|
.benefit-card {
|
|
padding:var(--space-lg)
|
|
}
|
|
|
|
.benefit-card h3 {
|
|
font-size:.9rem
|
|
}
|
|
|
|
.alert {
|
|
padding:var(--space-lg); margin:var(--space-lg) 0
|
|
}
|
|
|
|
.note-card {
|
|
padding:var(--space-lg)
|
|
}
|
|
|
|
.compare-controls {
|
|
gap:var(--space-lg)
|
|
}
|
|
|
|
.data-table-container {
|
|
font-size:.85rem
|
|
}
|
|
|
|
/* Critical fixes for ultra-narrow screens */
|
|
.container {
|
|
min-width: 0;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.hero-actions {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
table {
|
|
min-width: 450px;
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
.site-header, .hero-section, .referral-section, .site-footer, .back-to-top, .dark-mode-toggle {
|
|
display:none !important
|
|
}
|
|
|
|
.section {
|
|
page-break-inside:avoid
|
|
}
|
|
|
|
.compare-controls {
|
|
display:none
|
|
}
|
|
|
|
.comparison-table {
|
|
box-shadow:none; border:1px solid #000
|
|
}
|
|
|
|
.comparison-table th, .comparison-table td {
|
|
border:1px solid #000; padding:var(--space-sm)
|
|
}
|
|
}
|
|
|
|
@media (prefers-contrast:high) {
|
|
:root {
|
|
--border-primary:#000; --text-secondary:#000
|
|
}
|
|
|
|
.compare-vs {
|
|
border-width:3px; font-weight:var(--font-bold)
|
|
}
|
|
|
|
.comparison-table {
|
|
border-width:2px
|
|
}
|
|
|
|
.comparison-table th, .comparison-table td {
|
|
border-width:1px
|
|
}
|
|
}
|
|
|
|
@media (pointer:coarse) {
|
|
.btn:hover, .status-card:hover, .benefit-card:hover, .speed-card:hover, .referral-card:hover, .note-card:hover, .resource-item:hover {
|
|
transform:none
|
|
}
|
|
}
|
|
|
|
/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
|
|
#a11y-announcer {
|
|
position: absolute;
|
|
left: -10000px;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Keyboard navigation for tables */
|
|
table tbody tr:focus {
|
|
outline: 3px solid var(--primary);
|
|
outline-offset: -3px;
|
|
background-color: var(--bg-tertiary);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
table tbody tr:focus .service-name {
|
|
font-weight: var(--font-semibold);
|
|
color: var(--primary);
|
|
}
|
|
|
|
table tbody tr[tabindex="0"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* ===== RESPONSIVE TABLE ENHANCEMENTS ===== */
|
|
|
|
/* Mobile card layout */
|
|
@media (max-width: 767px) {
|
|
.table-wrapper.mobile-view table {
|
|
display: block;
|
|
border: none;
|
|
}
|
|
|
|
.table-wrapper.mobile-view thead {
|
|
display: none;
|
|
}
|
|
|
|
.table-wrapper.mobile-view tbody {
|
|
display: block;
|
|
}
|
|
|
|
.table-wrapper.mobile-view tr {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: var(--space-xl);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--space-lg);
|
|
background: var(--bg-elevated);
|
|
box-shadow: var(--shadow-sm);
|
|
transition: box-shadow 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.table-wrapper.mobile-view tr:hover,
|
|
.table-wrapper.mobile-view tr:focus {
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.table-wrapper.mobile-view td {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: var(--space-sm) 0;
|
|
border: none;
|
|
border-bottom: 1px solid var(--border-primary);
|
|
}
|
|
|
|
.table-wrapper.mobile-view td:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.table-wrapper.mobile-view td::before {
|
|
content: attr(data-label);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-secondary);
|
|
margin-right: var(--space-md);
|
|
}
|
|
|
|
.table-wrapper.mobile-view .service-cell {
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-bold);
|
|
padding-bottom: var(--space-md);
|
|
border-bottom: 2px solid var(--border-primary) !important;
|
|
margin-bottom: var(--space-md);
|
|
justify-content: center;
|
|
}
|
|
|
|
.table-wrapper.mobile-view .service-cell::before {
|
|
display: none;
|
|
}
|
|
|
|
.table-wrapper.mobile-view .status-cell {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.table-wrapper.mobile-view .status-indicator {
|
|
font-size: var(--text-xl);
|
|
}
|
|
|
|
.comparison-table {
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.comparison-header {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.comparison-stats {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.stat {
|
|
width: 100%;
|
|
padding: var(--space-md);
|
|
}
|
|
}
|
|
|
|
/* Tablet optimizations */
|
|
@media (min-width: 768px) and (max-width: 1024px) {
|
|
.table-wrapper {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
table {
|
|
min-width: 600px;
|
|
}
|
|
|
|
th, td {
|
|
padding: var(--space-sm) var(--space-md);
|
|
}
|
|
}
|
|
|
|
/* ===== IMPROVED TOUCH TARGETS ===== */
|
|
@media (pointer: coarse) {
|
|
button,
|
|
a,
|
|
input,
|
|
select,
|
|
textarea {
|
|
min-height: 44px;
|
|
min-width: 44px;
|
|
}
|
|
|
|
.btn {
|
|
padding: var(--space-lg) var(--space-2xl);
|
|
}
|
|
|
|
table tbody tr {
|
|
min-height: 60px;
|
|
}
|
|
}
|
|
|
|
/* ===== DARK MODE ADJUSTMENTS ===== */
|
|
[data-theme="dark"] table tbody tr:focus {
|
|
background-color: rgba(99, 102, 241, 0.1);
|
|
}
|
|
|
|
[data-theme="dark"] *:focus-visible {
|
|
outline-color: var(--primary-light);
|
|
}
|
|
|
|
/* ===== REDUCED MOTION SUPPORT ===== */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.search-results,
|
|
.table-wrapper.mobile-view tr {
|
|
animation: none !important;
|
|
transition: none !important;
|
|
}
|
|
|
|
.loading-spinner {
|
|
animation-duration: 2s;
|
|
}
|
|
|
|
table tbody tr:focus {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
/* ===== HIGH CONTRAST MODE ===== */
|
|
@media (prefers-contrast: high) {
|
|
*:focus-visible {
|
|
outline-width: 4px;
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
table tbody tr:focus {
|
|
outline-width: 4px;
|
|
outline-offset: -4px;
|
|
border: 2px solid var(--primary);
|
|
}
|
|
|
|
.btn {
|
|
border-width: 2px;
|
|
}
|
|
}
|
|
|
|
/* ===== PRINT STYLES ===== */
|
|
@media print {
|
|
.visually-hidden,
|
|
#a11y-announcer {
|
|
display: none !important;
|
|
}
|
|
|
|
table tbody tr:focus {
|
|
outline: none;
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
/* ===== ERROR STATE IMPROVEMENTS ===== */
|
|
.error-state {
|
|
text-align: center;
|
|
padding: var(--space-3xl);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.error-state[role="alert"] {
|
|
border: 2px solid var(--error);
|
|
border-radius: var(--radius-lg);
|
|
background-color: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
.error-state .btn {
|
|
margin-top: var(--space-lg);
|
|
}
|
|
|