:root {
    --primary-color: #0f172a;
    /* Slate 900 */
    --primary-light: #1e293b;
    /* Slate 800 */
    --secondary-color: #d97706;
    /* Amber 600 */
    --accent-color: #0ea5e9;
    /* Sky 500 */
    --success-color: #10b981;
    /* Emerald 500 */
    --bg-color: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;
    --text-main: #334155;
    /* Slate 700 */
    --text-light: #64748b;
    /* Slate 500 */

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Modern Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-cta {
    background: linear-gradient(135deg, var(--secondary-color), #b45309);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.2);
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(217, 119, 6, 0.3);
}

.btn-large {
    padding: 1.2rem 4rem;
    font-size: 1.3rem;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

/* Modern Hero */
.hero {
    background: linear-gradient(-45deg, #0f172a, #1e293b, #0f172a, #334155);
    background-size: 400% 400%;
    animation: gradient-move 15s ease infinite;
    padding: 7rem 20px 5rem;
    /* Balanced top/bottom spacing */
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 10% 10%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(217, 119, 6, 0.05) 0px, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    /* Slightly reduced for better balance */
    margin-bottom: 1.25rem;
    color: var(--white);
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    max-width: 700px;
    /* Tighter width for readability */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Sections */
.section {
    padding: 5rem 24px;
    /* Standardized section padding */
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    /* Reduced from 4rem for tighter feel */
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(217, 119, 6, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Pulse Effect for Buy Buttons */
.btn-pulse {
    animation: pulse-glow 2s infinite;
}

/* Feature Badge */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 1rem;
}

/* Modern Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    /* Standardized standard grid gap */
}

.card {
    background: white;
    padding: 2rem;
    /* Reduced from 2.5rem for better density */
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(14, 165, 233, 0.3);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.35rem;
    /* Adjusted for hierarchy */
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 24px 2rem;
    /* Reduced top padding */
    position: relative;
    margin-top: 2rem;
    /* Reduced top margin */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Mobile Responsive Overhaul */
@media (max-width: 768px) {

    /* Global Resets */
    .section {
        padding: 3rem 1.25rem;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Header & Nav - Scrollable Pill Menu */
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.8rem 1rem;
    }

    .nav-links {
        display: flex;
        width: 100%;
        gap: 0.8rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .nav-links li {
        flex: 0 0 auto;
    }

    .nav-links a {
        display: inline-block;
        background: #f1f5f9;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.9rem;
    }

    .header .btn-cta {
        display: none;
        /* Hide header CTA, use sticky bar instead */
    }

    /* Hero Section */
    .hero {
        padding: 6rem 1.25rem 4rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Domain For Sale Section */
    .for-sale-section {
        padding: 4rem 1.25rem;
    }

    .for-sale-container h2 {
        font-size: 1.75rem;
    }

    .for-sale-price {
        font-size: 3rem !important;
        margin: 1rem 0;
    }

    .btn-large {
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
        width: 100%;
    }

    .godaddy-notice {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .fs-feature {
        padding: 1.5rem;
    }

    /* Grid Adjustments */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-header {
        padding: 4rem 1.25rem 3rem;
    }

    .stats-header h1 {
        font-size: 2rem;
    }

    .stats-grid {
        margin-top: -2rem;
        grid-template-columns: 1fr;
    }

    /* Sticky Mobile Bar */
    .sticky-mobile-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 12px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        display: flex;
        gap: 10px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .sticky-mobile-cta a,
    .sticky-mobile-cta span {
        flex: 1;
        text-align: center;
        padding: 12px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-call {
        background: var(--bg-color);
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

    .btn-book {
        background: var(--secondary-color);
        color: white;
    }

    body {
        padding-bottom: 90px;
        /* Space for sticky bar */
    }
}


/* Domain For Sale Section */
.for-sale-section {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: white;
    padding: 5rem 24px 3rem;
    /* Tighter padding for focus */
    border-bottom: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.for-sale-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.05) 0%, transparent 70%);
}

.for-sale-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.for-sale-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.for-sale-container h2 {
    color: white;
    font-size: 2.5rem;
    /* Better scale */
    line-height: 1.2;
    margin-bottom: 1rem;
}

.for-sale-price {
    font-size: 4rem;
    /* Balanced size */
    font-weight: 900;
    margin: 1.5rem 0;
    color: var(--secondary-color);
    text-shadow: 0 0 30px rgba(217, 119, 6, 0.3);
}

.for-sale-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    text-align: left;
}

.fs-feature {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    /* Consistent padding */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.fs-feature:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.fs-feature h4 {
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fs-feature p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

.for-sale-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.godaddy-notice {
    font-size: 0.9rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stats Dashboard Styles */
.stats-header {
    background: var(--primary-color);
    padding: 5rem 24px 3rem;
    /* Adjusted for consistency */
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: -3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.stat-trend {
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.trend-up {
    color: var(--success-color);
}

.glass-card {
    background: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.chart-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    background: var(--secondary-color);
    width: 30px;
    border-radius: 4px 4px 0 0;
    animation: growHeight 1.5s ease-out forwards;
}

@keyframes growHeight {
    from {
        height: 0;
    }
}

.source-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.source-bar-bg {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.source-bar-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
}