:root {

    /* Default Dark Theme */
    --bg-color: #0a0a0a;
    --bg-alt: #080810;
    --text-color: #e0e0e0;
    --text-strong: #ffffff;
    --text-muted: #bbbbbb;
    --text-subtle: #888888;
    --primary-color: #00d4ff;
    /* Neon Blue */
    --secondary-color: #ffd700;
    /* Gold */
    --accent-color: #1a1a1a;
    --card-bg: #1a1a1a;
    --nav-bg: rgba(10, 10, 10, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --surface-subtle: rgba(255, 255, 255, 0.02);
    --hero-bg-start: #1a1a1a;
    --hero-bg-end: #000000;
    /* Apple-style system font stack — uses SF Pro on Apple devices,
       Segoe UI on Windows, and falls back to Inter webfont for
       consistent Cyrillic rendering everywhere else. */
    --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: "ss01", "kern", "liga";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
}

h1 {
    font-weight: 700;
    letter-spacing: -0.028em;
}

h2 { letter-spacing: -0.02em; }
h3, h4 { letter-spacing: -0.015em; }

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    color: #000;
}

/* =========================================================
   HEADER — morphing floating pill
   Starts transparent at top of page, collapses to a
   glass-pill centered container with a logo mark on scroll.
   ========================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: padding 0.4s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none; /* let clicks pass through blank edges */
}

header > .container {
    pointer-events: auto;
    border: 1px solid transparent;
    border-radius: 20px;
    transition:
        max-width 0.4s cubic-bezier(.4, 0, .2, 1),
        padding 0.4s cubic-bezier(.4, 0, .2, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        border-radius 0.4s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.4s ease,
        backdrop-filter 0.4s ease;
}

header.scrolled {
    padding: 12px 0;
}

header.scrolled > .container {
    max-width: 1080px;
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
    border-color: var(--border-color);
    border-radius: 999px;
    padding: 8px 14px 8px 22px;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.18),
        0 14px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

/* Logo — animated cloud mark + scroll-reactive letters */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
}

/* SVG mark: cloud + lightning bolt */
.logo-mark {
    width: 44px;
    height: 34px;
    flex-shrink: 0;
    overflow: visible;
    transform-origin: 50% 65%;
    animation:
        logoFloat 5.2s ease-in-out infinite,
        markHalo 3s ease-in-out infinite;
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1), filter 0.4s ease;
}
@keyframes markHalo {
    0%, 100% { filter: drop-shadow(0 2px 6px  rgba(0, 212, 255, 0.35)); }
    50%      { filter:
                 drop-shadow(0 2px 14px rgba(0, 212, 255, 0.75))
                 drop-shadow(0 0  22px rgba(255, 215,  0, 0.35));
             }
}

.mark-cloud {
    transform-origin: center;
    animation: cloudBreathe 4.8s ease-in-out infinite;
}

.mark-bolt {
    fill: #ffd700;
    transform-origin: 28px 29px;
    animation: boltFlash 2.4s ease-in-out infinite;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.9));
}

.mark-drop {
    fill: #00d4ff;
    opacity: 0;
    animation: dropRain 3.4s ease-in-out infinite;
}
.mark-drop-2 { animation-delay: 1.1s; }
.mark-drop-3 { animation-delay: 2.2s; }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}
@keyframes cloudBreathe {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%      { transform: scale(1.03); opacity: 0.96; }
}
@keyframes boltFlash {
    0%, 82%, 100% { opacity: 1; filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.9)); }
    85%           { opacity: 0.15; }
    88%, 94%      { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 215, 0, 1)) drop-shadow(0 0 14px rgba(0, 212, 255, 0.7)); }
    91%           { opacity: 0.4; }
}
@keyframes dropRain {
    0%        { transform: translateY(0);  opacity: 0; }
    20%       { opacity: 1; }
    70%       { transform: translateY(10px); opacity: 0; }
    100%      { transform: translateY(10px); opacity: 0; }
}

/* Letter row — individually charged on scroll */
.logo-text {
    display: inline-flex;
    align-items: baseline;
}
.logo .ltr {
    --charge: 0;
    position: relative;
    z-index: 0;
    display: inline-block;
    transition:
        text-shadow 0.35s ease,
        transform   0.45s cubic-bezier(.4, 0, .2, 1),
        color       0.35s ease,
        filter      0.35s ease;
    transform: translateY(calc(var(--charge) * -2px));
    text-shadow:
        0 0 calc(var(--charge) * 6px)  rgba(0, 212, 255, calc(var(--charge) * 0.9)),
        0 0 calc(var(--charge) * 14px) rgba(0, 212, 255, calc(var(--charge) * 0.55));
    filter: brightness(calc(1 + var(--charge) * 0.35));
}

/* Continuous rolling glow wave across the letters — no hover, no scroll needed */
.logo .ltr::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -4px;
    right: -4px;
    bottom: -6px;
    border-radius: 6px;
    background: radial-gradient(ellipse at center,
        rgba(0, 212, 255, 0.55) 0%,
        rgba(0, 212, 255, 0)   70%);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    filter: blur(2px);
    animation: ltrPulse 4.2s ease-in-out infinite;
}
.logo .ltr:nth-child(1)::before  { animation-delay: 0.00s; }
.logo .ltr:nth-child(2)::before  { animation-delay: 0.12s; }
.logo .ltr:nth-child(3)::before  { animation-delay: 0.24s; }
.logo .ltr:nth-child(4)::before  { animation-delay: 0.36s; }
.logo .ltr:nth-child(5)::before  { animation-delay: 0.48s; }
.logo .ltr:nth-child(6)::before  { animation-delay: 0.60s; background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.45) 0%, rgba(255, 215, 0, 0) 70%); }
.logo .ltr:nth-child(7)::before  { animation-delay: 0.72s; background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.45) 0%, rgba(255, 215, 0, 0) 70%); }
.logo .ltr:nth-child(8)::before  { animation-delay: 0.84s; background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.45) 0%, rgba(255, 215, 0, 0) 70%); }
.logo .ltr:nth-child(9)::before  { animation-delay: 0.96s; background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.45) 0%, rgba(255, 215, 0, 0) 70%); }
.logo .ltr:nth-child(10)::before { animation-delay: 1.08s; background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.45) 0%, rgba(255, 215, 0, 0) 70%); }

