/*
Theme Name: FreeAIAgent.AI
Theme URI: https://freeaiagent.ai
Author: FreeAIAgent
Author URI: https://freeaiagent.ai
Description: Premium landing page theme for FreeAIAgent.AI domain — a high-value .AI domain for the trillion-dollar AI agents industry. Crystal white design with refined blue accents, ambient animations, scroll reveals, and full responsive layout. Built for domain sale or lease conversions.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freeaiagent
Tags: one-page, light, ai, domain-sale, landing-page, custom-background
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ============================================
   CSS VARIABLES — CRYSTAL WHITE
   ============================================ */
:root {
    --bg-primary: #FAFBFE;
    --bg-secondary: #F1F4F9;
    --bg-card: rgba(255, 255, 255, 0.75);
    --accent-blue: #2563EB;
    --accent-indigo: #4F46E5;
    --accent-sky: #0EA5E9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --glow-blue: 0 8px 40px rgba(37, 99, 235, 0.08);
    --border-subtle: rgba(15, 23, 42, 0.06);
    --border-card: rgba(15, 23, 42, 0.08);
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   AMBIENT BACKGROUND
   ============================================ */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.ambient-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 65%;
    height: 65%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.045) 0%, transparent 70%);
    animation: drift1 22s ease-in-out infinite;
}

.ambient-bg::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 55%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(79, 70, 229, 0.035) 0%, transparent 70%);
    animation: drift2 28s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8%, 8%) scale(1.08); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8%, -4%) scale(1.05); }
}

/* ============================================
   GRID OVERLAY
   ============================================ */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.018) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 100%);
}

/* ============================================
   NOISE TEXTURE
   ============================================ */
.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.012;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */
.site-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(250, 251, 254, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: fadeDown 0.8s ease-out;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.header-badge {
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    background: rgba(37, 99, 235, 0.04);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 120px 40px 80px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(79, 70, 229, 0.12);
    background: rgba(79, 70, 229, 0.03);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-indigo);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-indigo);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.domain-name {
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 8px;
    animation: fadeUp 0.8s ease-out 0.35s both;
}

.domain-name .free {
    color: var(--text-primary);
}

.domain-name .ai-part {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-ext {
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-blue);
    letter-spacing: -2px;
    opacity: 0.5;
    animation: fadeUp 0.8s ease-out 0.45s both;
}

.hero-description {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 36px auto 0;
    animation: fadeUp 0.8s ease-out 0.55s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS
   ============================================ */
.cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    animation: fadeUp 0.8s ease-out 0.7s both;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(37, 99, 235, 0.3);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    color: var(--text-primary);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 64px 40px;
    animation: fadeUp 0.8s ease-out 0.85s both;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 400;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.divider {
    max-width: 1100px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), rgba(37, 99, 235, 0.08), var(--border-subtle), transparent);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--text-primary);
}

/* ============================================
   VALUE SECTION
   ============================================ */
.value-section {
    padding: 100px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.value-card {
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border-card);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.value-card:hover {
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 40px rgba(37, 99, 235, 0.06);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   MARKET SECTION
   ============================================ */
.market-section {
    padding: 100px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.market-content .section-tag {
    text-align: left;
}

.market-content .section-title {
    text-align: left;
}

.market-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 24px;
}

.market-visual {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-card);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.market-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(37, 99, 235, 0.02) 0%, transparent 60%);
}

.ticker-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.ticker-label {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-bar {
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.06));
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.ticker-val {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--accent-blue);
    white-space: nowrap;
}

.market-footnote {
    margin-top: 16px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
    position: relative;
}

/* ============================================
   USE CASES
   ============================================ */
.use-cases {
    padding: 100px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.use-item {
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--border-card);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.use-item:hover {
    border-color: rgba(79, 70, 229, 0.12);
    background: rgba(79, 70, 229, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.06);
}

.use-emoji {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}

.use-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.use-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   ACQUISITION SECTION
   ============================================ */
.acquisition {
    padding: 100px 40px 120px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.acq-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.acq-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.acq-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.acq-card {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-card);
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.acq-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.07);
}

.acq-card.featured {
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
}

.acq-type {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 12px;
    font-weight: 600;
}

.acq-price {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.acq-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   CONTACT BOX
   ============================================ */
.contact-box {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-card);
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-box h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.contact-box a.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.contact-box a.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(37, 99, 235, 0.3);
    color: #fff;
}

.email-alt {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.email-alt a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 40px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    background: var(--bg-secondary);
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-text a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WORDPRESS OVERRIDES
   ============================================ */
.wp-admin-bar .site-header {
    margin-top: 32px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 20px;
    }
    .hero {
        padding: 80px 20px 60px;
    }
    .stats-bar {
        gap: 32px;
        padding: 48px 20px;
    }
    .value-section,
    .market-section,
    .use-cases,
    .acquisition {
        padding: 60px 20px;
    }
    .market-grid {
        grid-template-columns: 1fr;
    }
    .acq-options {
        flex-direction: column;
        align-items: center;
    }
    .acq-card {
        max-width: 100%;
    }
    .contact-box {
        margin: 0 12px;
        padding: 32px 24px;
    }
}
