/* ═══════════════════════════════════════════════════════════
   DOGSTR — Modern dark theme with orange accents
   ═══════════════════════════════════════════════════════════ */

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

/* === TOKENS === */
:root {
    --orange: #ff6b00;
    --orange-hi: #ff9500;
    --orange-soft: rgba(255, 107, 0, 0.12);
    --orange-glow: rgba(255, 107, 0, 0.35);

    --bg: #07070a;
    --bg-2: #0c0c11;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --border-hi: rgba(255, 255, 255, 0.14);

    --text: #f2f2f5;
    --text-dim: #a0a0aa;
    --text-mute: #6c6c76;

    --radius: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* === BASE === */
html { scroll-behavior: smooth; }

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

::selection { background: var(--orange); color: #fff; }

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

/* === AMBIENT BACKGROUNDS === */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 107, 0, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

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

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}
.bg-orb-1 {
    top: -200px; left: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.6), transparent 70%);
}
.bg-orb-2 {
    top: 40%; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255, 149, 0, 0.35), transparent 70%);
    opacity: 0.22;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

code, .mono { font-family: var(--font-mono); }

.gradient-text {
    background: linear-gradient(120deg, #ff6b00 0%, #ff9500 50%, #ffb700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: var(--orange-soft);
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: var(--orange-hi);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 12px var(--orange);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* === TICKER === */
.ticker {
    background: #000;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

.ticker-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    padding-left: 48px;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--text-dim);
}

.ticker-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* === HEADER === */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 7, 10, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-mark {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.5));
}

.logo-text {
    background: linear-gradient(120deg, #fff 0%, #ff9500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: none;
    gap: 8px;
}

.nav-links a {
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    color: var(--text-dim);
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--surface-2);
}

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
    position: relative;
}

.btn-primary {
    background: linear-gradient(180deg, #ff7a10 0%, #ff6b00 100%);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 149, 0, 0.4),
        0 8px 24px -8px var(--orange-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 149, 0, 0.6),
        0 16px 32px -8px var(--orange-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-hi);
}

.btn-ghost:hover {
    background: var(--surface-2);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.88rem;
}

/* === HERO === */
.hero {
    padding: 100px 0 80px;
    position: relative;
    z-index: 2;
}

.hero-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.02;
    margin-bottom: 28px;
    letter-spacing: -0.045em;
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

/* === CONTRACT BOX === */
.contract-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    max-width: 100%;
    transition: border-color 0.2s ease;
}

.contract-box:hover { border-color: rgba(255, 107, 0, 0.35); }

.contract-label {
    color: var(--orange-hi);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contract-box code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 340px;
}

.contract-copy {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contract-copy:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* === HERO META STRIP === */
.hero-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 56px;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
    justify-content: center;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 80px;
}

.meta-value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-mute);
}

.meta-divider {
    width: 1px;
    height: 28px;
    background: var(--border-hi);
}

@media (max-width: 640px) {
    .meta-divider { display: none; }
    .hero-meta { gap: 20px; padding: 18px 20px; }
}

/* === GLASS CARD === */
.glass-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.015) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,107,0,0.55), transparent 40%, transparent 60%, rgba(255,149,0,0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.glass-card:hover::before { opacity: 1; }

/* === FLYWHEEL === */
.flywheel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 700px) {
    .flywheel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .flywheel-grid { grid-template-columns: repeat(4, 1fr); }
}

.step-card { padding: 32px 26px; }

.step-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--orange-hi);
    opacity: 0.7;
}

.step-icon {
    font-size: 1.8rem;
    margin-bottom: 18px;
    display: inline-block;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.step-card code {
    background: var(--orange-soft);
    color: var(--orange-hi);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.82em;
}

/* === BENTO (TOKENOMICS) === */
.bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 760px) {
    .bento {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(150px, auto);
    }
    .bento-wide { grid-column: span 2; }
    .bento-tall { grid-column: span 2; grid-row: span 2; }
}

.bento-cell {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 28px;
}

.bento-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-mute);
}

.bento-value {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
    margin-top: 4px;
}

.bento-wide .bento-value,
.bento-tall .bento-value {
    background: linear-gradient(120deg, #fff 0%, #ff9500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-sub {
    font-size: 0.85rem;
    color: var(--text-mute);
    margin-top: 6px;
    line-height: 1.5;
}

/* === HOW TO BUY === */
.buy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.buy-card { padding: 36px 30px; }

.buy-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hi) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px -8px var(--orange-glow);
}

.buy-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.buy-card p {
    font-size: 0.94rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* === TREASURY === */
.treasury-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.treasury-card {
    text-align: center;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.treasury-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-mute);
}

.treasury-value {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, #fff 0%, #ff9500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.treasury-foot {
    font-size: 0.78rem;
    color: var(--text-mute);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* === CTA === */
.cta {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.cta-inner {
    text-align: center;
    padding: 72px 40px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 149, 0, 0.25), transparent 60%),
        linear-gradient(180deg, rgba(255,107,0,0.12) 0%, rgba(255,107,0,0.02) 100%);
    border: 1px solid rgba(255, 107, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 10 L70 40 L40 70 L10 40 Z' fill='none' stroke='%23ff6b00' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-sub {
    font-size: 1.05rem;
    color: var(--text-dim);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* === FOOTER === */
footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 40px;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
}

.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 760px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

.footer-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--orange-hi); }

.footer-copy {
    text-align: center;
    color: var(--text-mute);
    font-size: 0.85rem;
    margin: 32px 0;
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: var(--text-mute);
    line-height: 1.65;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer p + p { margin-top: 12px; }

.footer-disclaimer strong { color: var(--text-dim); }

/* === RESPONSIVE === */
@media (max-width: 640px) {
    .section { padding: 80px 0; }
    .hero { padding: 60px 0 40px; }
    .cta-inner { padding: 52px 24px; }
    .glass-card { padding: 24px; }
    .contract-box { padding: 8px 8px 8px 14px; font-size: 0.78rem; }
    .contract-box code { max-width: 180px; }
    .header-inner { padding: 12px 16px; gap: 12px; }
    .logo-text { display: none; }
}