/* ============= GLOBAL STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6600;
    --primary-dark: #E55A00;
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --light: #f5f5f5;
    --text: #333;
    --grey: #666;
    --border: #e0e0e0;
    --accent-blue: #0066ff;
    --danger: #dc3545;
    --success: #28a745;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

/* ============= NAVIGATION ============= */
nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 60px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--grey);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* ============= HERO SECTION ============= */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 40px 20px;
    text-align: center;
}

.hero.consulting-hero {
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    padding: 60px 20px;
    border-bottom: 3px solid var(--primary);
    text-align: left;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.consulting-hero h1 {
    font-size: 44px;
}

.hero .highlight {
    color: var(--primary);
    background: none !important;
    background-color: transparent !important;
}

.hero p {
    font-size: 18px;
    color: var(--grey);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consulting-hero p {
    font-size: 16px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.cta-button {
    display: inline-block;
    width: 50%;
    padding: 16px 30px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
    margin: 30px auto 0;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero .subheading {
    font-size: 20px;
    color: var(--danger);
    font-weight: 600;
    margin-bottom: 15px;
}

.urgency-banner {
    background: var(--danger);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.hero-cta {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 12px;
    transition: background 0.3s;
}

.hero-cta:hover {
    background: var(--primary-dark);
}

.hero-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* ============= MAIN CONTAINER ============= */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= SECTIONS ============= */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 50px;
    text-align: center;
}

section .section-title {
    font-size: 32px;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============= HEADINGS ============= */
h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 15px;
}

h4 {
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text);
}

ul, ol {
    margin-bottom: 20px;
    margin-left: 30px;
}

li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ============= PRODUCTS GRID ============= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.product-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-card p {
    color: var(--grey);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.product-card a:hover {
    color: var(--primary-dark);
}

/* ============= FEATURES SECTION ============= */
.features-section {
    background: #f5f5f5;
}

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

.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
}

.feature-item h4 {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    color: var(--grey);
    font-size: 14px;
}

/* ============= FEATURE BOXES ============= */
.feature-box {
    background: #f9f9f9;
    padding: 25px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

.feature-box h3 {
    margin-top: 0;
    color: var(--dark);
}

.feature-box p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--grey);
}

.feature-box ul {
    margin: 12px 0 0 20px;
    font-size: 14px;
    color: var(--grey);
}

.feature-box li {
    margin-bottom: 6px;
}

.feature-box li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
    margin-right: 6px;
}

/* ============= PRICING SECTION ============= */
.pricing-section {
    text-align: center;
}

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

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.15);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.price-period {
    color: var(--grey);
    font-size: 14px;
    margin-bottom: 25px;
}

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

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

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

