:root {
    --bg-gradient: linear-gradient(135deg, #000000 0%, #310b58 100%);
    --accent: #b892ff;
    --accent-strong: #8a5cf6;
    --btn-color: #310b58;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --subtle: rgba(255, 255, 255, 0.55);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.1);
    --spacing-lg: 20px;
    --spacing-md: 15px;
    --spacing-sm: 10px;
    --spacing-xs: 5px;
    --radius: 14px;
    --max-width: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient glow accents */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
body::before {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #7a3df5 0%, transparent 70%);
    top: -180px; left: -180px;
}
body::after {
    width: 620px; height: 620px;
    background: radial-gradient(circle, #310b58 0%, transparent 70%);
    bottom: -260px; right: -220px;
}

a { color: inherit; }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 32px;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--card-border);
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.1rem;
}
.brand-dot {
    display: inline-block;
    width: 8px; height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-strong);
    vertical-align: middle;
}
.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

.github-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}
.github-link:hover { opacity: 1; transform: translateY(-2px); }
.github-icon { width: 24px; height: 24px; }

/* Sections */
section {
    position: relative;
    z-index: 1;
    padding: 96px 32px;
}
.inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Hero */
.hero {
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
}
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(184, 146, 255, 0.12);
    border: 1px solid rgba(184, 146, 255, 0.35);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #c9b8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 20px;
}
.hero p.loop {
    font-size: 1rem;
    color: var(--subtle);
    max-width: 640px;
    margin: 0 auto 40px;
    font-style: italic;
}
.cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: var(--btn-color);
    box-shadow: 0 10px 30px rgba(138, 92, 246, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(138, 92, 246, 0.5);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--card-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

/* Section headings */
.section-head {
    text-align: center;
    margin-bottom: 56px;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}
.section-head p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

/* Services grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.service {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.service:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 146, 255, 0.4);
    background: rgba(184, 146, 255, 0.06);
}
.service-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(184, 146, 255, 0.15);
    border: 1px solid rgba(184, 146, 255, 0.3);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.service p {
    color: var(--muted);
    font-size: 0.97rem;
}

/* CTA band */
.cta-band {
    padding: 80px 32px;
}
.cta-card {
    max-width: var(--max-width);
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(49, 11, 88, 0.8) 0%, rgba(122, 61, 245, 0.45) 100%);
    border: 1px solid rgba(184, 146, 255, 0.3);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.cta-card h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.cta-card p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 28px;
}

/* Email popover */
.email-popover-wrapper {
    position: relative;
    display: inline-block;
}
.email-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: rgba(30, 15, 50, 0.95);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
}
.email-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}
.email-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(30, 15, 50, 0.95);
}
.email-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.email-option:hover {
    background: rgba(184, 146, 255, 0.15);
}
.email-option svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.copied-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #b892ff;
    color: var(--btn-color);
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    isolation: isolate;
}
.copied-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    padding: 40px 32px;
    border-top: 1px solid var(--card-border);
    text-align: center;
    color: var(--subtle);
    font-size: 0.9rem;
}
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
    .nav { display: none; }
    section { padding: 72px 20px; }
    .hero { padding-top: 90px; padding-bottom: 80px; }
    .cta-card { padding: 40px 24px; }

.filter-green{
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}
}