@keyframes ltrPulse {
    0%, 15%, 100% { opacity: 0; transform: scale(0.6); }
    22%           { opacity: 0.95; transform: scale(1); }
    32%           { opacity: 0.4;  transform: scale(1.35); }
    45%           { opacity: 0;    transform: scale(1.5); }
}
.logo .ltr.c {
    color: var(--primary-color);
    font-weight: 800;
}
.logo .ltr:not(.c) {
    color: color-mix(in srgb, var(--text-color), var(--primary-color) calc(var(--charge) * 85%));
}

/* Hover — charge the whole mark */
.logo:hover .logo-mark {
    transform: translateY(-1px) rotate(-6deg) scale(1.1);
    filter: drop-shadow(0 4px 14px rgba(0, 212, 255, 0.6));
}
.logo:hover .mark-bolt {
    animation: boltFlashFast 0.6s ease-in-out infinite;
}
.logo:hover .ltr {
    --charge: 1;
}
@keyframes boltFlashFast {
    0%, 100%  { opacity: 1; filter: drop-shadow(0 0 4px rgba(255, 215, 0, 1)); }
    40%       { opacity: 0.2; }
    50%, 90%  { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 215, 0, 1)) drop-shadow(0 0 18px rgba(0, 212, 255, 0.8)); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-mark,
    .mark-cloud,
    .mark-bolt,
    .mark-drop,
    .logo .ltr::before { animation: none !important; }
    .logo .ltr { transition: none !important; }
    .logo .ltr::before { opacity: 0 !important; }
}


/* Nav — pill-style hoverable links */
.nav-links {
    display: flex;
    gap: 2px;
    align-items: center;
}

.nav-links > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.005em;
    color: var(--text-color);
    transition: color 0.2s ease, background 0.25s ease;
}

.nav-links > li > a:not(.btn):hover {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.06);
}


/* CTA button in nav — tighter & more refined */
.nav-links .btn.btn-primary {
    padding: 8px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.32);
}


.nav-links .btn.btn-primary:hover {
    transform: translateY(-1px);
}

/* Language link — smaller pill with subtle border */
.nav-links > li:last-child > a {
    padding: 6px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    border: 1px solid var(--border-color);
    opacity: 0.85;
}