.pricing-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* ============= OUTLINE GRID ============= */
.outline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.outline-item {
    background: #f9f9f9;
    padding: 25px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

.outline-item h4 {
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.outline-item p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.6;
}

.outline-item ul {
    list-style: none;
    margin-top: 12px;
}

.outline-item li {
    color: var(--grey);
    font-size: 14px;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.outline-item li:before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ============= FEATURES LIST ============= */
.features {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    margin: 30px 0;
}

.features h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 18px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item .icon {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item p {
    color: var(--grey);
    font-size: 14px;
}

/* ============= FORMS ============= */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 14px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

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

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

.submit-btn {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.form-disclaimer {
    font-size: 12px;
    color: var(--grey);
    margin-top: 15px;
    text-align: center;
}

/* ============= SIGNUP SECTION ============= */
.signup-section {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dd 100%);
    padding: 50px 40px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    margin: 40px 0;
}

.signup-section h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.signup-section .urgency-text {
    color: var(--danger);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 30px;
}

/* ============= CTA SECTION ============= */
.cta-section {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dd 100%);
    padding: 50px 40px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    margin: 40px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
}

/* ============= TIMELINE ============= */
.timeline {
    position: relative;
    margin: 40px 0;
}

.timeline-item {
    padding-left: 40px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item:not(:last-child):after {
    content: "";
    position: absolute;
    left: 8px;
    top: 20px;
    width: 4px;
    height: calc(100% + 10px);
    background: var(--border);
}

.timeline-item h4 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--grey);
    font-size: 14px;
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 0 10px;
}

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

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* ============= CODE BLOCKS ============= */
.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.code-block code {
    display: block;
}

.highlight-text {
    background: #fffacd;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* ============= FOOTER ============= */
footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 20px;
    margin-top: 80px;
}

footer.consulting-footer {
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    color: #ccc;
}

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

footer a:hover {
    text-decoration: underline;
}

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

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

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

/* ============= UTILITY STYLES ============= */
.highlight {
    background: #fff8e6;
    padding: 10px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    margin-top: 20px;
}

.effective {
    color: var(--grey);
    font-size: 13px;
    margin-bottom: 20px;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero-cta {
        display: block;
        margin-bottom: 10px;
    }

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

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

    .features-list {
        grid-template-columns: 1fr;
    }

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

    .signup-section {
        padding: 30px 20px;
    }

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

/* ============= CONSULTATION FORM STYLES ============= */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

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

.form-group select {
    cursor: pointer;
}

/* reCAPTCHA styling */
.g-recaptcha {
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ============= AUTH PAGES ============= */
.auth-container {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.auth-card h2 {
    margin-bottom: 6px;
    font-size: 28px;
    color: var(--dark);
}

.auth-subtitle {
    color: var(--grey);
    margin-bottom: 28px;
}

.auth-error {
    background: #ffeaea;
    border: 1px solid #f5c6cb;
    color: var(--danger);
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

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

.btn-primary {
    width: 50%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
    padding: 10px 20px;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-danger {
    padding: 10px 20px;
    background: #fff;
    color: var(--danger);
    border: 1px solid var(--danger);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-small { padding: 6px 14px; font-size: 13px; }

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--grey);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider span {
    margin: 0 12px;
    white-space: nowrap;
}

.oauth-buttons {
    display: flex;
    gap: 10px;
}

.btn-oauth {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-oauth:hover {
    background: var(--light);
    border-color: #ccc;
}

.btn-apple { color: #000; }
.btn-x { color: #000; }

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

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover { text-decoration: underline; }

/* ============= ACCOUNT DASHBOARD ============= */
.account-section {
    padding-top: 30px;
    padding-bottom: 60px;
}

.account-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    padding: 0 20px;
}

.account-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-user {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.user-avatar {
    font-size: 40px;
    margin-bottom: 8px;
}

.user-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 16px;
}

.user-email {
    color: var(--grey);
    font-size: 13px;
    word-break: break-all;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.sidebar-link:hover { background: var(--light); color: var(--primary); }
.sidebar-link.active { background: #FFF3E6; color: var(--primary); font-weight: 600; }
.sidebar-logout { color: var(--danger); margin-top: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.sidebar-logout:hover { background: #fff5f5; }

.account-main {
    min-height: 500px;
}

.account-tab {
    display: none;
}

.account-tab.active {
    display: block;
}

.account-tab h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--dark);
}

/* Overview */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.overview-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.overview-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.overview-card h4 {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--grey);
}

.overview-card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.overview-card a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.overview-card a:hover { text-decoration: underline; }

.text-muted {
    color: var(--grey) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

/* Subscriptions */
.subscriptions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subscription-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.subscription-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.subscription-card.cancelling { border-color: #f5c6cb; background: #fff9f9; }

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.sub-header h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 4px;
}

.sub-tier {
    font-size: 13px;
    background: #FFF3E6;
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.sub-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.status-active { background: #d4edda; color: #155724; }
.status-cancelled, .status-cancelling { background: #f8d7da; color: #721c24; }
.status-paid { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }

.status-badge {
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.sub-details {
    margin-bottom: 16px;
}

.sub-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.sub-row span:first-child { color: var(--grey); }
.sub-row span:last-child { font-weight: 500; color: var(--dark); }

.sub-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Billing */
.billing-info-card,
.billing-history-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.billing-info-card h3,
.billing-history-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--dark);
}

.billing-details {
    margin-bottom: 20px;
}

.billing-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.billing-label { color: var(--grey); }
.billing-value { font-weight: 500; color: var(--dark); }

.billing-table {
    width: 100%;
    border-collapse: collapse;
}

.billing-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--light);
    color: var(--grey);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.billing-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.invoice-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.invoice-link:hover { text-decoration: underline; }

/* Settings */
.settings-form {
    max-width: 500px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--grey);
}

.empty-state p { margin-bottom: 16px; }
.empty-state .btn-primary { width: auto; display: inline-block; padding: 10px 24px; }

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-size: 18px; }

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--grey);
    padding: 0 4px;
}

.modal-close:hover { color: var(--dark); }

.modal-body {
    padding: 24px;
}

.modal-body p {
    margin-bottom: 16px;
    color: var(--grey);
    font-size: 14px;
}

.stripe-element {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.modal-footer .btn-primary { width: auto; }

/* ============= ACCOUNT RESPONSIVE ============= */
@media (max-width: 768px) {
    .account-container {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .sidebar-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .sidebar-logout {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }

    .auth-card {
        padding: 24px;
    }

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

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

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

    .sub-header {
        flex-direction: column;
        gap: 8px;
    }

    .billing-row {
        flex-direction: column;
        gap: 4px;
    }
}
