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

:root {
    --black: #000000;
    --gray-900: #111111;
    --gray-800: #1a1a1a;
    --gray-750: #222222;
    --gray-700: #2a2a2a;
    --gray-600: #333333;
    --gray-500: #555555;
    --gray-400: #777777;
    --gray-300: #999999;
    --gray-200: #bbbbbb;
    --gray-100: #dddddd;
    --gray-50: #f0f0f0;
    --white: #ffffff;
    --red: #e53e3e;
    --red-dark: #c53030;
    --red-light: #fc8181;
    --glass-bg: rgba(0, 0, 0, 0.7);
    --glass-border: 1px solid #555;
    --glass-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
    --radius: 16px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--gray-100);
    line-height: 1.6;
    min-height: 100vh;
}

body.admin-body {
    background: var(--gray-900);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

.text-red { color: var(--red); }
.text-muted { color: var(--gray-400); }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-700);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-icon-sm {
    width: 32px;
    height: 32px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    font-family: inherit;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline {
    background: transparent;
    color: var(--gray-200);
    border-color: var(--gray-500);
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
}

.btn-success {
    background: #2f855a;
    color: var(--white);
    border-color: #2f855a;
}

.btn-success:hover {
    background: #276749;
}

.btn-danger {
    background: #c53030;
    color: var(--white);
    border-color: #c53030;
}

.btn-danger:hover {
    background: #9b2c2c;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(229, 62, 62, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(229, 62, 62, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-300);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.package-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

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

.package-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
    background: rgba(229, 62, 62, 0.1);
    border-radius: 100px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.package-desc {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.package-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

.package-deliverables {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.package-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-300);
    padding: 0.375rem 0;
}

.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step {
    padding: 2rem;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(229, 62, 62, 0.15);
    color: var(--red);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* CTA */
.cta-card {
    text-align: center;
    padding: 4rem 2rem;
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: var(--gray-400);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Detail Page */
.detail-hero {
    padding-top: 7rem;
    min-height: 50vh;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--white);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-main {
    padding: 2.5rem;
}

.detail-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
    background: rgba(229, 62, 62, 0.1);
    border-radius: 100px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-main h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.detail-desc {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.detail-price {
    margin-bottom: 2rem;
}

.detail-actions {
    display: flex;
    gap: 1rem;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-sidebar .glass-card {
    padding: 1.5rem;
}

.detail-sidebar h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-300);
    padding: 0.375rem 0;
}

/* Terms Page */
.terms-page {
    padding-top: 7rem;
}

.terms-card {
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.terms-card h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.terms-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.terms-card p {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-card a {
    color: var(--red);
}

/* Contact */
.contact-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-item a {
    font-size: 1.125rem;
    color: var(--white);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--red);
}

.contact-item p {
    color: var(--gray-300);
}

/* Footer */
.footer {
    background: var(--gray-900);
    border-top: 1px solid var(--gray-700);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Admin Styles */
.admin-navbar {
    background: rgba(17, 17, 17, 0.95);
    border-bottom-color: var(--gray-600);
}

.admin-badge {
    font-size: 0.625rem;
    font-weight: 600;
    background: var(--red);
    color: var(--white);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    vertical-align: super;
    margin-left: 0.25rem;
}

.admin-main {
    padding-top: 80px;
    min-height: 100vh;
    padding-bottom: 3rem;
}

.admin-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.payment-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    margin-bottom: 1rem;
    gap: 1rem;
}

@media (max-width: 768px) {
    .payment-card {
        flex-direction: column;
    }
}

.payment-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.payment-info p {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-bottom: 0.25rem;
}

.payment-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.payment-actions form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    padding: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th {
    text-align: left;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--gray-700);
    background: rgba(0, 0, 0, 0.3);
}

.table td {
    padding: 0.875rem 1.25rem;
    color: var(--gray-200);
    border-bottom: 1px solid var(--gray-750);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.badge-pending { background: rgba(237, 137, 54, 0.15); color: #ed8936; }
.badge-approved { background: rgba(47, 133, 90, 0.15); color: #48bb78; }
.badge-rejected { background: rgba(197, 48, 48, 0.15); color: #fc8181; }
.badge-active { background: rgba(47, 133, 90, 0.15); color: #48bb78; }
.badge-stage { background: rgba(66, 153, 225, 0.15); color: #63b3ed; }
.badge-none { background: rgba(255, 255, 255, 0.05); color: var(--gray-500); }

/* Alert */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(47, 133, 90, 0.15);
    border: 1px solid rgba(47, 133, 90, 0.3);
    color: #48bb78;
}

/* Input */
.input {
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--white);
    font-size: 0.8125rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.input:focus {
    border-color: var(--red);
}

.input-sm {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    width: 160px;
}

/* How it works section bg */
.how-it-works {
    background: var(--gray-900);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-200);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--gray-700);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
    }

    .nav-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links .btn {
        width: 100%;
        text-align: center;
    }
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
    background: var(--gray-900);
}

.login-card {
    max-width: 420px;
    width: 100%;
    padding: 2.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header .logo-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

.login-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.login-header p {
    font-size: 0.875rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: var(--gray-400);
    font-size: 0.875rem;
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--white);
}

/* Form */
.form-card {
    max-width: 720px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-full {
    width: 100%;
}

.input-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--red);
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-700);
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-300);
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--red);
}

.form-info {
    padding: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-300);
    line-height: 1.6;
}

.alert-error {
    background: rgba(229, 62, 62, 0.15);
    border: 1px solid rgba(229, 62, 62, 0.3);
    color: #fc8181;
}

/* Admin Header (title + action button row) */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-header .admin-title {
    margin-bottom: 0;
}

/* Launchpad Grid */
.launchpad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.launchpad-card {
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.launchpad-card:hover {
    border-color: var(--red);
    transform: translateY(-2px);
}

.launchpad-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    color: var(--red);
}

.launchpad-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.launchpad-card p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Section Title */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-700);
}

/* Operations Grid */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.ops-card {
    padding: 1.5rem;
    text-align: center;
}

.ops-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    color: var(--red);
}

.ops-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.ops-card p {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .launchpad-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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