.nav-links > li:last-child > a:hover {
    opacity: 1;
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

/* Mobile — matching floating-pill treatment on scroll.
   At the top of the page the header is transparent.
   On scroll it morphs into a centered glass pill with soft
   shadow (same feel as desktop, just sized for phones). */
@media (max-width: 768px) {
    header,
    header.scrolled {
        padding: 10px 0 !important;
        pointer-events: none;
    }
    header > .container,
    header.scrolled > .container {
        position: relative;
        pointer-events: auto;
        margin: 0 auto;
        transition:
            max-width 0.4s cubic-bezier(.4, 0, .2, 1),
            padding 0.4s cubic-bezier(.4, 0, .2, 1),
            background 0.35s ease,
            border-color 0.35s ease,
            border-radius 0.4s cubic-bezier(.4, 0, .2, 1),
            box-shadow 0.4s ease,
            backdrop-filter 0.35s ease;
    }
    header:not(.scrolled) > .container {
        max-width: 100% !important;
        padding: 4px 18px !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    header.scrolled > .container {
        max-width: calc(100% - 20px) !important;
        padding: 7px 6px 7px 16px !important;
        background: rgba(10, 10, 10, 0.78) !important;
        -webkit-backdrop-filter: saturate(180%) blur(18px);
        backdrop-filter: saturate(180%) blur(18px);
        border: 1px solid var(--border-color) !important;
        border-radius: 999px !important;
        box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.22),
            0 10px 28px rgba(0, 0, 0, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    }
    /* Dropdown menu — follow the pill shape when scrolled */
    header.scrolled .nav-links {
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: auto;
        border-radius: 22px;
        border: 1px solid var(--border-color);
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.45),
            0 2px 6px rgba(0, 0, 0, 0.25);
        overflow: hidden;
    }
    .logo {
        font-size: 1rem;
        letter-spacing: 0.06em;
        gap: 10px;
    }
    .logo-mark { width: 32px; height: 24px; }
    .logo .ltr.c { font-weight: 700; }
}


/* Hero Section */
.hero {
    min-height: 100vh;
    /* Changed from fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    padding: 80px 0;
    /* Added padding for safe spacing */
}

.hero-inner {
    min-height: 60vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero_bg.svg');
    /* Fallback or generated SVG */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    transform: scale(1.1);
    /* For parallax */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #aaa;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-btns {
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
}

/* Floating Icons - Deprecated direct styling, moved to wrapper */
/* .floating-icon { ... } replaced by .floating-wrapper */

/* Old .icon-1, .icon-2, .icon-3 removed/replaced by specific wrapper positioning below */

/* USP Section */
.usp-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.usp-item {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    /* For scroll reveal */
    transform: translateY(30px);
}

.usp-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.usp-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.usp-item:hover .usp-icon {
    animation: rotate360 1s ease-in-out;
}

.usp-icon.visible {
    animation: rotate360 1s ease-in-out;
}

.usp-item h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Services Preview */
.services-preview {
    padding: 60px 0;
    background: var(--bg-color);
    /* Changed from hardcoded #0f0f0f */
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.section-title span {
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.service-card:hover .service-bg {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(0);
    transition: transform 0.3s;
}

.service-card p {
    font-size: 0.9rem;
    color: #ccc;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.service-card:hover h3 {
    transform: translateY(-5px);
}

.service-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Contact CTA */
.contact-cta {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color), #000);
    position: relative;
    overflow: hidden;
}

.cta-box {
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
    /* Slight darken for contrast */
}

/* Footer */
footer {
    background: #000;
    padding: 50px 0 20px;
    color: #888;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0;
    background: var(--bg-color);
    /* Changed from #0f0f0f */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.pricing-card .price span {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.pricing-card ul li::before {
    content: "✓";
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-color);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: #000;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-color);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-us-item {
    text-align: left;
}

.why-us-item h3,
.why-us-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 700;
}

.why-us-item p {
    color: #bbb;
    font-size: 0.95rem;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.step-item .step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    display: block;
}

.step-item h3,
.step-item h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

/* Hosting Pricing */
.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.hosting-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.hosting-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.hosting-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.hosting-card .price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.hosting-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.hosting-features li:last-child {
    border-bottom: none;
}

/* FAQ Section */
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-pulse:hover {
    animation: pulse 1.5s infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Rotation keyframes removed */

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease-out;
}

/* Floating Icon Wrapper Structure */
.floating-wrapper {
    position: absolute;
    width: 80px;
    /* Increased size */
    height: 80px;
    /* Increased size */
    opacity: 0.8;
    /* Increased opacity */
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    /* Prevent interference with clicks */
}

.floating-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Icon Positioning */
.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

/* Responsive Icons */
@media (max-width: 768px) {
    .floating-wrapper {
        width: 50px;
        height: 50px;
        opacity: 0.5;
    }

    .icon-1 {
        top: 10%;
        left: 5%;
    }

    .icon-2 {
        top: 40%;
        right: 5%;
    }

    .icon-3 {
        bottom: 10%;
        left: 10%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .usp-grid,
    .services-grid,
    .pricing-grid,
    .why-us-grid,
    .steps-grid,
    .hosting-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    /* Fix Overflow */
    .comparison-section {
        overflow-x: hidden;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }

    .comparison-table {
        min-width: 600px;
        /* Force scroll */
    }

    .hero h1 {
        font-size: 1.6rem;
        overflow-wrap: normal;
        word-break: keep-all;
        hyphens: none;
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 15px;
    }

    .hero {
        min-height: auto;
        padding: 180px 0 100px;
        /* More top padding for header */
    }

    /* Fix Floating Icons on Mobile */
    .floating-wrapper {
        width: 50px;
        height: 50px;
        opacity: 0.3;
    }

    .icon-1 {
        top: 15%;
        left: 15%;
    }

    .icon-2 {
        top: auto;
        bottom: 20%;
        right: 15%;
    }

    .icon-3 {
        bottom: 10%;
        left: 15%;
    }
}

/* Contact Page Revamp */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.contact-card:hover .contact-icon-wrapper {
    background: var(--primary-color);
    transform: scale(1.1);
}

.contact-icon {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    fill: #000;
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card p {
    color: #ccc;
    margin-bottom: 20px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Menu Toggle Default (Desktop) */
.menu-toggle {
    display: none;
}

/* Mobile Menu Toggle — fixed square tap-target so the icon is
   always pixel-perfectly centered inside the pill regardless of
   font metrics. No padding-based sizing (padding + glyph metrics
   makes vertical centering unpredictable across fonts/platforms). */
@media (max-width: 768px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
        color: var(--text-color);
        margin-left: auto;
        z-index: 1001;
    }
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

.reveal.bounce-on-scroll {
    animation: bounce 1s ease;
}

/* Hero Text Updates */
.hero-keywords {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.keyword {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.4rem !important;
    /* Override existing hero p */
    color: #e0e0e0 !important;
    margin-bottom: 40px !important;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-offer {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    display: inline-block;
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s, border-color 0.3s;
}

.hero-offer:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.offer-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: #000;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.offer-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.offer-details .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.offer-details .guarantee {
    font-size: 0.9rem;
    color: #aaa;
    font-style: italic;
}

/* Animation Delays */
.delay-1 {
    animation: fadeInUp 0.8s forwards 0.2s;
}

.delay-2 {
    animation: fadeInUp 0.8s forwards 0.4s;
}

.delay-3 {
    animation: fadeInUp 0.8s forwards 0.6s;
}

.delay-4 {
    animation: fadeInUp 0.8s forwards 0.9s;
}

.delay-5 {
    animation: fadeInUp 0.8s forwards 1.2s;
}

/* Responsive Adjustments for Hero Text */
@media (max-width: 768px) {
    .hero-keywords {
        gap: 10px;
    }

    .keyword {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .offer-details .price {
        font-size: 1.5rem;
    }
}

/* =========================================================
   HERO CIRCUIT BOARD BACKGROUND
   ========================================================= */
.hero-circuit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-circuit-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.circuit-trace {
    fill: none;
    stroke: rgba(0, 212, 255, 0.11);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.circuit-pad {
    fill: rgba(0, 212, 255, 0.55);
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.7));
}

.circuit-pad-breathe {
    animation: circuit-pad-breathe 3s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.circuit-pad-breathe:nth-of-type(2) { animation-delay: 0.4s; }
.circuit-pad-breathe:nth-of-type(3) { animation-delay: 0.9s; }
.circuit-pad-breathe:nth-of-type(4) { animation-delay: 1.3s; }
.circuit-pad-breathe:nth-of-type(5) { animation-delay: 1.8s; }
.circuit-pad-breathe:nth-of-type(6) { animation-delay: 2.2s; }

@keyframes circuit-pad-breathe {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.4); }
}

.circuit-pulse {
    fill: none;
    stroke: #00d4ff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 5 95;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px #00d4ff);
    animation: circuit-flow 5s linear infinite;
}

.circuit-pulse-gold {
    stroke: #ffd700;
    filter: drop-shadow(0 0 6px #ffd700);
}

.circuit-pulse:nth-of-type(1) { animation-duration: 4.2s; animation-delay: 0s;   }
.circuit-pulse:nth-of-type(2) { animation-duration: 6.8s; animation-delay: 0.8s; }
.circuit-pulse:nth-of-type(3) { animation-duration: 3.6s; animation-delay: 1.6s; }
.circuit-pulse:nth-of-type(4) { animation-duration: 5.4s; animation-delay: 2.3s; }
.circuit-pulse:nth-of-type(5) { animation-duration: 4.8s; animation-delay: 0.4s; }
.circuit-pulse:nth-of-type(6) { animation-duration: 7.2s; animation-delay: 1.2s; }
.circuit-pulse:nth-of-type(7) { animation-duration: 3.8s; animation-delay: 2.7s; }
.circuit-pulse:nth-of-type(8) { animation-duration: 5.8s; animation-delay: 0.6s; }

@keyframes circuit-flow {
    from { stroke-dashoffset: 0;    }
    to   { stroke-dashoffset: -100; }
}

@media (prefers-reduced-motion: reduce) {
    .circuit-pulse,
    .circuit-pad-breathe { animation: none !important; }
    .circuit-pulse { opacity: 0; }
}

.hero-circuit-svg--tall { display: none; }

@media (max-width: 640px) {
    .hero-circuit-svg--wide { display: none; }
    .hero-circuit-svg--tall { display: block; }
    .circuit-trace { stroke-width: 1; stroke: rgba(0, 212, 255, 0.18); }
    .circuit-pulse { stroke-width: 2; }
}

/* =========================================================
   HERO REDESIGN — eyebrow, airy spacing, animated planes
   ========================================================= */
.hero-eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 999px;
    color: #00d4ff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero h1 {
    margin-bottom: 28px !important;
}

.hero .hero-subtitle {
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    color: #c8c8d4 !important;
    margin: 0 auto 48px !important;
    max-width: 620px;
    font-weight: 400;
    letter-spacing: normal;
    opacity: 0;
    animation: fadeInUp 0.9s forwards 0.5s;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-meta {
    color: #8a8a99;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInUp 0.9s forwards 1.3s;
}

.hero-meta strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-meta-sep {
    display: inline-block;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.15);
}

.hero-fireflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.firefly {
    position: absolute;
    bottom: -20px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700, 0 0 18px rgba(255, 215, 0, 0.5);
    opacity: 0;
    will-change: transform, opacity;
}

.firefly.cyan {
    background: #00d4ff;
    box-shadow: 0 0 8px #00d4ff, 0 0 18px rgba(0, 212, 255, 0.55);
}

.firefly.big   { width: 7px; height: 7px; }
.firefly.small { width: 3px; height: 3px; box-shadow: 0 0 6px currentColor; }

.firefly-drift-1 { animation: firefly-drift-1 14s ease-in-out infinite; }
.firefly-drift-2 { animation: firefly-drift-2 12s ease-in-out infinite; }
.firefly-drift-3 { animation: firefly-drift-3 16s ease-in-out infinite; }
.firefly-drift-4 { animation: firefly-drift-4 13s ease-in-out infinite; }
.firefly-drift-5 { animation: firefly-drift-5 18s ease-in-out infinite; }

@keyframes firefly-drift-1 {
    0%   { transform: translate(0, 0)         scale(0.6); opacity: 0;   }
    8%   { opacity: 1;   }
    20%  { transform: translate(18px, -22vh)  scale(1);   opacity: 0.3; }
    30%  { opacity: 1;   }
    50%  { transform: translate(-20px, -50vh) scale(0.85); opacity: 0.85; }
    65%  { opacity: 0.4; }
    75%  { transform: translate(15px, -75vh)  scale(1);   opacity: 1; }
    100% { transform: translate(-8px, -115vh) scale(0.5); opacity: 0;   }
}

@keyframes firefly-drift-2 {
    0%   { transform: translate(0, 0)         scale(0.6); opacity: 0;   }
    10%  { opacity: 1;   }
    25%  { transform: translate(-22px, -30vh) scale(0.9); opacity: 0.5; }
    40%  { opacity: 1;   }
    55%  { transform: translate(18px, -55vh)  scale(1);   opacity: 0.7; }
    70%  { opacity: 1;   }
    100% { transform: translate(-12px, -115vh) scale(0.5); opacity: 0;  }
}

@keyframes firefly-drift-3 {
    0%   { transform: translate(0, 0)         scale(0.6); opacity: 0;   }
    12%  { opacity: 1;   }
    30%  { transform: translate(12px, -35vh)  scale(1);   opacity: 0.6; }
    45%  { opacity: 1;   }
    60%  { transform: translate(-18px, -60vh) scale(0.9); opacity: 0.4; }
    80%  { opacity: 1;   }
    100% { transform: translate(8px, -115vh)  scale(0.5); opacity: 0;   }
}

@keyframes firefly-drift-4 {
    0%   { transform: translate(0, 0)          scale(0.6); opacity: 0;   }
    8%   { opacity: 1;   }
    35%  { transform: translate(-15px, -40vh)  scale(1);   opacity: 0.5; }
    50%  { opacity: 1;   }
    75%  { transform: translate(22px, -80vh)   scale(0.8); opacity: 0.7; }
    100% { transform: translate(-5px, -115vh)  scale(0.4); opacity: 0;   }
}

@keyframes firefly-drift-5 {
    0%   { transform: translate(0, 0)          scale(0.5); opacity: 0;   }
    10%  { opacity: 0.8; }
    40%  { transform: translate(25px, -45vh)   scale(1);   opacity: 1;   }
    60%  { opacity: 0.3; }
    80%  { transform: translate(-20px, -85vh)  scale(0.9); opacity: 1;   }
    100% { transform: translate(10px, -115vh)  scale(0.5); opacity: 0;   }
}

@media (prefers-reduced-motion: reduce) {
    .firefly { animation: none !important; opacity: 0 !important; }
}

/* =========================================================
   ANIMATED GLOBE
   ========================================================= */
.globe-section {
    position: relative;
    padding: 100px 0 140px;
    background: radial-gradient(ellipse at center, #0a0a12 0%, #050509 80%);
    overflow: hidden;
}

.globe-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.45), transparent),
        radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.25), transparent),
        radial-gradient(1px 1px at 90% 90%, rgba(255,255,255,0.3), transparent);
    pointer-events: none;
}

.globe-wrap {
    position: relative;
    max-width: 1100px;
    margin: 40px auto 0;
    aspect-ratio: 16 / 10;
}

.globe-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.15));
}

