/* CornerDomains — Standalone Stylesheet */
:root {
    --bg: #faf8f5;
    --fg: #1a1d2b;
    --card: #ffffff;
    --border: #e8e3da;
    --muted: #6b6e7b;
    --gold: #b8860b;
    --gold-light: #d4a84b;
    --gold-dark: #8b6508;
    --navy: #1a1d2b;
    --navy-light: #2a2e3f;
    --cream: #faf8f5;
    --cream-dark: #edeae3;
    --accent-bg: rgba(184,134,11,0.08);
    --destructive: #e53e3e;
    --radius: 0.375rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Utilities */
.gold { background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.italic { font-style: italic; }
.center { text-align: center; }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { display: inline-flex; margin-top: 3rem; }
.body-text { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 640px; }
.center .body-text { margin-left: auto; margin-right: auto; }
.section-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 1rem; font-weight: 500; }
.section { padding: 6rem 1.5rem; }
.alt-bg { background: var(--cream-dark); }
.full-width { width: 100%; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(26,29,43,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(250,248,245,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; height: 4.5rem; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--cream); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(250,248,245,0.7); transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav-cta { font-size: 0.7rem !important; padding: 0.6rem 1.5rem !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 5px 0; transition: all 0.3s; }

/* Ticker */
.ticker-section { padding-top: 5.5rem; padding-bottom: 1.5rem; background: var(--navy); overflow: hidden; }
.ticker-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); text-align: center; margin-bottom: 1rem; }
.ticker-wrapper { position: relative; }
.ticker-wrapper::before, .ticker-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 5rem; z-index: 2; }
.ticker-wrapper::before { left: 0; background: linear-gradient(to right, var(--navy), transparent); }
.ticker-wrapper::after { right: 0; background: linear-gradient(to left, var(--navy), transparent); }
.ticker-track { display: flex; animation: ticker-scroll 50s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { flex-shrink: 0; margin: 0 1rem; padding: 0.75rem 1.5rem; border: 1px solid rgba(250,248,245,0.1); border-radius: var(--radius); display: flex; align-items: center; gap: 0.5rem; transition: border-color 0.3s; white-space: nowrap; }
.ticker-item:hover { border-color: rgba(184,134,11,0.5); }
.ticker-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: rgba(250,248,245,0.7); }
.ticker-item.premium .ticker-name { font-weight: 700; color: var(--cream); }
.ticker-price { font-size: 0.75rem; color: var(--gold); }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Hero */
.hero { position: relative; min-height: 75vh; display: flex; align-items: center; justify-content: center; background: var(--navy); overflow: hidden; padding: 1rem 1.5rem; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%); opacity: 0.9; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); color: var(--cream); margin-bottom: 1.5rem; }
.hero-sub { color: rgba(250,248,245,0.7); font-size: 1.05rem; max-width: 580px; margin: 0 auto 1.25rem; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Buttons */
.btn-premium { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; background: var(--gold); color: var(--navy); border: none; border-radius: var(--radius); cursor: pointer; transition: all 0.3s; }
.btn-premium:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(184,134,11,0.4); }
.btn-sm { padding: 0.625rem 1rem; font-size: 0.7rem; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; background: transparent; color: var(--cream); border: 1px solid rgba(250,248,245,0.2); border-radius: var(--radius); cursor: pointer; transition: all 0.3s; }
.btn-outline:hover { border-color: var(--gold); background: rgba(184,134,11,0.05); }

