/* =============================================
   DogAnty – Design System
   Inspired by ls.app dark theme
   ============================================= */

/* ===== CSS Custom Properties ===== */
:root {
    --bg-primary: #000000;
    --bg-surface: #0a1628;
    --bg-surface-2: #111827;
    --bg-card: rgba(10, 22, 40, 0.6);
    --bg-card-hover: rgba(10, 22, 40, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.8);
    --accent: #0ea5e9;
    --accent-teal: #06b6d4;
    --accent-glow: rgba(14, 165, 233, 0.15);
    --cta-start: #ea580c;
    --cta-end: #c2410c;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-subtle: rgba(14, 165, 233, 0.15);
    --border-card: rgba(14, 165, 233, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 60px rgba(14, 165, 233, 0.1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --container-max: 1200px;
    --container-narrow: 800px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: #050a14;
    background-image:
        radial-gradient(ellipse 120% 60% at 50% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-teal);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== Layout ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: var(--container-narrow);
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

/* ===== Glassmorphism Navbar ===== */
.navbar {
    position: relative;
    margin: 3rem auto 0;
    z-index: 9999;
    width: calc(100% - 4rem);
    max-width: var(--container-max);
    background: rgba(8, 15, 30, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 60px;
    padding: 0 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: visible;
}

.navbar.scrolled {
    background: rgba(4, 10, 22, 0.92);
    border-color: rgba(14, 165, 233, 0.18);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    top: 0.5rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.2rem;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: inline-flex;
    position: relative;
}

.logo-dog {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8, #67e8f9, #38bdf8, #0ea5e9);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.4));
}

.logo-anty {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8, #67e8f9, #38bdf8, #0ea5e9);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.4));
}

@keyframes logoShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-link {
    color: rgba(148, 163, 184, 0.9);
    padding: 0.5rem 0.85rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #e2e8f0;
    background: rgba(14, 165, 233, 0.06);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #f0f9ff;
    background: rgba(14, 165, 233, 0.1);
    font-weight: 600;
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    width: 20px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===== Language Selector ===== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.lang-btn svg {
    width: 10px;
    height: 6px;
    transition: transform 0.2s;
}

.lang-selector.open .lang-btn svg {
    transform: rotate(180deg);
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.4rem;
    z-index: 10001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-selector.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.lang-option:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent);
}

/* ===== Buttons ===== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-family);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(234, 88, 12, 0.4);
    color: #fff;
}

.btn-cta.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-cta.btn-xl {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-cta.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-cta.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-family);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(14, 165, 233, 0.05);
}

.btn-outline.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-outline.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-outline.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== Mobile Language Selector (hidden on desktop) ===== */
.mobile-lang-selector {
    display: none;
}

/* ===== Mobile Menu Toggle ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 4rem 0 6rem;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero>.container {
    width: 100%;
}

.hero-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 12s ease-in-out infinite 3s;
}

/* Support both old (.hero-grid/.hero-text) and new (.hero-content) structures */
.hero-grid {
    display: block !important;
}

.hero-text,
.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-image {
    display: none;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 30px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Sphere Cards Section ===== */
.spheres-section {
    position: relative;
    padding: 6rem 0;
}

.section-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.spheres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.sphere-card {
    position: relative;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
}

.sphere-card:hover {
    border-color: var(--border-card);
    transform: translateY(-4px);
}

.sphere-orb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.3), rgba(6, 182, 212, 0.1) 60%, rgba(0, 0, 0, 0.3));
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.15), inset 0 0 40px rgba(14, 165, 233, 0.1);
}

.sphere-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

.spheres-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.spheres-quote strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* ===== Features Grid ===== */
.features-section {
    padding: 6rem 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--border-card);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 6rem 0;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Blog Cards ===== */
.blog-section {
    padding: 6rem 0;
}

.blog-listing-section {
    padding: 2rem 0 6rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-grid-full {
    grid-template-columns: repeat(3, 1fr);
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    border-color: var(--border-card);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-surface);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-surface-2));
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.blog-card-link {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.75rem;
}

