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

:root {
    --bg: #08080b;
    --bg-elev: #0d0d12;
    --bg-card: #101018;
    --bg-card-hover: #16161f;
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --accent: #3b82f6;
    --accent-2: #6366f1;
    --accent-glow: rgba(59, 130, 246, 0.4);

    --success: #22c55e;
    --danger: #ef4444;
    --warning: #eab308;

    --gradient-brand: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #6366f1 100%);
    --gradient-brand-hover: linear-gradient(135deg, #7db3fb 0%, #4f92f7 50%, #7b7ef2 100%);

    --radius: 12px;
    --radius-lg: 16px;
    --nav-height: 68px;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
}

nav, section, footer {
    position: relative;
    z-index: 2;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.35), rgba(99, 102, 241, 0.2));
    border: 2px solid var(--bg);
    border-radius: 8px;
    transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.6), rgba(99, 102, 241, 0.4));
}
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) var(--bg);
}

/* ==================== NAV ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.nav.scrolled {
    background: rgba(5, 5, 8, 0.9);
    border-bottom-color: var(--border-strong);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.3px;
    transition: opacity 0.2s;
}

.nav-brand:hover {
    opacity: 0.85;
}

.nav-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.nav-links {
    display: flex;
    gap: 4px;
    margin-left: auto;
    margin-right: 20px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nav-cta svg {
    transition: transform 0.2s;
}

.nav-cta:hover svg {
    transform: translateX(3px);
}

/* ==================== HERO ==================== */
.hero {
    padding: 160px 32px 40px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    max-width: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #93c5fd;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

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

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2.2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
    line-height: 1.6;
}

/* ==================== PRICING ==================== */
.pricing {
    padding: 60px 32px 100px;
}

.pricing-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.tier-card {
    position: relative;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 30px 30px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s, box-shadow 0.35s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Subtle top hairline */
.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.tier-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* Featured card (Premium) */
.tier-card.featured {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.12), transparent 70%),
        linear-gradient(180deg, #0f1424 0%, #0a0e1f 100%);
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.08);
}

.tier-card.featured::before {
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.7), transparent);
    height: 1px;
    left: 15%;
    right: 15%;
}

.tier-card.featured:hover {
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.18),
                0 30px 60px rgba(0, 0, 0, 0.55);
    transform: translateY(-6px);
}

/* Animated gradient outline for featured */
.tier-card.featured .glow-border {
    display: none;
}

.tier-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--gradient-brand);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tier-badge svg {
    color: #fef3c7;
}

.tier-header {
    margin-bottom: 24px;
}

.tier-name {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.tier-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    min-height: 42px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.tier-price .currency {
    font-size: 26px;
    font-weight: 600;
    color: var(--text);
    margin-right: -2px;
    line-height: 1;
}

.tier-price .amount {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -2.5px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tier-price .period {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 6px;
    font-weight: 500;
}

.tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex-grow: 1;
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text);
}

.tier-features li strong {
    font-weight: 600;
}

.feat-check {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: rgba(59, 130, 246, 0.1);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.tier-btn {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    letter-spacing: 0.1px;
}

.tier-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.tier-btn:active {
    transform: translateY(0);
}

.tier-btn.primary {
    background: var(--gradient-brand);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
}

.tier-btn.primary:hover {
    background: var(--gradient-brand-hover);
    box-shadow: 0 10px 36px rgba(59, 130, 246, 0.55),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    margin-top: 44px;
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-note a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
    margin-left: 6px;
    transition: color 0.2s;
}

.pricing-note a:hover {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(96, 165, 250, 0.4);
    text-underline-offset: 3px;
}

/* ==================== SECTION SHARED ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== FEATURES ==================== */
.features {
    padding: 100px 32px;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 10px;
    background: currentColor;
    opacity: 0.15;
    z-index: -1;
    filter: blur(10px);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==================== FAQ ==================== */
.faq {
    padding: 80px 32px 100px;
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.faq-item:hover {
    border-color: var(--border-strong);
}

.faq-item.open {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(180deg, var(--bg-card), rgba(59, 130, 246, 0.03));
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: inherit;
    transition: color 0.2s;
    letter-spacing: -0.1px;
}

.faq-question:hover {
    color: white;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.2s;
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: #93c5fd;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== CTA ==================== */
.cta {
    padding: 40px 32px 120px;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 40px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), rgba(59, 130, 246, 0.02));
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12), transparent 55%);
    pointer-events: none;
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cta h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1.2px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

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

.cta-btn {
    padding: 13px 26px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
}

.cta-btn.primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-btn.primary:hover {
    background: var(--gradient-brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(59, 130, 246, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: var(--border-strong);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 60px 32px 32px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.01));
    position: relative;
    z-index: 2;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
}

.footer-brand img {
    width: 28px;
    height: 28px;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
}

/* ==================== CUSTOM MODAL ==================== */
.custom-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding: 24px;
}