.globe-graticule {
    transform-origin: 500px 400px;
    animation: globe-rotate 60s linear infinite;
}

@keyframes globe-rotate {
    to { transform: rotate(360deg); }
}

.globe-city-dot {
    fill: #00d4ff;
    filter: drop-shadow(0 0 6px #00d4ff);
}

.globe-city-pulse {
    fill: #00d4ff;
    transform-box: fill-box;
    transform-origin: center;
    animation: globe-pulse 2.4s ease-out infinite;
}

.globe-city:nth-child(2) .globe-city-pulse { animation-delay: 0.2s; }
.globe-city:nth-child(3) .globe-city-pulse { animation-delay: 0.5s; }
.globe-city:nth-child(4) .globe-city-pulse { animation-delay: 0.8s; }
.globe-city:nth-child(5) .globe-city-pulse { animation-delay: 1.1s; }
.globe-city:nth-child(6) .globe-city-pulse { animation-delay: 1.4s; }
.globe-city:nth-child(7) .globe-city-pulse { animation-delay: 1.7s; }
.globe-city:nth-child(8) .globe-city-pulse { animation-delay: 2.0s; }

@keyframes globe-pulse {
    0%   { transform: scale(1);  opacity: 0.9; }
    100% { transform: scale(7);  opacity: 0;   }
}

.globe-city-label {
    fill: rgba(255, 255, 255, 0.85);
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    paint-order: stroke;
    stroke: rgba(5, 5, 9, 0.8);
    stroke-width: 3px;
}

.globe-arc {
    fill: none;
    stroke: rgba(0, 212, 255, 0.35);
    stroke-width: 1.2;
}

.globe-arc-flow {
    fill: none;
    stroke: #00d4ff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 6 340;
    filter: drop-shadow(0 0 4px #00d4ff);
    animation: globe-flow 4s linear infinite;
}

.globe-arc-flow:nth-of-type(2) { animation-delay: 0.6s; animation-duration: 4.8s; }
.globe-arc-flow:nth-of-type(3) { animation-delay: 1.2s; animation-duration: 5.4s; }
.globe-arc-flow:nth-of-type(4) { animation-delay: 1.8s; animation-duration: 4.4s; }
.globe-arc-flow:nth-of-type(5) { animation-delay: 2.4s; animation-duration: 5.8s; }
.globe-arc-flow:nth-of-type(6) { animation-delay: 3.0s; animation-duration: 4.2s; }
.globe-arc-flow:nth-of-type(7) { animation-delay: 3.6s; animation-duration: 5.0s; }

@keyframes globe-flow {
    from { stroke-dashoffset: 346; }
    to   { stroke-dashoffset: 0;   }
}

.globe-sphere-outline {
    fill: none;
    stroke: rgba(0, 212, 255, 0.25);
    stroke-width: 1;
}

.globe-meridian {
    fill: none;
    stroke: rgba(0, 212, 255, 0.12);
    stroke-width: 1;
}

.globe-parallel {
    fill: none;
    stroke: rgba(0, 212, 255, 0.12);
    stroke-width: 1;
}

.globe-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.globe-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 999px;
    color: #00d4ff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.globe-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-main);
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.globe-title span {
    color: var(--primary-color);
}

.globe-sub {
    color: #b8b8c5;
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
    .globe-graticule,
    .globe-arc-flow,
    .globe-city-pulse {
        animation: none;
    }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-bar-title {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.trust-bar-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 36px 48px;
}

.trust-logo {
    color: #e2e2ea;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    opacity: 0.88;
    transition: opacity 0.3s, color 0.3s;
    white-space: nowrap;
}

.trust-logo:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section {
    padding: 100px 0;
    background: #080810;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.4);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    left: 18px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 1.05rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.testimonial-quote {
    color: #d0d0dc;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #0077b6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.98rem;
}

.testimonial-role {
    color: #888;
    font-size: 0.85rem;
    margin-top: 2px;
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.portfolio-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.12);
}

.portfolio-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.portfolio-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6));
}

