:root {
    --tm-green: #A3E635;
    --tm-bg: #050816;
    --tm-bg-alt: #0b1020;
    --tm-text: #f9fafb;
    --tm-muted: #9ca3af;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    color: var(--tm-text);
}

a {
    color: inherit;
    text-decoration: none;
}

.tm-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 8, 22, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(163, 230, 53, 0.2);
}

.tm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.tm-logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tm-logo {
    height: 40px;
}

.tm-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.tm-logo-name {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.tm-logo-sub {
    font-size: 0.7rem;
    color: var(--tm-muted);
}

.tm-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.9rem;
}

.tm-nav a {
    position: relative;
    padding-bottom: 0.25rem;
}

.tm-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--tm-green);
    transition: width 0.2s ease;
}

.tm-nav a:hover::after {
    width: 100%;
}

.tm-btn {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: none;
    background: var(--tm-green);
    color: #022c22;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(163, 230, 53, 0.45);
}

.tm-btn-outline {
    background: transparent;
    color: var(--tm-text);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.tm-btn-outline:hover {
    border-color: var(--tm-green);
    background: rgba(15, 23, 42, 0.8);
}

.tm-btn-full {
    width: 100%;
}

.tm-hero {
    padding: 5.5rem 0 4rem;
}

.tm-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
}

.tm-hero-text h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    margin-bottom: 1rem;
}

.tm-hero-text p {
    color: var(--tm-muted);
    max-width: 32rem;
    font-size: 0.98rem;
}

.tm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.tm-hero-card {
    background: radial-gradient(circle at top left, rgba(163, 230, 53, 0.18), #020617);
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.tm-hero-card h2 {
    font-size: 1.1rem;
    margin-top: 0;
}

.tm-hero-card ul {
    padding-left: 1.1rem;
    margin: 0.75rem 0 0;
    color: var(--tm-muted);
    font-size: 0.9rem;
}

.tm-section {
    padding: 4rem 0;
    background: transparent;
}

.tm-section-alt {
    background: radial-gradient(circle at top, #020617, #020617);
}

.tm-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.tm-section p {
    color: var(--tm-muted);
    max-width: 46rem;
    font-size: 0.96rem;
}

.tm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tm-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.9rem;
}

.tm-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.tm-planos .tm-plano {
    position: relative;
}

.tm-plano-destaque {
    border-color: var(--tm-green);
    box-shadow: 0 18px 45px rgba(163, 230, 53, 0.4);
}

.tm-preco {
    color: var(--tm-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tm-contato-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.tm-form {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.9rem;
}

.tm-form label {
    display: block;
    margin-bottom: 0.9rem;
}

.tm-form input,
.tm-form textarea {
    width: 100%;
    margin-top: 0.3rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.9);
    color: var(--tm-text);
    font-size: 0.9rem;
}

.tm-form input:focus,
.tm-form textarea:focus {
    outline: 1px solid var(--tm-green);
    border-color: var(--tm-green);
}

.tm-footer {
    border-top: 1px solid rgba(31, 41, 55, 1);
    background: #020617;
    padding: 2rem 0 1.5rem;
    font-size: 0.8rem;
    color: var(--tm-muted);
}

.tm-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
}

.tm-footer-copy {
    margin-top: 0.5rem;
}

/* Auth & dashboard styles */
.tm-auth-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.tm-auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1.2rem;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.tm-auth-card h1 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.tm-auth-card p {
    font-size: 0.9rem;
    color: var(--tm-muted);
}

.tm-alert {
    padding: 0.75rem 0.9rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.tm-alert-error {
    border: 1px solid #f97373;
    background: rgba(248, 113, 113, 0.08);
    color: #fecaca;
}

.tm-alert-success {
    border: 1px solid #4ade80;
    background: rgba(74, 222, 128, 0.08);
    color: #bbf7d0;
}

.tm-dashboard {
    padding: 4rem 0 3rem;
}

.tm-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tm-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: var(--tm-muted);
}

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

.tm-table thead {
    background: rgba(15, 23, 42, 0.9);
}

.tm-table th,
.tm-table td {
    padding: 0.6rem 0.7rem;
    border-bottom: 1px solid rgba(31, 41, 55, 1);
    text-align: left;
}

.tm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
}

.tm-badge-pending {
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
}

.tm-badge-approved {
    background: rgba(52, 211, 153, 0.12);
    color: #6ee7b7;
}

.tm-badge-rejected {
    background: rgba(248, 113, 113, 0.12);
    color: #fecaca;
}

.tm-actions {
    display: flex;
    gap: 0.4rem;
}

/* Responsive */
@media (max-width: 900px) {
    .tm-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .tm-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .tm-contato-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .tm-nav {
        display: none;
    }
}


.tm-btn-xs {
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 999px;
}
