
/* ===========================
   GLOBAL STYLES — Uber/Lyft-style dark theme
   (shared with index.html, about.html, faq.html, gallery.html, landing.html)
   =========================== */

:root {
    --p1-bg: #0E1116;
    --p1-surface: #161B22;
    --p1-ink: #F4F6F8;
    --p1-muted: #8A94A3;
    --p1-accent: #F6C64B;
    --p1-on-accent: #F4F6F8;
    --p1-line: #8A94A3;
    --p1-radius: 6px;
    --p1-font-head: 'JetBrains Mono', Georgia, serif;
    --p1-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* legacy aliases so existing rules below stay in sync with the shared theme */
    --primary: var(--p1-accent);
    --accent: var(--p1-surface);
    --dark: var(--p1-bg);
    --light: var(--p1-surface);
    --gray: var(--p1-muted);
    --border: rgba(138, 148, 163, 0.2);
    --success: #28a745;
    --danger: #dc3545;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--p1-font-body);
    color: var(--p1-ink);
    line-height: 1.6;
    background: var(--p1-bg);
}

h1, h2, h3 {
    font-family: var(--p1-font-head);
    letter-spacing: -0.02em;
}

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

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background: rgba(14, 17, 22, 0.92);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
}

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

.navbar-brand h1 {
    font-size: 24px;
    color: var(--p1-accent);
    font-weight: 700;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-menu a {
    color: var(--p1-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: var(--p1-ink);
}

.btn-nav {
    padding: 8px 20px;
    background: var(--p1-accent);
    color: var(--p1-on-accent) !important;
    border-radius: var(--p1-radius);
    transition: border-radius 0.3s;
}

.btn-nav:hover {
    border-radius: 10px;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    padding: 12px 28px;
    border-radius: var(--p1-radius);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--p1-font-head);
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-radius 0.2s ease, background 0.2s ease, color 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--p1-accent);
    color: var(--p1-on-accent);
}

.btn-primary:hover {
    border-radius: 10px;
}

.btn-secondary {
    background: transparent;
    color: var(--p1-ink);
    border: 1px solid rgba(138, 148, 163, 0.4);
}

.btn-secondary:hover {
    border-radius: 10px;
    border-color: var(--p1-accent);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-text {
    background: none;
    color: var(--p1-accent);
    padding: 0;
    text-decoration: underline;
    border: none;
}

.btn-google {
    background: var(--p1-surface);
    color: var(--p1-ink);
    border: 1px solid rgba(138, 148, 163, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-google:hover {
    background: var(--p1-bg);
}

/* ===========================
   HERO / TITLE BANDS
   =========================== */

.hero, .pricing-hero {
    background: var(--p1-bg);
    color: var(--p1-ink);
    padding: 72px 20px 56px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 10px;
}

.pricing-hero p {
    color: var(--p1-muted);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--p1-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 14px;
    color: var(--p1-muted);
}

/* ===========================
   FEATURES SECTION
   =========================== */

.features {
    padding: 80px 20px;
    background: var(--p1-bg);
}

.features h2, .pricing h2, .testimonials h2, .cta h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--p1-ink);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--p1-surface);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(246, 198, 75, 0.12);
    border-color: var(--p1-accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--p1-accent);
    color: var(--p1-on-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--p1-ink);
}

.feature-card p {
    color: var(--p1-muted);
    font-size: 14px;
}

/* ===========================
   PRICING SECTION
   =========================== */

.pricing {
    padding: 80px 20px;
    background: var(--p1-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--p1-surface);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.pricing-card.popular {
    border-color: var(--p1-accent);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(246, 198, 75, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--p1-accent);
    color: var(--p1-on-accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--p1-ink);
}

.pricing-card .price {
    font-size: 36px;
    color: var(--p1-accent);
    font-weight: 700;
    margin: 20px 0;
}

.pricing-card .plan-desc {
    color: var(--p1-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    color: var(--p1-ink);
    border-bottom: 1px solid var(--border);
}

.features-list li:last-child {
    border-bottom: none;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    padding: 80px 20px;
    background: var(--p1-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--p1-surface);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--p1-accent);
}

.testimonial p {
    color: var(--p1-ink);
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial .author {
    color: var(--p1-accent);
    font-weight: 600;
    font-size: 14px;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta {
    background: var(--p1-surface);
    color: var(--p1-ink);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta h2 {
    color: var(--p1-ink);
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    color: var(--p1-muted);
    margin-bottom: 30px;
}

/* ===========================
   FOOTER
   =========================== */

footer {
    background: var(--p1-bg);
    color: var(--p1-ink);
    padding: 50px 20px 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--p1-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--p1-ink);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    color: var(--p1-muted);
}

/* ===========================
   DASHBOARD STYLES
   =========================== */

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 60px);
}

.sidebar {
    width: 250px;
    background: var(--p1-surface);
    border-right: 1px solid var(--border);
    padding: 20px;
    overflow-y: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--p1-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--p1-accent);
    color: var(--p1-on-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-info p {
    margin: 0;
    font-size: 13px;
}

.user-name {
    font-weight: 600;
    color: var(--p1-ink);
}

.user-email {
    color: var(--p1-muted);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    padding: 12px 15px;
    color: var(--p1-ink);
    text-decoration: none;
    border-radius: var(--p1-radius);
    transition: all 0.3s;
}

.menu-item:hover {
    background: var(--p1-bg);
}

.menu-item.active {
    background: var(--p1-accent);
    color: var(--p1-on-accent);
}

.dashboard-main {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    margin: 0;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--p1-surface);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    gap: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: var(--p1-accent);
}

.stat-icon {
    font-size: 32px;
    min-width: 50px;
}

.stat-label {
    color: var(--p1-muted);
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin: 5px 0 0;
    color: var(--p1-ink);
}

.quick-actions h3 {
    margin-bottom: 20px;
}

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

.action-btn {
    padding: 15px;
    background: var(--p1-surface);
    color: var(--p1-ink);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.action-btn:hover {
    border-color: var(--p1-accent);
    color: var(--p1-accent);
}

/* ===========================
   FORMS
   =========================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--p1-ink);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--p1-bg);
    color: var(--p1-ink);
    border: 1px solid rgba(138, 148, 163, 0.3);
    border-radius: var(--p1-radius);
    font-size: 14px;
    font-family: var(--p1-font-body);
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--p1-accent);
    box-shadow: 0 0 0 3px rgba(246, 198, 75, 0.15);
}

/* ===========================
   AUTH PAGE
   =========================== */

.auth-page {
    background: var(--p1-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    align-items: center;
    width: 90%;
}

.auth-card {
    background: var(--p1-surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--p1-accent);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--p1-muted);
}

.auth-form {
    display: none;
}

.auth-form.active-form {
    display: block;
}

.form-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 25px;
    font-size: 14px;
    color: var(--p1-muted);
}

.form-divider {
    text-align: center;
    color: var(--p1-muted);
    margin: 25px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.form-divider::after {
    content: 'or';
    position: relative;
    background: var(--p1-surface);
    padding: 0 10px;
}

.form-agreement {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--p1-muted);
    margin: 15px 0 25px;
}

.form-agreement input {
    margin-top: 2px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--p1-muted);
}

.auth-footer a {
    color: var(--p1-accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--p1-ink);
}

.benefit-item {
    display: flex;
    gap: 15px;
}

.benefit-icon {
    font-size: 32px;
    min-width: 50px;
}

.benefit-item p {
    margin: 0;
    color: var(--p1-muted);
}

.benefit-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--p1-ink);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .navbar-menu {
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-benefits {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