.portfolio-thumb-label {
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.portfolio-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    align-self: flex-start;
}

.portfolio-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.portfolio-desc {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.portfolio-metrics {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.portfolio-metric strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.portfolio-metric small {
    color: #888;
    font-size: 0.8rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
    padding: 100px 0;
    background: #080810;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
    padding: 22px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 0 22px;
    color: #bbb;
    line-height: 1.75;
}

/* =========================================================
   PRICING COMPARISON TABLE
   ========================================================= */
.compare-section {
    padding: 100px 0;
}

.compare-wrap {
    overflow-x: auto;
    margin-top: 50px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: rgba(0, 212, 255, 0.05);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.compare-table th.compare-plan {
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.1rem;
}

.compare-table th.compare-plan-featured {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    position: relative;
}

.compare-table td {
    color: #bbb;
    text-align: center;
    font-size: 0.95rem;
}

.compare-table td:first-child {
    text-align: left;
    color: #fff;
    font-weight: 500;
}

.compare-table td.check {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.compare-table td.cross {
    color: #555;
}

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

.compare-price-row td {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--secondary-color);
}

/* =========================================================
   TIMELINE (5-day process)
   ========================================================= */
.timeline-section {
    padding: 100px 0;
    background: #080810;
}

.timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-day {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #0077b6);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.1;
    border: 4px solid var(--bg-color);
    z-index: 2;
}

.timeline-item h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-item p {
    color: #bbb;
    line-height: 1.7;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-form-wrap {
    max-width: 680px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.04);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-note {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
}

/* =========================================================
   FEATURED PRICING CARD (replaces scale transform)
   ========================================================= */
.pricing-card {
    padding-top: 54px;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.18), 0 0 0 1px rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 2;
}

.pricing-card .featured-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.4);
}

/* Same pattern for hosting page's featured card */
.hosting-card {
    padding-top: 54px;
}

.hosting-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.18), 0 0 0 1px rgba(0, 212, 255, 0.2);
    position: relative;
    z-index: 2;
}

.hosting-card .featured-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.4);
}

/* =========================================================
   GUARANTEE BADGE ON PRICING
   ========================================================= */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 999px;
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 14px;
}

