:root {
    --bg-main: #090e1a;
    --bg-secondary: #0e1526;
    --bg-card: #121c33;
    --bg-card-hover: #182442;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.3);
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #0284c7;
    --accent-glow: rgba(2, 132, 199, 0.25);
    --cyan: #06b6d4;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);

    /* Fluid Typography Scale */
    --fs-hero: clamp(2rem, 4.2vw + 0.5rem, 3.25rem);
    --fs-h1: clamp(1.85rem, 3.2vw + 0.5rem, 2.65rem);
    --fs-h2: clamp(1.5rem, 2.4vw + 0.4rem, 2.15rem);
    --fs-h3: clamp(1.25rem, 1.8vw + 0.35rem, 1.65rem);
    --fs-h4: clamp(1.05rem, 1.2vw + 0.25rem, 1.3rem);
    --fs-h5: clamp(0.95rem, 0.8vw + 0.25rem, 1.125rem);
    --fs-h6: 0.925rem;
    --fs-lead: clamp(1rem, 1.1vw + 0.3rem, 1.18rem);
    --fs-body: 0.975rem;
    --fs-small: 0.825rem;
    --fs-xs: 0.75rem;

    /* Spacing Fluid Variables */
    --section-py: clamp(2rem, 3.5vw, 3.25rem);
    --section-header-mb: clamp(1.25rem, 2.5vw, 2rem);
    --page-header-py: clamp(1.5rem, 2.8vw, 2.25rem);
}