/* ===== Page Hero ===== */
.page-hero {
    position: relative;
    padding: 4rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.page-hero-sm {
    padding: 3rem 0 3rem;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.page-hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Features Detail ===== */
.features-detail-section {
    padding: 4rem 0 6rem;
}

.feature-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 0 1rem;
}

.feature-detail-block.reverse {
    direction: rtl;
}

.feature-detail-block.reverse>* {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.feature-detail-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.feature-detail-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Feature Visual Cards */
.feature-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.visual-dot.red {
    background: #ef4444;
}

.visual-dot.yellow {
    background: #eab308;
}

.visual-dot.green {
    background: #22c55e;
}

.visual-title {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.visual-body {
    padding: 1.25rem;
}

.visual-line {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    font-family: 'SF Mono', SFMono-Regular, Consolas, monospace;
}

.code-key {
    color: var(--accent);
}

.code-val {
    color: var(--text-secondary);
}

.code-val.success {
    color: #22c55e;
}

/* ===== Pricing ===== */
.pricing-section {
    padding: 2rem 0 6rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-card);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: rgba(14, 165, 233, 0.08);
    box-shadow: 0 0 60px rgba(14, 165, 233, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-teal));
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-features li svg {
    flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 4rem 0 6rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--border-card);
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Download Section ===== */
.download-section {
    padding: 2rem 0 6rem;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
    box-shadow: var(--shadow-glow);
}

.download-card-header {
    margin-bottom: 2rem;
}

.download-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.download-card-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.download-version-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.download-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.check-icon {
    font-size: 1rem;
}

.download-cta {
    margin-top: 1.5rem;
}

.download-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

.requirements-section {
    margin-bottom: 4rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.requirement-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.requirement-card h4 {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.requirement-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== Changelog ===== */
.changelog-section {
    margin-bottom: 4rem;
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.changelog-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.changelog-type {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.changelog-type.fix {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.changelog-type.feature {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.changelog-type.improve {
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent);
}

.changelog-item span:last-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== Demo Video Section ===== */
.demo-video-section {
    padding: 4rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.video-card {
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    background: var(--bg-glass);
}

.video-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Blog Section ===== */
.blog-section {
    position: relative;
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: rgba(14, 165, 233, 0.05);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
}

.blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #f0c8a0 !important;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.75rem;
}

.blog-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== App Preview Section ===== */
.app-preview-section {
    padding: 2rem 0 4rem;
}

.app-preview {
    text-align: center;
}

.app-preview-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 10px 50px rgba(14, 165, 233, 0.15), 0 0 80px rgba(14, 165, 233, 0.05);
    opacity: 0.85;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 900px;
    height: auto;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    border-radius: 12px;
    filter: brightness(0.8);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 70%);
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-size: clamp(1rem, 2vw, 1.5rem) !important;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1rem;
    }
}

/* ===== Advantages Section ===== */
.advantages-section {
    position: relative;
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.advantage-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.advantage-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Features Detail Section ===== */
.features-detail-section {
    position: relative;
    padding: 4rem 0;
}

.features-detail-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
}

.feature-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 1.2rem 0;
}

.feature-detail-block.reverse {
    direction: rtl;
}

.feature-detail-block.reverse>* {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.feature-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-detail-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 0.5rem;
}

.feature-detail-visual {
    display: flex;
    justify-content: center;
}

.feature-visual-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.visual-dot.red {
    background: #ef4444;
}

.visual-dot.yellow {
    background: #eab308;
}

.visual-dot.green {
    background: #22c55e;
}

.visual-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.visual-body {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.visual-line {
    padding: 0.25rem 0;
    line-height: 1.5;
}

.code-key {
    color: var(--accent);
}

.code-val {
    color: var(--text-secondary);
}

.code-val.success {
    color: #22c55e;
}

@media (max-width: 768px) {
    .feature-detail-block {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .feature-detail-block.reverse {
        direction: ltr;
    }

    .feature-visual-card {
        max-width: 100%;
    }
}

/* ===== Article Page ===== */
.article-section {
    position: relative;
    padding: 3rem 0 6rem;
    overflow: hidden;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb svg {
    color: var(--text-muted);
}

.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-featured-image {
    margin-bottom: 2.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.article-featured-image img {
    width: 100%;
    display: block;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.article-content code {
    background: rgba(14, 165, 233, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent);
}

.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    position: relative;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-col li a:hover {
    color: var(--accent);
}

.footer-cta-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .spheres-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .feature-detail-block {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .feature-detail-block.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 2rem);
        margin: 0.5rem auto;
        border-radius: var(--radius-lg);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-lg);
        padding: 1rem;
        margin-top: 0.5rem;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .nav-actions {
        display: none;
    }

    .mobile-lang-selector {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem;
        border-top: 1px solid rgba(14, 165, 233, 0.15);
        margin-top: 0.5rem;
    }

    .mobile-lang-selector .lang-option {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.4rem 0.8rem;
        border-radius: 8px;
        font-size: 0.8rem;
        color: #94a3b8;
        background: rgba(14, 165, 233, 0.08);
        text-decoration: none;
        transition: all 0.2s;
    }

    .mobile-lang-selector .lang-option.active {
        background: rgba(14, 165, 233, 0.2);
        color: #0ea5e9;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 3rem 0 4rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .spheres-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px;
        margin: 0 auto;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    .faq-grid {
        grid-template-columns: 1fr !important;
    }

    .requirements-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .spheres-grid {
        grid-template-columns: 1fr !important;
    }

    .requirements-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Demo Video Section ===== */
.demo-video-section {
    padding: 4rem 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.video-card {
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    background: var(--bg-glass);
}

.video-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Blog Section ===== */
.blog-section {
    position: relative;
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: rgba(14, 165, 233, 0.05);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
}

.blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1rem !important;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #f0c8a0 !important;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.75rem;
}

.blog-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== App Preview Section ===== */
.app-preview-section {
    padding: 2rem 0 4rem;
}

.app-preview {
    text-align: center;
}

.app-preview-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 10px 50px rgba(14, 165, 233, 0.15), 0 0 80px rgba(14, 165, 233, 0.05);
    opacity: 0.85;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 900px;
    height: auto;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    border-radius: 12px;
    filter: brightness(0.8);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 70%);
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-size: clamp(1rem, 2vw, 1.5rem) !important;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ===== Advantages Section ===== */
.advantages-section {
    position: relative;
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.advantage-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.advantage-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Features Detail Section ===== */
.features-detail-section {
    position: relative;
    padding: 4rem 0;
}

.feature-detail-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.feature-detail-block.reverse {
    flex-direction: row-reverse;
}

.feature-detail-content {
    flex: 1;
    min-width: 300px;
}

.feature-detail-visual {
    flex: 1;
    min-width: 300px;
}

.feature-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.feature-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-detail-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-visual-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.visual-dot.red {
    background: #ef4444;
}

.visual-dot.yellow {
    background: #eab308;
}

.visual-dot.green {
    background: #22c55e;
}

.visual-title {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.visual-body {
    padding: 1.25rem;
}

.visual-line {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.code-key {
    color: var(--text-muted);
}

.code-val {
    color: var(--accent);
}

.code-val.success {
    color: #22c55e;
}

@media (max-width: 768px) {

    .feature-detail-block,
    .feature-detail-block.reverse {
        flex-direction: column;
    }
}

/* ===== Comprehensive Responsive Supplement ===== */

/* -- Tablet Landscape -- */
@media (max-width: 1024px) {
    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-sub {
        font-size: 0.9rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .download-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -- Tablet Portrait -- */
@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0 2rem;
    }

    .page-hero-sm {
        padding: 2rem 0 1.5rem;
    }

    .page-hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .page-hero-sub {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.3rem;
    }

    /* App Preview */
    .app-preview-img {
        max-width: 100% !important;
    }

    /* Download */
    .download-card {
        padding: 1.5rem;
    }

    .download-card-header h2 {
        font-size: 1.3rem;
    }

    .download-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .btn-xl {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    /* Changelog */
    .changelog-item {
        flex-wrap: wrap;
    }

    /* Footer */
    .footer {
        padding: 2rem 0;
    }

    .footer-desc {
        font-size: 0.8rem;
    }
}

/* -- Mobile -- */
@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.3rem;
    }

    .page-hero-sub {
        font-size: 0.78rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: 0.85rem;
    }

    /* Download */
    .download-icon-large img {
        width: 48px !important;
        height: 48px !important;
    }

    .download-card-header h2 {
        font-size: 1.1rem;
    }

    /* Tables horizontal scroll */
    .ref-earnings,
    .changelog-section {
        overflow-x: auto;
    }

    .ref-earnings table {
        min-width: 500px;
    }

    /* Footer */
    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-col h4 {
        margin-top: 1rem;
    }

    /* Sections general */
    section {
        padding: 2rem 0;
    }

    .pricing-section {
        padding: 1.5rem 0;
    }
}

/* ===== Stats Counter Cards ===== */
.stat-card {
    text-align: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-suffix {
    display: inline;
    font-size: clamp(1rem, 2vw, 1.5rem) !important;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-number-text {
    font-size: clamp(1rem, 2vw, 1.5rem) !important;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-number,
.stat-suffix {
    display: inline;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== How It Works Section ===== */
.hiw-section {
    position: relative;
    padding: 4rem 0;
}

.hiw-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
}

.hiw-step {
    text-align: center;
    flex: 1;
    padding: 0 1rem;
    position: relative;
}

.hiw-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #38bdf8);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hiw-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--accent);
    transition: all var(--transition);
}

.hiw-step:hover .hiw-step-icon {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
    transform: scale(1.05);
}

.hiw-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.hiw-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hiw-connector {
    display: flex;
    align-items: center;
    padding-top: 4.5rem;
    flex-shrink: 0;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hiw-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hiw-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .hiw-step {
        max-width: 100%;
    }
}

/* ===== Comparison Table Section ===== */
.compare-section {
    position: relative;
    padding: 4rem 0;
}

.compare-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(14, 165, 233, 0.15);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 40px rgba(14, 165, 233, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.compare-table thead th {
    padding: 1.4rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
    letter-spacing: 0.02em;
}

.compare-table thead th:first-child {
    text-align: left;
    padding-left: 2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.compare-table thead th.compare-highlight {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
    color: #38bdf8;
    position: relative;
    font-size: 1rem;
}

.compare-table thead th.compare-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    border-radius: 0 0 4px 4px;
}

.compare-table tbody td {
    padding: 0.95rem 1.2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    transition: all 0.2s ease;
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
    padding-left: 2rem;
    white-space: nowrap;
}

.compare-table tbody td.compare-highlight {
    background: rgba(14, 165, 233, 0.03);
    border-left: 1px solid rgba(14, 165, 233, 0.06);
    border-right: 1px solid rgba(14, 165, 233, 0.06);
}

.compare-table tbody tr:hover {
    background: rgba(14, 165, 233, 0.04);
}

.compare-table tbody tr:hover td:first-child {
    color: #e2e8f0;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
}

.compare-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 700;
}

.compare-partial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .compare-table tbody td:first-child {
        white-space: normal;
        min-width: 160px;
        padding-left: 1rem;
    }

    .compare-table thead th:first-child {
        padding-left: 1rem;
    }
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    position: relative;
    padding: 4rem 0;
}

.testimonials-carousel {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .testimonial-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

.testimonial-card>* {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.testimonial-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
}

@media (min-width: 769px) {
    .testimonials-dots {
        display: none;
    }
}

/* ===== FAQ Section ===== */
.home-faq-section {
    position: relative;
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--bg-glass);
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: rgba(14, 165, 233, 0.2);
}

.faq-item.active {
    border-color: rgba(14, 165, 233, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    font-family: inherit;
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


.scroll-banner-section {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
}

.scroll-banner-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: scrollBanner 180s linear infinite;
}

.scroll-banner-img {
    display: block;
    height: auto;
    max-height: 64px;
    width: auto;
    flex-shrink: 0;
}

@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== SmartAds-style Ambient Background ===== */

/* Main ambient container — fixed behind all content */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Large concentrated radial glow orbs — SmartAds style */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Primary top-center glow — hero focal point (like SmartAds hero) */
.ambient-orb-1 {
    width: 1000px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.18) 0%, rgba(6, 182, 212, 0.08) 35%, transparent 70%);
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(40px);
    animation: ambientPulse 10s ease-in-out infinite;
}

/* Secondary right-side glow — accent depth */
.ambient-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.10) 0%, rgba(56, 189, 248, 0.04) 40%, transparent 70%);
    top: 25%;
    right: -12%;
    filter: blur(60px);
    animation: ambientDrift 18s ease-in-out infinite;
}

/* Tertiary bottom-left warm accent */
.ambient-orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 65%);
    bottom: 10%;
    left: -8%;
    filter: blur(50px);
    animation: ambientDrift 22s ease-in-out infinite 6s;
}

/* Scattered star-like particle dots — SmartAds signature effect */
.ambient-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(14, 165, 233, 0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 40% 8%, rgba(14, 165, 233, 0.6) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 45%, rgba(255, 255, 255, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 20%, rgba(6, 182, 212, 0.5) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 85% 55%, rgba(14, 165, 233, 0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 15% 65%, rgba(255, 255, 255, 0.2) 50%, transparent 50%),
        radial-gradient(1px 1px at 92% 12%, rgba(6, 182, 212, 0.45) 50%, transparent 50%),
        radial-gradient(1px 1px at 5% 80%, rgba(14, 165, 233, 0.35) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 48% 72%, rgba(255, 255, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 78% 85%, rgba(14, 165, 233, 0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 33% 92%, rgba(6, 182, 212, 0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 62% 28%, rgba(255, 255, 255, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 18% 42%, rgba(14, 165, 233, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 88% 38%, rgba(6, 182, 212, 0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 45% 58%, rgba(255, 255, 255, 0.2) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 72% 68%, rgba(14, 165, 233, 0.45) 50%, transparent 50%),
        radial-gradient(1px 1px at 8% 25%, rgba(255, 255, 255, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 95% 75%, rgba(6, 182, 212, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 28% 5%, rgba(14, 165, 233, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 52% 88%, rgba(255, 255, 255, 0.2) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 82% 48%, rgba(14, 165, 233, 0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 38% 18%, rgba(6, 182, 212, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 65% 95%, rgba(255, 255, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 3% 55%, rgba(14, 165, 233, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 58% 3%, rgba(6, 182, 212, 0.4) 50%, transparent 50%);
    animation: particleTwinkle 6s ease-in-out infinite alternate;
}

.ambient-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 12% 78%, rgba(14, 165, 233, 0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 42% 32%, rgba(255, 255, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 68% 52%, rgba(6, 182, 212, 0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 22% 88%, rgba(14, 165, 233, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 22%, rgba(255, 255, 255, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 12%, rgba(6, 182, 212, 0.4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 35% 48%, rgba(14, 165, 233, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 75% 78%, rgba(255, 255, 255, 0.2) 50%, transparent 50%),
        radial-gradient(1px 1px at 48% 42%, rgba(6, 182, 212, 0.45) 50%, transparent 50%),
        radial-gradient(1px 1px at 85% 65%, rgba(14, 165, 233, 0.35) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 15% 32%, rgba(255, 255, 255, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 62% 82%, rgba(6, 182, 212, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 28% 58%, rgba(14, 165, 233, 0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 95% 42%, rgba(255, 255, 255, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 8% 95%, rgba(6, 182, 212, 0.35) 50%, transparent 50%);
    animation: particleTwinkle 8s ease-in-out infinite alternate-reverse;
}

/* Edge glow frame — subtle border lighting like SmartAds */
.ambient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 5%,
            rgba(14, 165, 233, 0.3) 20%,
            rgba(6, 182, 212, 0.5) 50%,
            rgba(14, 165, 233, 0.3) 80%,
            transparent 95%);
    z-index: 1;
}

.ambient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, transparent 100%);
    pointer-events: none;
}

/* Section divider glow line */
.section-divider-glow {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(14, 165, 233, 0.2) 30%, rgba(6, 182, 212, 0.3) 50%, rgba(14, 165, 233, 0.2) 70%, transparent 90%);
    position: relative;
    margin: 0 auto;
    max-width: var(--container-max);
}

.section-divider-glow::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Ensure all main content sits above ambient bg */
.hero,
.stats-section,
.app-preview-section,
.spheres-section,
.advantages-section,
.hiw-section,
.compare-section,
.blog-section,
.testimonials-section,
.home-faq-section,
.cta-section,
.scroll-banner-section,
.features-section,
.features-detail-section,
.pricing-section,
.faq-section,
.download-section,
.demo-video-section,
.page-hero,
.article-section,
.blog-listing-section,
.footer {
    position: relative;
    z-index: 1;
}

/* ===== Ambient Keyframes ===== */
@keyframes ambientPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

@keyframes ambientDrift {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(0, 0);
    }

    33% {
        opacity: 0.8;
        transform: translate(15px, -10px);
    }

    66% {
        opacity: 0.6;
        transform: translate(-10px, 8px);
    }
}

@keyframes particleTwinkle {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.12);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .ambient-orb,
    .hero-glow,
    .hero-glow-2,
    .ambient-grid::before,
    .ambient-grid::after {
        animation: none !important;
    }

    .ambient-orb {
        opacity: 0.5;
    }

    .ambient-grid::before,
    .ambient-grid::after {
        opacity: 0.7;
    }
}