/* =========================================================
   COOKIE CONSENT
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(15, 15, 25, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(calc(100% + 40px));
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

.cookie-banner p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-actions button {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: #ccc;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.cookie-actions button.primary {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.cookie-actions button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cookie-actions button.primary:hover {
    background: #00b8dd;
    color: #000;
}

/* =========================================================
   STATIC PAGES (Privacy / Terms / 404)
   ========================================================= */
.page-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(0, 212, 255, 0.08), transparent);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 12px;
}

.page-hero p {
    color: #888;
    font-size: 1rem;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    color: #ccc;
    line-height: 1.8;
}

.legal-content h2 {
    color: #fff;
    margin: 40px 0 14px;
    font-size: 1.4rem;
}

.legal-content h3 {
    color: #fff;
    margin: 24px 0 10px;
    font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
    color: #bbb;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.not-found-code {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
}

.not-found h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.not-found p {
    color: #aaa;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   HERO SOCIAL PROOF (replaces emoji line)
   ========================================================= */
.hero-proof {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    color: #ddd;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-proof-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--secondary-color);
}

/* =========================================================
   HOSTING SPECS TABLE
   ========================================================= */
.specs-section {
    padding: 100px 0;
    background: #080810;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.spec-card {
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: border-color 0.3s;
}

.spec-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

.spec-card strong {
    display: block;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-main);
    margin-bottom: 6px;
}

.spec-card span {
    color: #aaa;
    font-size: 0.9rem;
}

/* =========================================================
   INFO CARDS (payment methods, website types, etc.)
   ========================================================= */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 50px;
}

.info-card {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.04), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 26px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 14px 30px rgba(0, 212, 255, 0.12);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.info-card p {
    color: #c8c8d4;
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
}

.info-card p strong {
    color: #fff;
    font-weight: 600;
}

.info-card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #888;
}

.info-card-price {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

@media (max-width: 640px) {
    .info-grid { gap: 16px; grid-template-columns: 1fr; }
    .info-card { padding: 22px 20px; }
    .info-card h3 { font-size: 1.05rem; }
    .info-card p { font-size: 0.92rem; }
}

/* =========================================================
   MOBILE OPTIMIZATIONS (comprehensive pass)
   ========================================================= */

/* Fluid typography for hero headline */
.hero h1 {
    font-size: clamp(1.9rem, 5.5vw, 3rem) !important;
    line-height: 1.15 !important;
    padding: 0 8px;
}

/* Tablet and below */
@media (max-width: 900px) {
    .section-title { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }

    .globe-section { padding: 70px 0 90px; }
    .globe-title { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
    .globe-sub { font-size: 1rem; }

    .testimonials-grid,
    .portfolio-grid,
    .specs-grid { gap: 18px; }

    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 62px; }
    .timeline-day { width: 42px; height: 42px; font-size: 0.72rem; }

    .pricing-card { padding: 44px 24px 28px !important; padding-top: 54px !important; }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Phones */
@media (max-width: 640px) {
    .hero { padding: 130px 0 80px; min-height: auto; }
    .hero-content { padding: 0 18px; }
    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 1.6px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }
    .hero .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 32px !important;
    }
    .hero-btns { gap: 10px; margin-bottom: 26px; }
    .hero-btns .btn { padding: 12px 22px; font-size: 0.95rem; }
    .hero-meta { font-size: 0.78rem; line-height: 1.7; }
    .hero-meta-sep { margin: 0 5px; }

    /* Fireflies — fewer on phones, smaller */
    .firefly { width: 4px; height: 4px; box-shadow: 0 0 6px currentColor; }
    .firefly.big { width: 5px; height: 5px; }
    .firefly-drift-4,
    .firefly-drift-5 { display: none; }

    /* Circuit — lighter on phones */
    .circuit-trace { stroke-width: 0.8; stroke: rgba(0, 212, 255, 0.07); }
    .circuit-pulse { stroke-width: 1.6; }

    /* Globe — edge-to-edge + larger labels so it's actually visible on phones */
    .globe-section { padding: 56px 0 70px; }
    .globe-wrap {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        aspect-ratio: 5 / 4;
        margin-top: 28px;
    }
    .globe-city-label {
        font-size: 16px;
        letter-spacing: 0.6px;
        stroke-width: 4px;
    }
    .globe-city-dot { r: 5; }
    .globe-arc { stroke-width: 1.4; }
    .globe-arc-flow { stroke-width: 2.6; stroke-dasharray: 8 340; }
    .globe-content { padding: 0 18px; }

    /* Pricing cards stack nicely */
    .pricing-grid,
    .hosting-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .pricing-card,
    .hosting-card { padding: 52px 22px 26px !important; }
    .pricing-card .price,
    .hosting-card .price { font-size: 2.2rem; }
    .pricing-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
    .featured-badge { font-size: 0.68rem; padding: 5px 14px; }

    /* Testimonials / portfolio single column */
    .testimonials-grid,
    .portfolio-grid { grid-template-columns: 1fr; }
    .testimonial-card,
    .portfolio-body { padding: 24px; }

    /* Timeline tightens */
    .timeline-item { padding-left: 56px; margin-bottom: 28px; }
    .timeline-day { width: 40px; height: 40px; font-size: 0.68rem; }
    .timeline-item h3 { font-size: 1.05rem; }

    /* FAQ accordion padding */
    .faq-item summary { padding: 18px 0; font-size: 0.98rem; }
    .faq-answer { font-size: 0.95rem; }

    /* Trust bar */
    .trust-bar-logos { gap: 18px 26px; }
    .trust-logo { font-size: 0.9rem; }
    .trust-bar-title { font-size: 0.72rem; letter-spacing: 2px; }

    /* Specs grid */
    .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .spec-card { padding: 18px 10px; }
    .spec-card strong { font-size: 1.4rem; }
    .spec-card span { font-size: 0.78rem; }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }
    .copyright { font-size: 0.8rem; padding: 0 12px; }

    /* Cookie banner */
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
    .cookie-banner p { font-size: 0.82rem; }
    .cookie-actions button { flex: 1; padding: 10px 12px; font-size: 0.82rem; }

    /* Contact form single column always */
    .form-row { grid-template-columns: 1fr !important; gap: 14px; }
    .contact-form-wrap { padding: 22px 18px; }

    /* Legal/static pages */
    .page-hero { padding: 120px 0 40px; }
    .legal-content { padding: 30px 16px 60px; }
    .legal-content h2 { font-size: 1.2rem; margin: 28px 0 10px; }

    /* 404 */
    .not-found-code { font-size: clamp(4rem, 22vw, 8rem); }
}