/* Global Reset & Viewport Constraints */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: var(--fs-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography & Headings Standardization */
h1, .h1 {
    font-size: var(--fs-h1);
    color: #ffffff;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

h2, .h2 {
    font-size: var(--fs-h2);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

h3, .h3 {
    font-size: var(--fs-h3);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.018em;
}

h4, .h4 {
    font-size: var(--fs-h4);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.015em;
}

h5, .h5 {
    font-size: var(--fs-h5);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.42;
}

h6, .h6 {
    font-size: var(--fs-h6);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.45;
}

/* Display Headings Fluid Scale */
.display-3 {
    font-size: var(--fs-hero) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.03em !important;
}

.display-4 {
    font-size: var(--fs-h1) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em !important;
}

.display-5 {
    font-size: var(--fs-h2) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
}

.display-6 {
    font-size: var(--fs-h2) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.65;
    color: var(--text-secondary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.65;
}

small, .small {
    font-size: var(--fs-small);
}

.text-xs {
    font-size: var(--fs-xs) !important;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, #38bdf8 60%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    color: #38bdf8;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #7dd3fc;
}

/* Section Spacing Classes */
.py-6 {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.section-header {
    margin-bottom: var(--section-header-mb);
}

/* Harmonized Page Header Spacing */
.page-header,
.bg-card.border-bottom.py-5,
.bg-card.border-bottom.py-4 {
    padding-top: var(--page-header-py) !important;
    padding-bottom: var(--page-header-py) !important;
}

.page-header .container.py-4,
.bg-card.border-bottom .container.py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Harmonized Main Content Containers */
main > .container.py-5 {
    padding-top: clamp(1.75rem, 3vw, 2.5rem) !important;
    padding-bottom: clamp(1.75rem, 3vw, 2.5rem) !important;
}

.mb-6 {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

/* Glassmorphism & Header */
.glass-header {
    background: rgba(9, 14, 26, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    z-index: 1040;
}

.navbar-brand {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.25s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* Navbar Links & Action System */
.btn-icon-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.2s ease;
    padding: 0;
    text-decoration: none !important;
}

.btn-icon-nav:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.navbar-nav .nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.announcement-bar {
    background: linear-gradient(90deg, #1e3a8a, #0f172a);
    font-size: var(--fs-small);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Buttons System */
.btn {
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    padding: 0.625rem 1.4rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    color: #ffffff;
}

.btn-outline-custom {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-pill);
    padding: 0.625rem 1.4rem;
    font-weight: 600;
}

.btn-outline-custom:hover, .btn-outline-custom.active {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.1);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-demo, .btn-demo-glow {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff !important;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
    letter-spacing: 0.02em;
}

.btn-demo:hover, .btn-demo-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.6), 0 0 15px rgba(56, 189, 248, 0.4);
    color: #ffffff;
}

/* Cards & Surfaces */
.card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Normalize bloated padding on modern cards */
.card-modern.p-5,
.card-modern.p-md-5 {
    padding: clamp(1.25rem, 2.5vw, 2rem) !important;
}

.card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(56, 189, 248, 0.12);
    background: var(--bg-card-hover);
}

.card-glass {
    background: rgba(18, 28, 51, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

/* Pricing Tier Card Compact System */
.pricing-tier-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.pricing-tier-features {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-tier-features > div {
    display: flex;
    align-items: flex-start;
    line-height: 1.45;
}

.pricing-tier-features i {
    margin-top: 3px;
    flex-shrink: 0;
}

/* Badges Standardization */
.badge-pill {
    border-radius: var(--radius-pill);
    padding: 0.35em 0.85em;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.badge-tech {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--fs-xs);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.badge-primary-soft {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-success-soft {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Feature Icon Boxes */
.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.12);
    color: #38bdf8;
    font-size: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.card-modern:hover .feature-icon-box {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

/* Forms & Inputs */
.form-control, .form-select {
    background-color: rgba(14, 21, 38, 0.85);
    border: 1px solid var(--border-color);
    color: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.95rem;
    font-size: var(--fs-body);
}

.form-control:focus, .form-select:focus {
    background-color: #0e1526;
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Product Card Elements */
.product-thumb-wrapper {
    position: relative;
    overflow: hidden;
    height: 210px;
    background: #0b1120;
}

.product-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-modern:hover .product-thumb-wrapper img {
    transform: scale(1.06);
}

.product-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 14, 26, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-modern:hover .product-hover-overlay {
    opacity: 1;
}

/* Stats Item */
.stat-item {
    text-align: center;
    padding: 20px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

/* Footer */
.footer-main {
    background: #060a14;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding-top: clamp(2rem, 3.5vw, 3rem);
    padding-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 9px;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

/* Back to Top */
#btnBackToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

#btnBackToTop:hover {
    background: var(--cyan);
    transform: translateY(-3px);
}

/* Ambient Lighting & Glow Backgrounds */
.hero-glow-wrapper {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.2) 0%, rgba(9, 14, 26, 0) 65%),
                radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.12) 0%, rgba(9, 14, 26, 0) 50%),
                radial-gradient(circle at 15% 40%, rgba(139, 92, 246, 0.12) 0%, rgba(9, 14, 26, 0) 50%);
}

.ambient-glow-cyan {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(9, 14, 26, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-purple {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(9, 14, 26, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.mesh-grid {
    background-size: 36px 36px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

/* Browser Window Frame Mockup */
.browser-mockup {
    background: #0d1527;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.12);
    overflow: hidden;
    position: relative;
    max-width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.browser-mockup:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.45);
}

.browser-header {
    background: #090e1a;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-url-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: var(--fs-xs);
    color: #94a3b8;
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-content {
    position: relative;
    background: #090e1a;
    overflow: hidden;
    max-width: 100%;
}

.browser-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Floating Glass Achievement Cards */
.floating-badge {
    position: absolute;
    background: rgba(14, 22, 41, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    animation: floatSlow 5s ease-in-out infinite alternate;
}

.floating-badge-1 {
    top: 15%;
    left: -20px;
    animation-delay: 0s;
}

.floating-badge-2 {
    bottom: 12%;
    right: -25px;
    animation-delay: 2.5s;
}

.floating-badge-3 {
    top: 55%;
    right: -25px;
    animation-delay: 1.2s;
}

@keyframes floatSlow {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Pulsing Status Dot */
.pulse-indicator {
    position: relative;
    display: inline-flex;
    width: 9px;
    height: 9px;
}

.pulse-indicator .ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #10b981;
    opacity: 0.75;
    animation: pingAnimation 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-indicator .dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #10b981;
}

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

/* Avatar Stack */
.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #090e1a;
    margin-left: -10px;
    object-fit: cover;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

/* Modern Visual Service Card */
.service-visual-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-visual-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.16);
    background: #131d33;
}

.service-visual-banner {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0b1120;
}

.service-visual-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-visual-card:hover .service-visual-banner img {
    transform: scale(1.08);
}

.service-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 14px 18px;
}

.service-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    flex-shrink: 0;
}

/* High-Converting CTA Box */
.cta-glow-box {
    background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.9) 100%), #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(37, 99, 235, 0.2);
    padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
}

/* Code block studio styling */
.code-studio-content {
    background: #090e1a;
    font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.835rem;
    line-height: 1.7;
    overflow-x: auto;
    word-break: break-word;
    -webkit-overflow-scrolling: touch;
}

/* Accordion Smooth Customization */
.accordion-item {
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
}

.accordion-button {
    font-size: var(--fs-body);
    font-weight: 600;
    color: #ffffff !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #38bdf8 !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}

.accordion-button::after {
    filter: invert(1) brightness(0.8);
}

/* Table Responsive Enhancements & Compact Spacing */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
}

.table > :not(caption) > * > * {
    padding: 0.65rem 0.85rem;
    vertical-align: middle;
}

.table-compact > :not(caption) > * > * {
    padding: 0.55rem 0.75rem !important;
}

.table tbody tr {
    transition: background-color 0.18s ease;
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.025);
}

/* Dedicated License Comparison Table */
.table-license th {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.table-license td {
    padding: 0.65rem 1rem !important;
    font-size: 0.92rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #090e1a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS (MOBILE, TABLET, LAPTOP, DESKTOP)
   ========================================================== */

/* Large screens and down (<1200px - Tablets, Laptops & Mobile Breakpoint) */
@media (max-width: 1199.98px) {
    .floating-badge-1 { left: -10px; }
    .floating-badge-2 { right: -10px; }
    .floating-badge-3 { right: -10px; }

    /* Hide floating badges on tablet/mobile to avoid overlapping hero content */
    .floating-badge {
        display: none !important;
    }

    /* Navbar Collapse Mobile & Tablet Drawer Enhancement */
    .navbar-collapse {
        background: rgba(14, 22, 41, 0.98);
        border: 1px solid var(--border-color);
        border-radius: 14px;
        padding: 1.25rem;
        margin-top: 0.75rem;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 0.75rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .w-100-mobile {
        width: 100% !important;
    }

    .nav-actions {
        flex-direction: column !important;
        width: 100%;
        gap: 0.65rem !important;
    }

    .nav-actions .btn {
        width: 100% !important;
    }

    /* Code studio negative margin guard */
    .code-metric-pill {
        position: static !important;
        margin-top: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Sticky sidebars degrade gracefully on mobile */
    .sticky-top:not(.glass-header) {
        position: static !important;
        top: 0 !important;
    }

    .service-visual-banner {
        height: 160px;
    }
}

/* Small screens (<768px - Phones & Small Tablets) */
@media (max-width: 767.98px) {
    .btn-lg {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Spacing adjustments */
    .stat-item {
        padding: 14px 10px;
    }

    .browser-header {
        padding: 8px 12px;
    }

    .browser-url-bar {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    /* Avatar social proof stacked on mobile */
    .avatar-stack-wrap {
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Mobile card padding adjustments */
    .card-modern {
        border-radius: 12px;
    }

    .p-md-5 {
        padding: 1.25rem !important;
    }
}

/* Extra small screens (<576px - Mobile Phones) */
@media (max-width: 575.98px) {
    body {
        font-size: 0.925rem;
    }

    .announcement-bar {
        font-size: 0.75rem;
        padding: 6px 4px;
    }

    /* Brand logo and button scaling on mobile */
    .navbar-brand {
        font-size: 1.12rem !important;
        gap: 0.45rem !important;
        max-width: 58%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-brand .feature-icon-box {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
        border-radius: 7px !important;
    }

    .btn-icon-nav {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem;
    }

    /* Make hero buttons stack neatly on small phones */
    .hero-btn-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
    }

    .hero-btn-group .btn {
        width: 100%;
    }

    /* Table text scaling */
    .table {
        font-size: 0.825rem;
    }

    .table th, .table td {
        padding: 0.5rem 0.4rem;
    }

    /* Prevent any card from overflowing */
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}