.custom-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.custom-modal-card {
    position: relative;
    background: linear-gradient(180deg, #14141c 0%, #0a0a12 100%);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    width: 100%;
    max-width: 460px;
    padding: 36px 32px 28px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.custom-modal-overlay.show .custom-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.custom-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
}

.custom-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.15s;
    padding: 0;
}

.custom-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
    color: white;
}

.custom-modal-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #93c5fd;
    position: relative;
}

.custom-modal-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: currentColor;
    opacity: 0.18;
    z-index: -1;
    filter: blur(14px);
}

.custom-modal-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.custom-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.custom-modal-message {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    padding: 0 6px;
}

.custom-modal-message strong {
    color: white;
    font-weight: 600;
}

.custom-modal-actions {
    display: flex;
    gap: 10px;
}

.custom-modal-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    letter-spacing: 0.2px;
}

.custom-modal-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.custom-modal-btn.primary {
    background: var(--gradient-brand);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 22px rgba(59, 130, 246, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.custom-modal-btn.primary:hover {
    background: var(--gradient-brand-hover);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.custom-modal-btn.primary > span {
    display: inline-block;
}

.custom-modal-btn:active {
    transform: scale(0.98);
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.notif-stack {
    position: fixed;
    top: calc(var(--nav-height) + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
    width: min(90%, 460px);
}

.notif {
    background: rgba(15, 15, 22, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 13px 16px 13px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    animation: notifIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    width: 100%;
    max-width: 460px;
    position: relative;
    overflow: hidden;
}

.notif::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: currentColor;
}

.notif.info { color: var(--accent); }
.notif.success { color: var(--success); }
.notif.error { color: var(--danger); }
.notif.warning { color: var(--warning); }

.notif.exit {
    animation: notifOut 0.25s ease forwards;
}

@keyframes notifIn {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes notifOut {
    to {
        opacity: 0;
        transform: translateY(-14px) scale(0.96);
    }
}

.notif-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.notif-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notif-content {
    flex: 1;
    line-height: 1.35;
    min-width: 0;
}

.notif-title {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.notif-msg {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}

.notif-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 2px;
    display: flex;
    transition: color 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
}

.notif-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
    .hero-title { font-size: 52px; letter-spacing: -1.4px; }
    .section-title { font-size: 36px; letter-spacing: -1px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 620px) {
    .nav-inner { padding: 14px 20px; }
    .nav-cta {
        padding: 8px 14px;
        font-size: 12px;
    }
    .nav-cta span { display: none; }

    .hero { padding: 130px 20px 30px; }
    .hero-title { font-size: 38px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 15px; }

    .pricing { padding: 40px 20px 80px; }
    .tier-card { padding: 28px 24px; }
    .tier-price .amount { font-size: 44px; }

    .features { padding: 70px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 24px; }

    .faq { padding: 60px 20px 80px; }
    .faq-question { font-size: 14px; padding: 18px 20px; }
    .faq-answer p { padding: 0 20px 20px; font-size: 13.5px; }

    .cta { padding: 20px 20px 80px; }
    .cta-inner { padding: 44px 24px; border-radius: 16px; }
    .cta h2 { font-size: 26px; }
    .cta-actions { flex-direction: column; }
    .cta-btn { width: 100%; }

    .footer { padding: 40px 20px 30px; }
    .footer-links { gap: 20px; }

    .custom-modal-card { padding: 32px 24px 24px; }
    .custom-modal-actions { flex-direction: column-reverse; }

    .section-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