/* Very small phones */
@media (max-width: 380px) {
    .specs-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem !important; }
    .hero .hero-subtitle { font-size: 0.95rem !important; }
    .hero-meta { font-size: 0.72rem; }
    .firefly-drift-3 { display: none; }
}

/* Touch targets — ensure min 44px for buttons on mobile per WCAG */
@media (hover: none) and (pointer: coarse) {
    .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .nav-links a { padding: 12px 14px; }
    .faq-item summary { min-height: 48px; }
    .cookie-actions button { min-height: 42px; }
}


/* =========================================================
   CINEMATIC LAYER
   Everything below is *additive* — no layout or markup
   changes. Respects prefers-reduced-motion.
   ========================================================= */

/* 1) Scroll progress bar — cyan→gold gradient, fixed top */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    transform-origin: 0 50%;
    transform: scaleX(var(--scroll-progress, 0));
    background: linear-gradient(90deg, #00d4ff 0%, #ffd700 100%);
    z-index: 10000;
    pointer-events: none;
    will-change: transform;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* 2) Cursor spotlight — glows behind everything in hero */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate3d(var(--cg-x, -9999px), var(--cg-y, -9999px), 0) translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, rgba(0, 212, 255, 0.05) 35%, transparent 70%);
    filter: blur(32px);
    mix-blend-mode: screen;
    opacity: var(--cg-opacity, 0);
    transition: opacity 0.35s ease;
    will-change: transform, opacity;
}
@media (hover: none) {
    .cursor-glow { display: none; }
}

/* 3) Hero title — cinematic letter-by-letter reveal.
   `.word` keeps its char-spans on the same line as a unit
   without becoming an inline-block (which would change baselines
   and break the visual feel of the stagger). */
.hero h1 .word {
    white-space: nowrap;
}
.hero h1 .char {
    display: inline-block;
    transform: translateY(0.6em) rotate(6deg);
    opacity: 0;
    animation: char-reveal 0.9s cubic-bezier(.19, 1, .22, 1) forwards;
    animation-delay: calc(var(--i, 0) * 28ms + 250ms);
    transform-origin: 0 100%;
}

@keyframes char-reveal {
    0%   { opacity: 0; transform: translateY(0.6em) rotate(6deg); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) rotate(0); }
}

/* When JS splits the h1, disable the block fade-in AND
   the parent gradient text (won't clip correctly through
   transformed child <span>s). Each char uses solid text
   color instead; the cinematic reveal carries the drama. */
.hero h1.split {
    animation: none !important;
    opacity: 1 !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: var(--text-strong);
}

/* 4) Section-title mask sweep on reveal */
.section-title {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(.77, 0, .175, 1);
}
.section-title.visible { clip-path: inset(0 0 0 0); }

/* 5) Spring buttons — overshoot hover + tactile press */
.btn {
    transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1),
                box-shadow 0.35s ease,
                background 0.3s ease,
                color 0.3s ease;
}
.btn:active { transform: translateY(0) scale(.96) !important; transition-duration: 0.12s; }

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

/* 6) Magnetic 3D tilt — applied via JS to card selectors */
.magnetic-card {
    transform: perspective(1100px)
               rotateX(var(--rx, 0deg))
               rotateY(var(--ry, 0deg))
               translateZ(var(--tz, 0));
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(.16, 1, .3, 1),
                box-shadow 0.5s ease,
                border-color 0.4s ease;
    will-change: transform;
}
.magnetic-card:hover {
    --tz: 8px;
    /* Re-declare transform here so this rule wins over earlier
       `.usp-item:hover { transform: translateY(-10px) }` patterns
       (same specificity, source order wins). Otherwise the
       legacy hover-lift clobbers the tilt. */
    transform: perspective(1100px)
               rotateX(var(--rx, 0deg))
               rotateY(var(--ry, 0deg))
               translateZ(var(--tz, 0));
}

/* 7) Mesh gradient drifting behind hero content */
.hero::after {
    content: "";
    position: absolute;
    inset: -8%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(closest-side at 22% 32%, rgba(0, 212, 255, 0.10), transparent 65%),
        radial-gradient(closest-side at 78% 68%, rgba(255, 215, 0, 0.08), transparent 65%),
        radial-gradient(closest-side at 55% 20%, rgba(0, 212, 255, 0.06), transparent 65%);
    animation: mesh-drift 28s ease-in-out infinite alternate;
    filter: blur(40px);
}

@keyframes mesh-drift {
    0%   { transform: translate(0, 0) scale(1);    }
    50%  { transform: translate(2%, -2%) scale(1.04); }
    100% { transform: translate(-2%, 3%) scale(1.02); }
}

/* 8) Stacked, richer card shadows on hover (depth) */
.usp-item:hover,
.pricing-card:hover,
.hosting-card:hover,
.testimonial-card:hover,
.portfolio-item:hover,
.spec-card:hover,
.info-card:hover,
.contact-card:hover {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.18),
        0 24px 48px rgba(0, 212, 255, 0.14);
}

/* 9) Respect user preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-progress,
    .cursor-glow,
    .hero::after { display: none !important; }

    .hero h1 .char { animation: none !important; opacity: 1 !important; transform: none !important; }
    .section-title { clip-path: none !important; }
    .magnetic-card { transform: none !important; }
}

/* =========================================================
   10) Mobile scroll-reveal tuning
   - Shorter, punchier transitions (feel snappier on phones)
   - Smaller slide distance (reduces layout shift on narrow
     viewports and tall stacked cards)
   - Hero is always-visible from first paint (no IO wait)
   - Section titles use fade-up instead of horizontal
     clip-path sweep (multi-line wrapping + clip-path looks
     awkward on narrow screens)
   - Hero char-reveal stagger compressed so long Cyrillic
     titles don't take 2s to finish
   ========================================================= */
