/* ─── Activo Main Website — Dark Theme ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

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

:root {
    --bg: #0f0f23;
    --card: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --green: #2bc48a;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.5);
    --radius: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ─── Glass Card ──────────────────────────────────────────────── */
.glass {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ─── Container ───────────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: #4f46e5;
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-green {
    background: var(--green);
    color: #fff;
}

.btn-green:hover {
    background: #25a879;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── Inputs ──────────────────────────────────────────────────── */
.input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

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

.input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ─── Navbar ──────────────────────────────────────────────────── */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.navbar .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar .nav-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.navbar .nav-links a:hover {
    color: var(--text);
    text-decoration: none;
}

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 16px;
    color: var(--muted);
    max-width: 550px;
    margin: 0 auto 32px;
}

.hero .hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Section ─────────────────────────────────────────────────── */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 40px;
}

/* ─── Pricing Cards ───────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pricing-card {
    padding: 32px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

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

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0;
}

.pricing-card .price span {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
}

.pricing-card .tools-list {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.pricing-card .tools-list li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card .tools-list li::before {
    content: '✓ ';
    color: var(--green);
    font-weight: 700;
}

/* ─── Single Tools Grid ───────────────────────────────────────── */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.tool-card {
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.tool-card:hover {
    transform: translateY(-2px);
}

.tool-card .tool-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.tool-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tool-card .tool-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
}

.tool-card .tool-price span {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
}

/* ─── Signup Layout ───────────────────────────────────────────── */
.signup-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.invoice-panel {
    position: sticky;
    top: 20px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0 0;
    font-size: 16px;
    font-weight: 700;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

/* ─── Checkbox Items ──────────────────────────────────────────── */
.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid transparent;
}

.check-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.check-item.selected {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.check-item .item-info {
    flex: 1;
}

.check-item .item-name {
    font-size: 14px;
    font-weight: 600;
}

.check-item .item-desc {
    font-size: 11px;
    color: var(--muted);
}

.check-item .item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
}

/* ─── Order Summary ───────────────────────────────────────────── */
.order-ref {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-align: center;
    padding: 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    border: 1px dashed rgba(99, 102, 241, 0.4);
    margin: 16px 0;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

/* ─── Alerts ──────────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 16px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.alert-success {
    background: rgba(43, 196, 138, 0.1);
    border: 1px solid rgba(43, 196, 138, 0.3);
    color: #2bc48a;
}

/* ─── Success Page ────────────────────────────────────────────── */
.success-box {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
    padding: 48px 32px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero {
        padding: 50px 16px 40px;
    }

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

    .invoice-panel {
        position: static;
    }

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

    .navbar .nav-links {
        gap: 12px;
    }

    .navbar .nav-links a {
        font-size: 12px;
    }
}