/* Global Reset & Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette: Titanium, Dark Gray, White */
    --bg-dark: #121418;
    --bg-darker: #08090b;
    --titanium: #a7b1c2;
    --titanium-light: #e0e5eb;
    --titanium-dark: #5c677d;
    --text-white: #ffffff;
    --text-gray: #b0b8c4;

    /* Accents */
    --accent: #a7b1c2;
    /* Titanium as accent */

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Manrope', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Added for Sale Bar (Gold Theme from SPW) */
    --gradient-gold: linear-gradient(135deg, #c5a059 0%, #e6c888 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-gray);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--titanium-dark), var(--titanium-light));
    margin: 0 auto var(--spacing-lg) auto;
}

.divider-left {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--titanium-dark), var(--titanium-light));
    margin: 0 0 var(--spacing-md) 0;
}

/* Header & Nav */
header {
    background-color: rgba(18, 20, 24, 0.95);
    backdrop-filter: blur(10px);
    position: relative !important;
    /* Changed to relative for sale bar compatibility */
    width: 100%;
    /* top: 0; removed for relative positioning */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    /* Adjust based on image ratio */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    /* Hide on very small screens if needed */
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.main-nav a:hover {
    color: var(--text-white);
}

.btn-header {
    border: 1px solid var(--titanium);
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    /* Less rounded for more serious look */
    color: var(--titanium) !important;
}

.btn-header:hover {
    background-color: var(--titanium);
    color: var(--bg-dark) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, #242a33 0%, var(--bg-dark) 60%);
    margin-top: 0;
    padding-top: 20px;
    /* Reduced padding since header is relative */
}

/* Hero Watermark */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: url('logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%) brightness(1.5);
    /* Adjusted for dark theme */
}

/* Decorative subtle grid or shine */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a7b1c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    color: var(--titanium-light);
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--titanium-dark), var(--titanium));
    color: var(--bg-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(167, 177, 194, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 177, 194, 0.3);
    color: #000;
}

/* Pillars Section */
.section-header h2 {
    font-size: 2.5rem;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-top: 3px solid var(--titanium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    margin-bottom: 1.5rem;
    color: var(--titanium);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.card p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* About Section */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-content {
    flex: 1;
}

.split-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-text {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    color: var(--titanium);
    font-style: italic;
    border-left: 2px solid var(--titanium-dark);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.titanium-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--titanium-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, var(--titanium-dark), transparent);
    box-shadow: 0 0 50px rgba(167, 177, 194, 0.1);
}

.initials {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--titanium-light);
    font-weight: 700;
}

/* Ecosystem Section */
.ecosystem-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--titanium), transparent);
}

.ecosystem-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.section-intro {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* Ecosystem Logos */
.ecosystem-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.eco-item {
    text-align: center;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.eco-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.eco-name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 5px;
    display: block;
}

.eco-desc {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--titanium);
}


/* Footer */
footer {
    background-color: #000;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-urls {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.url-divider {
    color: var(--titanium);
    margin: 0 10px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-socials a {
    color: var(--titanium);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-socials a:hover {
    color: var(--text-white);
}



.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #555;
}

/* Domain Sale Bar - Discrete */
.domain-sale-bar.discrete {
    background: #000;
    color: #fff;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-text {
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-family: var(--font-sans);
    text-transform: uppercase;
}

.bar-text a {
    color: #fff;
    margin-left: 5px;
}

/* Footer Sale Box */
.footer-sale-box-discrete {
    margin: 30px auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    background: rgba(255, 255, 255, 0.02);
    min-width: 300px;
}

.footer-sale-box-discrete p {
    font-size: 0.8rem;
    color: var(--titanium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-sale-email {
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-serif);
    text-decoration: none;
    border-bottom: 1px dotted var(--titanium);
    transition: all 0.3s;
}

.footer-sale-email:hover {
    color: var(--titanium);
    border-bottom: 1px solid var(--titanium);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .mobile-hidden {
        display: none;
    }

    .bar-content {
        flex-direction: column;
        gap: 10px;
    }
}