:root {
    --bg: #080E1C;
    --bg-card: #0F1829;
    --bg-elevated: #182236;
    --indigo: #6366F1;
    --cyan: #22D3EE;
    --violet: #8B5CF6;
    --text: #F1F5F9;
    --text-soft: #94A3B8;
    --border: rgba(148, 163, 184, 0.12);
    --gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #22D3EE 100%);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 8px 30px rgba(99, 102, 241, 0.18);
    --radius: 20px;
    --radius-sm: 12px;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--indigo); }

.container { width: min(1140px, 92vw); margin: 0 auto; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.75rem 0;
    background: rgba(8, 14, 28, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
    background: rgba(8, 14, 28, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand img { height: 40px; width: auto; display: block; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}
.nav-links a {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-soft);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(99, 102, 241, 0.15);
}

.nav-phone {
    font-weight: 600;
    color: var(--cyan);
    white-space: nowrap;
    font-size: 0.9rem;
}
.nav-phone:hover { color: var(--indigo); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.6rem;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.55);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--indigo);
    background: rgba(99, 102, 241, 0.1);
}

/* Hero */
.page-hero {
    padding: 8rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 0%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(34, 211, 238, 0.15), transparent);
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
    from { opacity: 0.7; }
    to   { opacity: 1; }
}
.page-hero .container { position: relative; z-index: 1; }

.hero-home {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 1.25rem;
}

h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
h1 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.12rem;
    color: var(--text-soft);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}
.hero-mock {
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}
.mock-bar {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.mock-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--indigo);
    opacity: 0.6;
}
.mock-bar span:nth-child(2) { background: var(--cyan); }
.mock-bar span:nth-child(3) { background: var(--violet); }
.mock-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(148, 163, 184, 0.2);
    margin-bottom: 0.6rem;
}
.mock-line.w60 { width: 60%; }
.mock-line.w80 { width: 80%; }
.mock-line.accent { background: var(--gradient); opacity: 0.7; height: 40px; border-radius: 8px; margin-top: 1rem; }

/* Sections */
section { padding: 4.5rem 0; }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.section-head h2 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

.tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(99,102,241,0.08), transparent);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}
.card:hover::before { opacity: 1; }

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(99, 102, 241, 0.15);
}
.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.card p { color: var(--text-soft); font-size: 0.93rem; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s, box-shadow 0.35s;
}
.price-card:hover { transform: translateY(-8px); }
.price-card.featured {
    border-color: var(--indigo);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    position: relative;
}
.price-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1rem;
    background: var(--gradient);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.price-tier { font-size: 0.85rem; color: var(--cyan); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.price-amount {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-soft); }
.price-desc { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.price-features { list-style: none; flex: 1; margin-bottom: 1.75rem; }
.price-features li {
    padding: 0.45rem 0;
    font-size: 0.9rem;
    color: var(--text-soft);
    padding-left: 1.5rem;
    position: relative;
}
.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

/* Events */
.event-list { display: flex; flex-direction: column; gap: 1.25rem; }
.event-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    transition: border-color 0.3s, transform 0.3s;
}
.event-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateX(4px);
}
.event-date {
    text-align: center;
    min-width: 72px;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-sm);
}
.event-date strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
}
.event-date span { font-size: 0.75rem; color: var(--text-soft); text-transform: uppercase; }
.event-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.event-card p { color: var(--text-soft); font-size: 0.9rem; }
.event-tag {
    padding: 0.4rem 0.85rem;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}

/* About */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.stat {
    text-align: center;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}
.stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat span { font-size: 0.8rem; color: var(--text-soft); }

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-soft);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-error {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: #F87171;
    text-align: center;
}
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.info-card .ico {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.info-card strong { display: block; margin-bottom: 0.25rem; }
.info-card p, .info-card a { color: var(--text-soft); font-size: 0.93rem; }

/* Quote banner */
.quote-banner {
    margin-top: 4rem;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.quote-banner::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.12);
    line-height: 1;
}
.quote-banner blockquote {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 600;
    font-style: italic;
    color: var(--text);
    max-width: 680px;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}
.quote-banner cite {
    font-size: 0.9rem;
    color: var(--cyan);
    font-style: normal;
    font-weight: 600;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: var(--text-soft); font-size: 0.9rem; }
.footer a:hover { color: var(--cyan); }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}
.footer-brand p { color: var(--text-soft); font-size: 0.9rem; margin-top: 0.75rem; max-width: 260px; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.modal.show { opacity: 1; visibility: visible; }
.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 420px;
    text-align: center;
}
.modal-box h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.page-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.page-subtitle { color: var(--text-soft); font-size: 1.1rem; max-width: 540px; }

@media (max-width: 900px) {
    .hero-grid, .about-split, .contact-wrap, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
    .event-card { grid-template-columns: 1fr; text-align: center; }
    .event-date { margin: 0 auto; }
    .event-tag { justify-self: center; }
    .nav-links {
        position: fixed;
        top: 68px;
        left: 1rem; right: 1rem;
        flex-direction: column;
        background: var(--bg-card);
        padding: 1rem;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
    }
    .nav-links.open { opacity: 1; visibility: visible; }
    .nav-toggle { display: block; }
    .nav .btn-primary,
    .nav-phone { display: none; }
    .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero-actions .btn { width: 100%; }
    .price-card.featured::before { font-size: 0.65rem; }
}