@media (max-width: 768px) {
    .animate-on-scroll {
        transform: translateY(16px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

    /* Hero renders immediately — its inner content has its own
       fade-in animations (h1 char-reveal, subtitle fadeInUp, etc) */
    .hero.animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .section-title {
        clip-path: none !important;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }
    .section-title.visible,
    .section-title.reveal {
        opacity: 1;
        transform: translateY(0);
    }

    .hero h1 .char {
        animation-duration: 0.6s;
        animation-delay: calc(var(--i, 0) * 14ms + 140ms);
    }
}

/* Safety net — if JS fails or the IntersectionObserver misses
   an element, the `animations-ready` body flag guarantees every
   animate-on-scroll element becomes visible after a short grace
   period. Prevents forever-invisible content on flaky mobile. */
body.animations-ready .animate-on-scroll:not(.visible) {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
body.animations-ready .usp-item:not(.reveal),
body.animations-ready .service-card:not(.reveal),
body.animations-ready .section-title:not(.reveal) {
    opacity: 1;
    transform: none;
    clip-path: none;
}

/* =========================================================
   USP SECTIONS — premium redesign
   Applies to both "Защо YourSiteBG?" and "Вашият Партньор"
   blocks (both use .usp-grid + .usp-item). Section-level
   theming via .usp-section (cyan) vs .services-preview (gold).
   No markup changes — numbering comes from CSS counters,
   decorative accents from pseudo-elements, icons get a
   glowing "well" treatment.
   ========================================================= */

.usp-section,
.services-preview {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.usp-section > .container,
.services-preview > .container {
    position: relative;
    z-index: 2;
}

/* Section ambient glow — large, blurred, off-axis */
.usp-section::before,
.services-preview::before {
    content: "";
    position: absolute;
    width: 55%;
    height: 70%;
    top: 15%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.55;
}

.usp-section::before {
    left: -15%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.14), transparent 65%);
}

.services-preview::before {
    right: -15%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.12), transparent 65%);
}


/* Subtitle lede beneath the title — matches the paragraph styled with inline color:#ccc */
.usp-section .container > p,
.services-preview .container > p {
    font-size: 1.08rem;
    letter-spacing: 0.005em;
    max-width: 620px;
    margin: -30px auto 56px !important;
    line-height: 1.55;
}

/* Grid counter */
.usp-grid { counter-reset: usp-counter; position: relative; }

/* Card base — override prior styling cleanly */
.usp-item {
    counter-increment: usp-counter;
    position: relative;
    padding: 48px 32px 36px !important;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate; /* contain the ::after gradient border */
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0));
    transform-style: preserve-3d;
    transition:
        transform 0.55s cubic-bezier(.16, 1, .3, 1),
        border-color 0.4s ease,
        box-shadow 0.5s ease;
}

/* Reset the legacy translateY lift — magnetic tilt handles the lift */
.usp-item:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(8px); }

/* Big decorative numeral — outlined, sits in the corner */
.usp-item::before {
    content: "0" counter(usp-counter);
    position: absolute;
    top: 16px;
    right: 22px;
    font-family: var(--font-main);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 212, 255, 0.4);
    opacity: 0.5;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.16, 1, .3, 1);
    pointer-events: none;
    z-index: 1;
}

.services-preview .usp-item::before {
    -webkit-text-stroke-color: rgba(255, 215, 0, 0.45);
}

.usp-item:hover::before {
    opacity: 1;
    transform: translateY(-3px);
}

/* Animated gradient border on hover — two-color conic feel via mask */
.usp-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(0, 212, 255, 0.55) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255, 215, 0, 0.4) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.services-preview .usp-item::after {
    background: linear-gradient(135deg,
        rgba(255, 215, 0, 0.55) 0%,
        transparent 40%,
        transparent 60%,
        rgba(0, 212, 255, 0.35) 100%);
}

.usp-item:hover::after { opacity: 1; }

/* Icon "well" — square with glow + subtle border */
.usp-icon {
    width: 56px !important;
    height: 56px !important;
    padding: 14px !important;
    box-sizing: content-box !important;
    border-radius: 18px;
    margin: 0 auto 24px !important;
    background:
        radial-gradient(circle at 30% 25%, rgba(0, 212, 255, 0.25), transparent 65%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow:
        0 8px 24px rgba(0, 212, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.5s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.45s ease,
        border-color 0.4s ease;
}

.services-preview .usp-icon {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 215, 0, 0.25), transparent 65%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow:
        0 8px 24px rgba(255, 215, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Services-preview had text-align: left on its grid (inline style);
   preserve that but center the icon well with display flex trick */
.services-preview .usp-item { text-align: left; }
.services-preview .usp-icon { margin: 0 0 20px 0 !important; }

.usp-item:hover .usp-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 14px 30px rgba(0, 212, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.4);
}

.services-preview .usp-item:hover .usp-icon {
    box-shadow:
        0 14px 30px rgba(255, 215, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Tighter title + body typography inside cards */
.usp-item h3 {
    font-size: 1.22rem;
    letter-spacing: -0.015em;
    margin-bottom: 10px !important;
    line-height: 1.25;
    color: var(--text-strong);
}

.usp-item p {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text-muted);
}


/* Mobile polish */
@media (max-width: 640px) {
    .usp-section, .services-preview { padding: 70px 0; }
    .usp-item { padding: 40px 24px 30px !important; border-radius: 18px; }
    .usp-item::before { font-size: 2rem; top: 14px; right: 18px; }
    .usp-icon { width: 48px !important; height: 48px !important; padding: 12px !important; }
    .usp-section .container > p,
    .services-preview .container > p { font-size: 1rem; margin: -20px auto 40px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .usp-item:hover,
    .usp-item:hover .usp-icon { transform: none !important; }
    .usp-item::after { display: none; }
}
