/* Model Surgery - Provocative Aesthetic */

:root {
    --pink-primary: #ff2d6a;
    --pink-light: #ff6b9d;
    --pink-dark: #cc0044;
    --pink-glow: rgba(255, 45, 106, 0.4);

    --bg-dark: #0a0a0b;
    --bg-card: #111113;
    --bg-elevated: #18181b;

    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(255, 45, 106, 0.3);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom cursor glow effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--pink-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* Selection styling */
::selection {
    background: var(--pink-primary);
    color: white;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: linear-gradient(to bottom, var(--bg-dark), transparent);
    backdrop-filter: blur(10px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.logo-text .accent {
    color: var(--pink-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 8rem 4rem 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 45, 106, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 45, 106, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 45, 106, 0.1);
    border: 1px solid var(--border-accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--pink-light);
    margin-bottom: 2rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--pink-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
}

.hero-title .accent-line {
    color: var(--pink-primary);
}

.hero-title em {
    font-style: normal;
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pink-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--pink-primary);
    color: white;
    box-shadow: 0 0 30px var(--pink-glow);
}

.btn-primary:hover {
    background: var(--pink-light);
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--pink-glow);
}

.btn-primary .btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-large {
    width: 420px;
    height: auto;
    filter: drop-shadow(0 0 80px var(--pink-glow));
    animation: logo-float 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

.logo-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pink-glow) 0%, rgba(255, 45, 106, 0.15) 30%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.4; }
}

/* Marquee */
.marquee-container {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
}

.stat {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.divider {
    color: var(--pink-primary);
    font-size: 0.6rem;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-header.light .section-number,
.section-header.light .section-title {
    color: var(--text-primary);
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--pink-primary);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Manifesto Section */
.manifesto {
    padding: 8rem 4rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.manifesto-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.manifesto-quote {
    font-size: 2rem;
    font-weight: 600;
    color: var(--pink-primary);
    border-left: 4px solid var(--pink-primary);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.manifesto-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.manifesto-text strong {
    color: var(--text-primary);
}

.manifesto-text .strikethrough {
    text-decoration: line-through;
    color: var(--text-muted);
}

.manifesto-principles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.principle {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.principle:hover {
    border-color: var(--border-accent);
    transform: translateX(8px);
}

.principle-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.principle h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.principle p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Procedures Section */
.procedures {
    padding: 8rem 4rem;
    background: var(--bg-dark);
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.procedure-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.procedure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.procedure-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 45, 106, 0.1);
}

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

.procedure-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.procedure-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.procedure-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.procedure-code {
    background: var(--bg-dark);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.procedure-code code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--pink-light);
}

.procedure-tag {
    display: inline-block;
    background: rgba(255, 45, 106, 0.1);
    color: var(--pink-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

.procedure-card-cta {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 45, 106, 0.05) 100%);
    border-style: dashed;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.procedure-link {
    color: var(--pink-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.procedure-link:hover {
    color: var(--pink-light);
}

/* Technical Section */
.technical {
    padding: 6rem 4rem;
    background: var(--bg-card);
}

.technical-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.terminal {
    background: #0d0d0d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    gap: 0.75rem;
}

.terminal-line.output {
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

.terminal-line.output.accent {
    color: var(--pink-primary);
}

.terminal-line.output.success {
    color: #27c93f;
}

.prompt {
    color: var(--pink-primary);
}

.command {
    color: var(--text-primary);
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.technical-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.technical-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.technical-text code {
    font-family: var(--font-mono);
    background: var(--bg-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--pink-light);
}

.equation {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--pink-primary);
    background: var(--bg-dark);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

/* Join Section */
.join {
    padding: 8rem 4rem;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.join-content {
    max-width: 1200px;
    margin: 0 auto;
}

.join-text {
    max-width: 700px;
    margin-bottom: 3rem;
}

.join-lead {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.join-text p:last-child {
    color: var(--text-secondary);
}

.join-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.join-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.join-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.join-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 45, 106, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.join-icon svg {
    width: 24px;
    height: 24px;
    color: var(--pink-primary);
}

.join-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.join-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.join-link {
    color: var(--pink-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.join-link:hover {
    color: var(--pink-light);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--pink-primary);
}

.newsletter-form button {
    background: var(--pink-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--pink-light);
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.wallet-address code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--pink-primary);
    border-color: var(--pink-primary);
}

.crypto-icons {
    display: flex;
    gap: 0.75rem;
}

.crypto-icons span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-dark);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-logo span {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem !important;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: var(--pink-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-tagline {
    font-style: italic;
}

/* Responsive */
@media (max-width: 1200px) {
    .procedures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 2rem 4rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: auto;
        margin-bottom: 2rem;
    }

    .hero-logo-large {
        width: 280px;
    }

    .logo-glow {
        width: 400px;
        height: 400px;
    }

    .manifesto-content {
        grid-template-columns: 1fr;
    }

    .technical-content {
        grid-template-columns: 1fr;
    }

    .join-actions {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-logo-large {
        width: 200px;
    }

    .logo-glow {
        width: 300px;
        height: 300px;
    }

    .manifesto,
    .procedures,
    .technical,
    .join,
    .footer {
        padding: 4rem 1.5rem;
    }

    .procedures-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Animations on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.procedure-card,
.principle,
.join-card {
    animation: fadeInUp 0.6s var(--ease-out-expo) backwards;
}

.procedure-card:nth-child(1) { animation-delay: 0.1s; }
.procedure-card:nth-child(2) { animation-delay: 0.2s; }
.procedure-card:nth-child(3) { animation-delay: 0.3s; }
.procedure-card:nth-child(4) { animation-delay: 0.4s; }
.procedure-card:nth-child(5) { animation-delay: 0.5s; }
.procedure-card:nth-child(6) { animation-delay: 0.6s; }
