/*
Theme Name: Keep.domains
Theme URI: https://keep.domains
Author: Keep.domains Team
Author URI: https://keep.domains
Description: A modern, minimalist dark theme for domain portfolio management
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keepdomains
Tags: dark, modern, portfolio, one-page, react

This theme, like WordPress, is licensed under the GPL.
*/

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

/* Typography for Post Content */
.entry-content {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.entry-content h1 {
    font-size: 2.5rem;
}

.entry-content h2 {
    font-size: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content h4 {
    font-size: 1.25rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: #818cf8;
    text-decoration: none;
    border-bottom: 1px solid rgba(129, 140, 248, 0.3);
    transition: all 0.2s;
}

.entry-content a:hover {
    color: #a5b4fc;
    border-color: #a5b4fc;
}

.entry-content blockquote {
    border-left: 4px solid #818cf8;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.entry-content strong {
    color: #fff;
    font-weight: 600;
}

.entry-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    color: #e2e8f0;
}

.entry-content pre {
    background: #111;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    position: relative;
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        /* Reduce padding on small screens */
    }
}

code {
    font-family: 'Courier New', Courier, monospace;
}

::selection {
    background-color: rgba(99, 102, 241, 0.3);
}

/* Animation Keyframes */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

@keyframes bounce-slow {

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

    50% {
        transform: translateY(5%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-blob {
    animation: blob 10s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Background Effects */
.background-glow {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-grid-white {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.5);
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: rotate(12deg);
}

.logo-dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #000;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo-text-muted {
    opacity: 0.4;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.nav-divider {
    display: none;
    height: 1rem;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
}

@media (min-width: 768px) {
    .nav-divider {
        display: block;
    }
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #fff;
    color: #000;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.status-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background-color: #10b981;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.75;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.search-wrapper {
    max-width: 36rem;
    margin: 0 auto 5rem;
    position: relative;
}

.search-glow {
    display: none;
}



.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem;
    padding-left: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.search-icon {
    color: rgba(255, 255, 255, 0.3);
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    height: 3rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-btn {
    height: 3rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 16px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .search-wrapper {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .search-container {
        padding-left: 1rem;
    }

    .search-btn {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        /* Reduce padding on small screens */
    }

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

    .search-wrapper {
        width: 100%;
    }

    .search-container {
        padding: 0.25rem;
        padding-left: 0.75rem;
    }

    .search-input {
        font-size: 0.9rem;
        height: 2.5rem;
        /* Reduced height */
    }

    .search-btn {
        padding: 0 0.875rem;
        height: 2.5rem;
        /* Reduced height */
        font-size: 0.9rem;
    }
}

/* Dashboard Preview */
.dashboard-preview {
    position: relative;
    width: 100%;
    max-width: 70rem;
    /* Increased width for better layout */
    margin: 0 auto;
}

.preview-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000, transparent, transparent);
    z-index: 10;
    height: 100%;
    width: 100%;
}

.preview-browser {
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.preview-content {
    background-color: #050505;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    min-height: 480px;
}

.preview-toolbar {
    height: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.02);
}

.toolbar-dots {
    display: flex;
    gap: 0.375rem;
}

.toolbar-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.toolbar-url {
    height: 1.5rem;
    width: 16rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Courier New', Courier, monospace;
}

.preview-dashboard-grid {
    display: flex;
    height: 450px;
}

/* Sidebar Real */
.preview-sidebar-real {
    width: 200px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.01);
}

@media (max-width: 768px) {
    .preview-sidebar-real {
        width: 60px;
        padding: 1.5rem 0.5rem;
        align-items: center;
    }

    .preview-sidebar-real span {
        display: none;
    }
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.825rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.sidebar-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
    background-color: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

/* Main Area */
.preview-main-area {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.03), transparent 40%);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 7rem;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.stat-icon-sm {
    color: rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.stat-value.warning-text {
    color: #fbbf24;
}

.stat-trend {
    font-size: 0.7rem;
    margin-top: auto;
}

.stat-trend.positive {
    color: #34d399;
}

.stat-trend.neutral {
    color: rgba(255, 255, 255, 0.3);
}

.stat-trend.negative {
    color: #f87171;
}

/* Lower Grid */
.dashboard-lower-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    flex: 1;
}

@media (max-width: 768px) {
    .dashboard-lower-grid {
        display: flex;
        flex-direction: column;
    }
}

/* List Widget */
.dashboard-list-widget {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.widget-more {
    color: #818cf8;
    font-size: 0.7rem;
    cursor: pointer;
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.widget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.domain-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.domain-name {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 500;
}

.domain-registrar {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

.domain-expiry {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.domain-expiry.warning {
    color: #fbbf24;
    background-color: rgba(251, 191, 36, 0.1);
}

/* Chart */
.chart-card {
    height: 100%;
    border-radius: 0;
    background-color: transparent;
    border: none;
    padding: 1rem;
    /* Adjust if needed */
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
}

.chart-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: auto;
    /* Push bars to bottom */
    font-family: 'Courier New', Courier, monospace;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    height: 60%;
    width: 100%;
}

.chart-bar {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-top-left-radius: 0.125rem;
    border-top-right-radius: 0.125rem;
    transition: background-color 0.5s;
}

.chart-card:hover .chart-bar {
    background-color: rgba(99, 102, 241, 0.5);
}

/* Logo Ticker */
.logo-ticker {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #000;
}

.ticker-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.ticker-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.4;
    filter: grayscale(100%);
    mix-blend-mode: screen;
    padding: 0 2.5rem;
}

@media (min-width: 768px) {
    .ticker-logos {
        padding: 0 8rem;
    }
}

.ticker-logo {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-family: 'Courier New', Courier, monospace;
    cursor: default;
    transition: opacity 0.3s;
}

@media (min-width: 768px) {
    .ticker-logo {
        font-size: 1.25rem;
    }
}

.ticker-logo:hover {
    opacity: 1;
}

/* Bento Grid */
.bento-section {
    padding: 8rem 0;
}

.bento-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    grid-auto-rows: 300px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-card {
    border-radius: 1.5rem;
    background-color: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-card.large {
    grid-column: span 2;
}

@media (max-width: 767px) {
    .bento-card.large {
        grid-column: span 1;
    }
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.bento-card:hover .card-gradient {
    opacity: 1;
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-description {
    color: rgba(255, 255, 255, 0.5);
    max-width: 21rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.tag.warning {
    border-color: rgba(239, 68, 68, 0.3);
    background-color: rgba(239, 68, 68, 0.1);
    color: rgb(248, 113, 113);
}

.card-glow {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 16rem;
    height: 16rem;
    background-color: rgba(99, 102, 241, 0.2);
    filter: blur(80px);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.bento-card:hover .card-glow {
    background-color: rgba(99, 102, 241, 0.3);
}

.card-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 2rem;
    background-color: rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #10b981;
    border-radius: 50%;
}

/* Interactive Demo */
.demo-section {
    padding: 8rem 0;
    background-color: #000;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.demo-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        /* Wide gap for better separation */
    }
}



.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-row {
    display: flex;
    gap: 1rem;
}

.feature-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.feature-row:hover .feature-icon-box {
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transition: color 0.3s;
}

.feature-row:hover .feature-text h4 {
    color: rgba(255, 255, 255, 0.9);
}

.feature-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.75;
}

.demo-preview {
    flex: 1;
    width: 100%;
    position: relative;
}

.demo-glow {
    position: absolute;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    filter: blur(60px);
}

.demo-glow.top {
    top: -2.5rem;
    right: -2.5rem;
    background-color: rgba(168, 85, 247, 0.2);
}

.demo-glow.bottom {
    bottom: -2.5rem;
    left: -2.5rem;
    background-color: rgba(99, 102, 241, 0.2);
}

.demo-card {
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.demo-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(to top right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-info-bar {
    height: 0.5rem;
    width: 6rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    margin-bottom: 0.375rem;
}

.profile-info-bar-sm {
    height: 0.5rem;
    width: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 0.75rem;
}

.demo-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: default;
    transition: background-color 0.3s;
}

.demo-list-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.list-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.list-item-icon {
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.list-item-bar {
    width: 8rem;
    height: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.list-item-bar-sm {
    width: 4rem;
    height: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.demo-notification {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 16rem;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notification-dot {
    margin-top: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #ef4444;
}

.notification-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.notification-text {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 5rem;
}

.pricing-header .section-description {
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}



@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pricing Card scaled down to ~80% */
.pricing-card {
    padding: 2rem;
    /* Was 2.5rem */
    border-radius: 1.2rem;
    /* Was 1.5rem */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    background-color: #080a0f;
    /* Deep dark bg */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-0.25rem);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.highlight {
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Stronger white border for Pro */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    /* Slightly smaller shadow */
    background-color: #0f1219;
    /* Slightly lighter/blue-ish tint for contrast */
}

/* Add a subtle top glow for premium feel */
.pricing-card.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0.5;
}

.pricing-tier {
    font-size: 1.1rem;
    /* Was 1.25rem */
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
    /* Was 0.5rem */
}

.pricing-price {
    font-size: 2.4rem;
    /* Was 3rem */
    font-weight: 800;
    margin-bottom: 2rem;
    /* Was 2.5rem */
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.pricing-period {
    font-size: 0.9rem;
    /* Was 1rem */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Was 1.25rem */
    /* More space between features */
    margin-bottom: 2.4rem;
    /* Was 3rem */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    /* Was 1rem */
    font-size: 0.9rem;
    /* Was 1rem */
    color: #cbd5e1;
    /* Lighter text */
}

.feature-check {
    color: #fff;
    /* White checks */
    flex-shrink: 0;
    width: 1rem;
    /* Was 1.25rem */
    height: 1rem;
}

/* Pro Features often have a specific color? keeping white for monochrome request */
.pricing-card.highlight .feature-check {
    color: #fff;
}

.pricing-btn {
    width: 100%;
    padding: 1.25rem 1rem;
    /* More padding top/bottom */
    border-radius: 16px;
    /* Specific radius requested */
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.pricing-btn.primary {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
}

.pricing-btn.primary:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.pricing-btn.secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 4.5rem;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-btn {
    height: 3rem;
    padding: 0 2rem;
    border-radius: 9999px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.cta-btn.primary {
    background-color: #fff;
    color: #000;
}

.cta-btn.primary:hover {
    transform: scale(1.05);
}

.cta-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: #fff;
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: #000;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* Reduced from 1rem */
    margin-bottom: 2rem;
}

.footer-logo-icon {
    width: 1.5rem;
    /* Reduced from 3.5rem (~40%) */
    height: 1.5rem;
    background-color: #fff;
    border-radius: 0.35rem;
    /* Scaled radius */
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-dot {
    width: 0.6rem;
    /* Reduced from 1.5rem */
    height: 0.6rem;
    background-color: #000;
    border-radius: 50%;
}

.footer-logo-text {
    font-size: 1.1rem;
    /* Reduced from 2.5rem */
    letter-spacing: -0.02em;
    line-height: 1;
    display: flex;
}

.text-keep {
    color: #fff;
    font-weight: 700;
}

.text-domains {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Fade In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\\:block {
        display: block;
    }
}

/* Partners Section */
.partners-section {
    padding: 5rem 1.5rem;
    text-align: center;
    background-color: #000;
    /* Ensure background matches manually if needed, or transparent */
}

.partners-label {
    text-transform: uppercase;
    font-size: 0.825rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 3rem;
    font-weight: 500;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.8;
    max-width: 70rem;
    width: 100%;
    margin: 0 auto;
}

.partner-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s;
    opacity: 0.5;
}

.partner-logo:hover {
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-section {
        padding: 4rem 0;
    }

    .partners-logos {
        gap: 2rem;
    }

    .partner-logo {
        height: 32px;
    }
}

/* Bot Mockup Visual */
.demo-visual {
    /* No flex needed on parent grid item if we use justify-self.
       But since it is a flex container for centering the mockup wrapper... */
    display: flex;
    justify-content: flex-end;
    /* Push content to the right */
    width: 100%;
    position: relative;
    align-items: center;
}

/* Support Page Styles */
.support-bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.glow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: blob 10s infinite;
}

.blob-1 {
    top: 20%;
    left: 20%;
    background-color: #6366f1;
}

.blob-2 {
    bottom: 20%;
    right: 20%;
    background-color: #8b5cf6;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .support-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.support-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.text-highlight {
    color: #fff;
}

.support-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.support-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s;
}

.contact-card:not(.disabled):hover {
    border-color: rgba(129, 140, 248, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.contact-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-icon {
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-email {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.icon-docs {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.contact-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.contact-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

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

.support-form-wrapper {
    animation-delay: 0.2s;
}

.support-form-card {
    background: rgba(13, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #818cf8;
    box-shadow: 0 0 0 1px #818cf8;
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

#form-response {
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

#form-response.success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

#form-response.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.hidden {
    display: none !important;
}

.bot-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.bot-bg-card {
    background-color: #0f1219;
    /* Darker bg */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
    opacity: 0.5;
    transform: scale(0.95) translateY(-20px);
}

.bot-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.bot-avatar-placeholder {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.bot-lines {
    flex: 1;
    margin-left: 1rem;
}

.bot-line {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    height: 0.5rem;
    margin-bottom: 0.5rem;
}

.bot-line:last-child {
    margin-bottom: 0;
}

.bot-line.long {
    width: 60%;
}

.bot-line.short {
    width: 40%;
}

.bot-line.medium {
    width: 50%;
}

.bot-line.small {
    width: 30%;
}

.bot-line.mini {
    width: 2rem;
}

.bot-status-badge {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 500;
}

.bot-list-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bot-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bot-list-item:last-child {
    border-bottom: none;
}

.bot-icon-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Notification Pop-up */
.bot-notification-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #1e293b;
    /* Slate blue-ish */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    width: 90%;
    z-index: 10;
    display: flex;
    gap: 1rem;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.bot-icon {
    width: 3rem;
    height: 3rem;
    background-color: #38bdf8;
    /* Telegram/Blue color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-content {
    flex: 1;
}

.bot-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.bot-message {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

.ml-auto {
    margin-left: auto;
}

/* Feature Layers Stack Visual */
.feature-stack-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card {
    background-color: #0f1219;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    position: absolute;
    width: 280px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

/* Layer 1: Import (Back) */
.layer-import {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    z-index: 1;
    opacity: 0.6;
    background-color: #1a1e2e;
}

.layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.layer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.layer-badge {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 99px;
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.registrar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.registrar-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.registrar-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.registrar-name {
    flex: 1;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.registrar-status.active {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
}

/* Layer 2: Monitoring (Middle) */
.layer-monitoring {
    top: 60px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    z-index: 2;
    opacity: 0.8;
    background-color: #1e293b;
}

.monitoring-graph {
    height: 40px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.monitoring-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.stat-val {
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-val.valid {
    color: #10b981;
}

/* Layer 3: Wishlist (Front) */
.layer-wishlist {
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #0f172a;
    border-color: rgba(139, 92, 246, 0.3);
}

.wishlist-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-content {
    flex: 1;
}

.wishlist-title {
    font-weight: 700;
    font-size: 0.9375rem;
}

.wishlist-status {
    font-size: 0.75rem;
    color: #10b981;
}

.wishlist-action {
    background-color: #fff;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

/* Dashboard Grid Layout (New Structure) */
/* Dashboard Grid Layout (New Structure - Premium Upgrade) */
.dashboard-mini-wrapper {
    background-color: #0d0d0d;
    /* Hero Base */
    background-image: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 60%);
    /* Hero Gradient Tint */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Hero Border */
    border-radius: 12px;
    padding: 1.5rem;
    width: 380px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

/* Glass Effect Overlay */
.dashboard-mini-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
    z-index: 0;
}

.dashboard-mini-wrapper>* {
    position: relative;
    z-index: 1;
}

.dashboard-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.mini-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red {
    background-color: rgba(239, 68, 68, 0.8);
}

.dot.yellow {
    background-color: rgba(245, 158, 11, 0.8);
}

.dot.green {
    background-color: rgba(16, 185, 129, 0.8);
}

.mini-bar {
    width: 30%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mini-panel {
    background-color: rgba(255, 255, 255, 0.03);
    /* Hero Glass */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.mini-panel:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.import-panel {
    grid-column: span 2;
    background: #161616;
    /* Subtle gradient */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.monitor-panel,
.wishlist-panel {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Panel Internals */
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.panel-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    /* Slate text */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.panel-status.success {
    font-size: 0.65rem;
    color: #3b82f6;
    /* Blue for Sync */
    background-color: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 600;
}

.panel-value {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
}

/* Integration Icons */
.integration-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.int-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background-color: #1e293b;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.int-icon.namecheap {
    background-color: #2e1065;
    color: #f472b6;
}

/* Adjusted to purple-pink */
.int-icon.spaceship {
    background-color: #172554;
    color: #60a5fa;
}

/* Deep Blue */
.int-icon.porkbun {
    background-color: #450a0a;
    color: #f87171;
}

/* Deep Red */

.int-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Wishlist Alert */
.wishlist-alert {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.heart-icon {
    color: #8b5cf6;
    /* Violet */
    margin-bottom: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.domain-status {
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 500;
}

/* Comparison Section */
.comparison-section {
    padding: 8rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.comparison-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-card {
    padding: 3rem;
    border-radius: 1.5rem;
    background-color: #080a0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
    overflow: hidden;
}

.comparison-card.bad {
    border-color: rgba(255, 59, 48, 0.1);
    /* Subtle red tint */
}

/* Messy Spreadsheet Visual */
.spreadsheet-visual {
    background-color: #1a1a1a;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    opacity: 0.7;
    transform: rotate(-1deg);
    transition: all 0.3s;
    height: 320px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comparison-card:hover .spreadsheet-visual {
    opacity: 0.9;
    transform: rotate(0deg);
}

.sheet-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.sheet-cell {
    background: rgba(255, 255, 255, 0.03);
    height: 1.25rem;
    border-radius: 0.25rem;
}

.sheet-cell.red {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

/* Keep.domains Solution Visual */
.solution-visual {
    background-color: #0d0f14;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    height: 320px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
}

.solution-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.domain-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.domain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.domain-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.domain-status {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #10b981;
}

.comp-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.comp-desc {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comp-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.comp-list li svg {
    flex-shrink: 0;
}

/* Enhanced Dashboard Visual (Command Center) */
.sol-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    padding-bottom: 0.75rem;
    /* Reduced from 1rem */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sol-search {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    height: 2rem;
    width: 60%;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
}

.sol-search-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.sol-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
}

.sol-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sol-stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.sol-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.registrar-badge {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.toggle-switch {
    width: 2rem;
    height: 1.1rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 99px;
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.toggle-knob {
    width: 0.75rem;
    height: 0.75rem;
    background: #10b981;
    border-radius: 50%;
    position: absolute;
    top: 0.075rem;
    /* (1.1 - 2*border - 0.75) / 2 approx? No, 1px border. */
    /* top: calc(50% - 0.375rem); */
    right: 0.15rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Small Bento Rows */
.bento-grid.small-rows {
    grid-auto-rows: 170px;
    /* Reduced height (~half of 300px + gap adjustments) */
    margin-top: 1.5rem;
}

.bento-card.small {
    padding: 1.5rem;
}

.bento-card.small .card-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
}

.bento-card.small .card-icon svg {
    width: 16px;
    height: 16px;
}

.bento-card.small .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.bento-card.small .card-description {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Feature Stack Visual (New Redesign) */
.feature-stack-wrapper {
    position: relative;
    width: 380px;
    height: 320px;
    /* Added height to contain floating elements */
    margin-right: 2rem;
}

.feature-card {
    position: absolute;
    width: 100%;
    background-color: #0f1219;
    /* Deep base */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

/* 1. Integration Card (Back/Top) */
.card-integrations {
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1;
    transform: scale(0.95) translateY(-20px);
    opacity: 0.6;
    background-color: #0a0c10;
}

/* 2. Monitoring Card (Middle) */
.card-monitoring {
    top: 80px;
    left: 5%;
    width: 90%;
    z-index: 2;
    transform: scale(0.98);
    opacity: 0.9;
    background-color: #11141d;
    border-color: rgba(255, 255, 255, 0.15);
}

/* 3. Wishlist Notification (Front/Bottom) */
.card-wishlist {
    bottom: -10px;
    right: -10px;
    width: 70%;
    z-index: 3;
    background-color: #161b22;
    border-color: rgba(139, 92, 246, 0.3);
    /* Purple tint */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(139, 92, 246, 0.1);
    transform: translateX(10px);
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 10;
    /* Pop to front on hover */
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Internal contents */
.stack-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
}

.stack-row {
    display: flex;
    gap: 0.75rem;
}

/* Bento Grid (1 Wide + 2 Small) */
.bento-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.hero-card {
    grid-column: span 2;
    min-height: 240px;
    justify-content: center;
}

.small-card {
    grid-column: span 1;
    min-height: 220px;
}

/* Wide Card Content (Row Layout) */
.bento-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.bento-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.bento-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Knowledge Base Styles */
.kb-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.kb-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.kb-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
}

.kb-search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.kb-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1rem 1rem 3rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s;
}

.kb-search-input:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 1px #4ade80;
    background: rgba(255, 255, 255, 0.08);
}

.kb-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* Categories Grid */
.kb-categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

/* Remove media queries for grid columns as we are using flex center */

.kb-category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    /* Flex sizing */
    flex: 0 1 280px;
    min-width: 260px;
}

.kb-category-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.kb-cat-icon {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.kb-category-card:hover .kb-cat-icon {
    color: #fff;
}

.kb-cat-icon.icon-start {
    color: #4ade80;
}

.kb-cat-icon.icon-account {
    color: #facc15;
}

.kb-cat-icon.icon-billing {
    color: #4ade80;
}

/* Reusing green for now as per image */

.kb-cat-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.kb-cat-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Articles List */
.kb-articles-section {
    max-width: 800px;
    margin: 0 auto;
}

.kb-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    /* Optional: center title too if desired, keeping left is fine but section is centered */
}

.kb-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kb-article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.2s;
}

.kb-article-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.kb-article-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kb-article-icon {
    color: rgba(255, 255, 255, 0.4);
}

.kb-article-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

.kb-article-item:hover .kb-article-title {
    color: #fff;
}

.kb-article-arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.2s;
}

.kb-article-item:hover .kb-article-arrow {
    transform: translateX(4px);
    color: #fff;
}

.kb-pagination-wrapper {
    margin-top: 3rem;
    text-align: center;
}

.kb-no-results {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Single KB Article */
.kb-single-container {
    max-width: 800px;
    margin: 0 auto;
}

.kb-breadcrumbs {
    margin-bottom: 2rem;
}

.kb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.kb-back-link:hover {
    color: #fff;
}

.kb-single-header {
    margin-bottom: 2.5rem;
}

.kb-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.kb-cat-tag {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.kb-single-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.kb-excerpt {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.kb-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0;
}

.kb-content {
    /* Inherits entry-content styles but adds specificity if needed */
    margin-bottom: 4rem;
}

.kb-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    margin-top: 4rem;
}

.kb-feedback-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.kb-feedback-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.kb-feedback-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.kb-feedback-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.kb-btn-feedback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.kb-btn-feedback:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-text-wide {
    max-width: 45%;
}

.bento-text-wide h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.2;
}

.bento-text-wide p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Small Card Content (Col Layout) */
.bento-content-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.bento-icon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.vr-status-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    letter-spacing: 0.05em;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.vr-status-badge.blue {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.2);
}

.bento-text.small h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.bento-text.small p {
    font-size: 0.85rem;
}

/* Visuals */
.bento-visual-wide {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vr-row-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.vr-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vr-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
}

.vr-status.green {
    color: #10b981;
}

.vr-graph-hero {
    width: 100%;
    height: 50px;
    filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.1));
}

.vr-acronyms-large {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.vr-acronyms-large span,
.vr-acronyms-large img {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: monospace;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.vr-acronyms-large img {
    padding: 6px;
    object-fit: contain;
}

.vr-footer-row {
    margin-top: auto;
    padding-top: 1.5rem;
}

.vr-mini-card {
    background: #0f1219;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vr-mini-card .domain {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

.vr-mini-card .check {
    color: #34d399;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .bento-grid-container {
        display: none;
    }

    .hero-card,
    .small-card {
        grid-column: span 1;
        min-height: auto;
    }

    .bento-content-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .bento-text-wide {
        max-width: 100%;
    }

    .bento-visual-wide {
        width: 100%;
    }
}


/* Responsive Design & Mobile Optimizations */

@media (max-width: 1024px) {

    /* Comparison Grid: Stack vert on smaller tablets/portrait */
    .comparison-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Main Layout */
    .container {
        padding: 0 1.5rem;
    }

    /* Comparison Section */
    .comparison-section {
        padding: 4rem 1rem;
    }

    .comparison-header {
        margin-bottom: 3rem;
    }

    .comparison-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .spreadsheet-visual,
    .solution-visual {
        height: auto;
        min-height: 280px;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .sol-top-bar {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .sol-stats-row {
        gap: 0.5rem;
    }

    .sol-stat-box {
        padding: 0.5rem;
    }

    .sol-stat-val {
        font-size: 1.1rem;
    }

    .sol-stat-label {
        font-size: 0.6rem;
    }

    .domain-item {
        padding: 0.5rem;
    }

    .domain-name {
        font-size: 0.8rem;
    }

    .comp-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .comp-desc {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .comp-list {
        gap: 0.5rem;
        align-items: center;
    }

    .comp-list li {
        font-size: 0.85rem;
    }

    /* Bento Grid Stacking */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .card-tags {
        margin-top: 1.5rem;
        flex-wrap: nowrap !important;
        /* Force side-by-side as requested */
        gap: 0.5rem;
        overflow-x: hidden;
        /* Prevent scroll, force fit */
        justify-content: flex-start;
    }

    .card-tags::-webkit-scrollbar {
        display: none;
    }

    .tag {
        white-space: nowrap;
        font-size: 0.65rem;
        /* Smaller font to fit */
        padding: 0.25rem 0.5rem;
        /* Reduced padding */
        flex-shrink: 0;
    }

    .sol-stats-row {
        gap: 0.5rem;
        grid-template-columns: repeat(3, 1fr) !important;
        /* Ensure 3 cols side-by-side */
    }

    /* Typography Adjustments */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    /* Demo Section Alignment */
    .demo-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .demo-content {
        align-items: center;
        text-align: center;
    }

    .feature-list {
        align-items: center;
        /* Center align feature list items on mobile */
        text-align: left;
        /* Keep list text left aligned */
        margin: 0 auto;
        width: 100%;
        max-width: 280px;
        /* Constrain width for clean left-align look */
    }

    /* Footer */
    .footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    /* Low-Resolution Mobile Fixes */

    .stack-card.wishlist {
        width: 280px;
        /* Ensure fit on very narrow screens */
        padding: 1rem;
        /* Reduce padding */
    }

    .wishlist-row {
        gap: 0.75rem;
    }

    .wishlist-icon-box {
        width: 3rem;
        height: 3rem;
    }

    .wishlist-domain {
        font-size: 1rem;
    }
}

/* Contact Sales Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
}

.modal-content {
    background-color: #0f0f13;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #fff;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.modal-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: #818cf8;
    outline: none;
    background-color: rgba(255, 255, 255, 0.05);
}

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

#sales-form-status {
    text-align: center;
}

/* Automation Section */
.automation-section {
    padding: 6rem 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.automation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 960px) {
    .automation-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .automation-text {
        order: 1;
        /* Text first on mobile */
    }

    .automation-visual {
        order: 2;
    }

    .auto-steps {
        justify-content: center;
    }
}

.auto-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.auto-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.auto-step span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.step-num {
    width: 2rem;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
}

.step-line {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    min-width: 2rem;
    margin-bottom: 1.5rem;
    /* Align with dots, roughly */
}

/* Visual Card Stack */
.automation-visual {
    position: relative;
    perspective: 1000px;
}

.auto-card-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.auto-card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.auto-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dots {
    display: flex;
    gap: 0.25rem;
}

.dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.auto-card .label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
}

.fake-input {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    font-family: 'Courier New', monospace;
    color: #fff;
}

.cursor {
    width: 2px;
    height: 1.2em;
    background-color: #818cf8;
    margin-left: 2px;
    animation: pulse 1s infinite;
}

.auto-connector {
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
}

.result-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-row .key {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.result-row .val {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.result-row .val.warning {
    color: #fbbf24;
}

.text-green-400 {
    color: #34d399 !important;
}

/* Centered Automation Section with "Good" Points Design */
.automation-centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.automation-header {
    text-align: center;
    max-width: 600px;
}

/* Steps Flow */
.auto-steps-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    /* Handle mobile gracefully */
}

/* Step Node Design */
.auto-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.step-icon-box {
    width: 4rem;
    height: 4rem;
    background-color: rgba(20, 20, 30, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.step-icon-box:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
}

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    z-index: 20;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Active State (Step 2) */
.auto-step-node.active .step-icon-box {
    border-color: #818cf8;
    background: radial-gradient(circle at center, rgba(129, 140, 248, 0.1), transparent);
}

.auto-step-node.active .step-number {
    background-color: #818cf8;
    border-color: #818cf8;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 1.25rem;
    border: 1px solid rgba(129, 140, 248, 0.3);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.animate-spin-slow {
    animation: spin 4s linear infinite;
}

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

/* Success State (Step 3) */
.step-icon-box.success {
    border-color: #10b981;
}

.step-icon-box.success .step-number {
    background-color: #10b981;
    border-color: #10b981;
}

.step-icon-box.success svg {
    color: #10b981;
}

/* Connectors */
.step-connector {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100px;
}

.step-connector svg {
    color: rgba(255, 255, 255, 0.3);
    background-color: #000;
    /* breaks the line */
    padding: 0 4px;
}

/* Visual Stack Centered */
.automation-visual-centered {
    width: 100%;
    max-width: 400px;
    /* Constrain width */
    margin-top: 2rem;
}

.auto-connector.vertical {
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-connector.vertical .line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
}

@media (max-width: 768px) {
    .auto-steps-flow {
        flex-direction: column;
        gap: 2rem;
    }

    .step-connector {
        transform: rotate(90deg);
        height: 40px;
        width: 1px;
        background: none;
        border-left: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .step-connector svg {
        display: none;
    }
}

/* Fix Validation for Automation Section Mobile */
@media (max-width: 768px) {
    .auto-steps-flow {
        flex-direction: column !important;
        align-items: flex-start;
        /* Align left as per screenshot or ensure center if desired */
        padding-left: 2rem;
        /* Give some space if aligned left */
        gap: 0 !important;
        /* Remove gap to let connectors handle spacing */
    }

    .auto-step-node {
        flex-direction: row;
        /* Icon next to label */
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
        padding-bottom: 2rem;
        /* Space for connector */
        position: relative;
    }

    .step-icon-box {
        width: 3rem;
        height: 3rem;
        flex-shrink: 0;
    }

    .step-label {
        font-size: 1rem;
        text-align: left;
        margin-top: 0;
        align-self: center;
        /* Center with icon */
    }

    .step-connector {
        position: absolute;
        left: 1.5rem;
        /* Center of the icon (3rem/2) */
        top: 3rem;
        /* After the icon */
        width: 2px;
        height: calc(100% - 3rem);
        /* Fill the rest of the node height */
        background: rgba(255, 255, 255, 0.1);
        transform: none;
        /* Remove rotation */
        border: none;
        display: block;
        /* Ensure visibility */
        margin: 0;
    }

    .connector-line,
    .step-connector svg {
        display: none;
        /* Hide the horizontal styles */
    }

    /* Remove padding from the last item so the line doesn't extend too far */
    .auto-step-node:last-child {
        padding-bottom: 0;
    }

    .auto-step-node:last-child .step-connector {
        display: none;
    }

    .automation-visual-centered {
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .automation-centered-container {
        align-items: flex-start;
        /* Reset to left align for mobile if desired, or keep centered */
    }

    /* Make centered container actually center on mobile if that is the goal, 
       but the screenshot showed left aligned items. 
       Let's stick to the visual: Vertical stacking.
    */
}

/* Fix Mobile Connector Alignment Properly */
@media (max-width: 768px) {
    .auto-steps-flow {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        margin-left: 1rem;
        /* Indent the whole flow slightly */
    }

    .auto-step-node {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding: 0;
        z-index: 5;
        /* Ensure icons sit on top if needed */
    }

    .step-icon-box {
        width: 3.5rem;
        height: 3.5rem;
        flex-shrink: 0;
        margin: 0;
    }

    .step-label {
        margin-top: 0;
        text-align: left;
        font-size: 1rem;
    }

    /* Transform the horizontal connector into a vertical line */
    .step-connector {
        position: static !important;
        /* Reset any absolute positioning */
        display: block !important;
        width: 2px !important;
        height: 3rem !important;
        /* Height of the line between icons */
        background: rgba(255, 255, 255, 0.15) !important;
        border: none !important;
        margin: 0 !important;

        /* Center align with the 3.5rem icon above/below */
        /* 3.5rem / 2 = 1.75rem */
        margin-left: 1.75rem !important;
        transform: translateX(-50%) !important;
    }

    /* Hide the arrow head and horizontal line elements */
    .step-connector svg,
    .connector-line {
        display: none !important;
    }
}

/* Completely redo mobile steps layout to fix overlap */
@media (max-width: 768px) {

    /* Container: Ensure it is a column with no gap (we handle spacing manually via margins to control connector space) */
    .auto-steps-flow {
        display: flex;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        margin-left: 2rem !important;
        width: auto !important;
    }

    /* Reset Step Node: Flex Row */
    .auto-step-node {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        position: relative;
        z-index: 2;
        /* Content above line */
        padding: 0 !important;
        height: 60px;
        /* Fixed height for consistency */
    }

    /* Step Icon Box */
    .step-icon-box {
        width: 60px !important;
        /* Fixed size */
        height: 60px !important;
        margin: 0 !important;
        flex-shrink: 0;
        background-color: #000;
        /* Ensure opaque background to cover any line behind if needed */
        z-index: 5;
    }

    /* Connector Line: Place it BETWEEN nodes, not inside them */
    /* We will use a pseudo-element on the FLOW container or target spacing differently.
       Let's stick to the connector element but style it as a spacer. 
    */
    .step-connector {
        display: block !important;
        width: 2px !important;
        height: 40px !important;
        /* Space between steps */
        background: rgba(255, 255, 255, 0.15) !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        position: relative !important;
        left: 29px !important;
        /* Center of 60px box (30px) - half line width (1px) = 29px */
        transform: none !important;
        z-index: 1;
    }

    /* Hide horizontal stuff */
    .connector-line,
    .step-connector svg {
        display: none !important;
    }
}

/* FINAL Mobile Fix: Use pseudo-elements for lines instead of separate divs */
@media (max-width: 1280px) {

    /* 1. Reset Container */
    .auto-steps-flow {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 450px !important;
        /* Constrain width for alignment */
        margin: 0 auto 3rem auto !important;
        /* Center the whole block */
    }

    /* 2. Hide independent connectors completely */
    .step-connector {
        display: none !important;
    }

    /* 3. Style Nodes with padding for the line */
    .auto-step-node {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1.5rem !important;
        position: relative !important;
        padding-bottom: 2.5rem !important;
        /* This creates the vertical space */
        width: 100% !important;
        height: auto !important;
        /* Reset fixed height */
    }

    /* Remove padding from last node */
    .auto-step-node:last-child {
        padding-bottom: 0 !important;
    }

    /* 4. Draw Line using Pseudo-element */
    .auto-step-node::after {
        content: '';
        position: absolute;
        left: 2rem;
        /* Center of 4rem icon */
        top: 4rem;
        /* Start after the icon height */
        height: 2.5rem;
        /* Match padding-bottom */
        width: 2px;
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(-50%);
    }

    /* No line on last node */
    .auto-step-node:last-child::after {
        display: none;
    }

    /* 5. Ensure Icon Box size is consistent */
    .step-icon-box {
        width: 4rem !important;
        height: 4rem !important;
        flex-shrink: 0;
        z-index: 10;
        background-color: #050505 !important;
        /* Match body bg to hide line crossing */
        margin: 0 !important;
    }

    .step-label {
        font-size: 1rem !important;
        text-align: left !important;
        margin: 0 !important;
    }
}

/* Increase H1 font size on mobile */
@media (max-width: 768px) {

    .h1,
    h1,
    .hero-title {
        font-size: 3rem !important;
        /* Increased from default */
        line-height: 1.1 !important;
    }
}

/* Reduce space between Steps and Visual Card on mobile */
@media (max-width: 768px) {
    .auto-steps-flow {
        margin-bottom: 0.5rem !important;
        /* Reduced from 3rem */
    }

    .automation-visual-centered {
        margin-top: 0.5rem !important;
        /* Reduced from 3rem */
    }
}