/* Domain Cards */
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }
.domain-card { display: block; padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; transition: all 0.3s; }
.domain-card:hover { border-color: rgba(184,134,11,0.5); box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.75rem; }
.card-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.card-name .crown { font-size: 0.85rem; }
.arrow { color: var(--muted); transition: all 0.3s; }
.domain-card:hover .arrow { color: var(--gold); transform: translateX(3px); }
.card-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.card-price { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 1.25rem; }
.feature-card { display: flex; gap: 1.25rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; transition: border-color 0.3s; }
.feature-card:hover { border-color: rgba(184,134,11,0.3); }
.feature-icon { flex-shrink: 0; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; background: var(--accent-bg); border-radius: var(--radius); font-size: 1.3rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Stats */
.stats-section { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; text-align: center; }
.stat-value { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(250,248,245,0.5); }

/* Process Grid */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.process-step { position: relative; }
.step-icon { width: 4rem; height: 4rem; border-radius: 50%; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.5rem; }
.step-num { font-size: 0.7rem; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.process-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* CTA */
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.cta-section .body-text { margin-bottom: 2.5rem; }

/* Filter Bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.search-wrap { flex: 1; min-width: 250px; }
.search-input { width: 100%; padding: 0.75rem 1rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--fg); outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,0.15); }
.cat-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-btn { padding: 0.5rem 1rem; border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; border: none; cursor: pointer; transition: all 0.2s; background: var(--cream-dark); color: var(--fg); }
.cat-btn.active { background: var(--gold); color: var(--navy); }
.cat-btn:hover:not(.active) { background: #ddd8cf; }

/* Steps List */
.steps-list { display: flex; flex-direction: column; gap: 1.25rem; }
.step-card { display: flex; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card); }
.step-number { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; flex-shrink: 0; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Sell Grid */
.sell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.sell-card { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; }
.sell-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.sell-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* FAQ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; cursor: pointer; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--fg); text-align: left; transition: color 0.2s; }
.faq-question:hover { color: var(--gold); }
.faq-chevron { font-size: 1.2rem; color: var(--muted); transition: transform 0.2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 1.25rem; font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.inquiry-form { display: flex; flex-direction: column; gap: 1rem; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; padding: 0.75rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--fg); outline: none; transition: border-color 0.2s; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,0.15); }
.captcha-field label { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.captcha-field input { margin-top: 0.25rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; cursor: pointer; }
.checkbox-label input { width: auto; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.contact-info p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Footer */
.footer { background: var(--navy); color: var(--cream); padding: 4rem 1.5rem 2rem; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer .logo { font-size: 1.5rem; margin-bottom: 0.5rem; display: inline-block; }
.tagline { font-family: 'Playfair Display', serif; font-style: italic; font-size: 0.85rem; color: rgba(250,248,245,0.8); margin-bottom: 1rem; }
.footer-desc { font-size: 0.85rem; color: rgba(250,248,245,0.6); line-height: 1.6; max-width: 400px; }
.footer-nav h4, .footer-contact h4 { font-family: 'DM Sans', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: rgba(250,248,245,0.4); margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a { font-size: 0.85rem; color: rgba(250,248,245,0.6); margin-bottom: 0.75rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--cream); }
.footer-contact span, .footer-contact p { font-size: 0.85rem; color: rgba(250,248,245,0.6); display: block; margin-bottom: 0.75rem; }
.footer-contact a { color: rgba(250,248,245,0.6); transition: color 0.2s; display: block; margin-bottom: 0.75rem; font-size: 0.85rem; }
.footer-contact a:hover { color: var(--cream); }
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.newsletter-form input { flex: 1; min-width: 0; padding: 0.625rem 1rem; background: rgba(250,248,245,0.1); border: 1px solid rgba(250,248,245,0.2); border-radius: var(--radius); font-size: 0.9rem; color: var(--cream); font-family: 'DM Sans', sans-serif; outline: none; }
.newsletter-form input::placeholder { color: rgba(250,248,245,0.4); }
.newsletter-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,0.2); }
.footer-bottom { border-top: 1px solid rgba(250,248,245,0.1); margin-top: 3rem; padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(250,248,245,0.4); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal span { font-size: 0.75rem; color: rgba(250,248,245,0.4); }

/* Page Main */
.page-main { padding-top: 5rem; min-height: 100vh; }
.page-main h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.contact-form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: block; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1.5rem; border-bottom: 1px solid rgba(250,248,245,0.1); gap: 1rem; }
    .nav-cta.open { display: inline-flex; position: absolute; top: calc(100% + 220px); left: 1.5rem; right: 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .domain-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .section { padding: 3.5rem 1.25rem; }
}
