/* RM.Dev.App — Bright/White Theme */

:root {
    --gold: #a68b3c;
    --gold-hover: #8f7733;
    --gold-light: rgba(166, 139, 60, 0.08);
    --dark: #ffffff;
    --dark-light: #f8f9fa;
    --dark-card: #ffffff;
    --text-light: #1a1d23;
    --text-muted: #6b7280;
}

/* Base */
body {
    background: #ffffff;
    color: #1a1d23;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

/* Hero */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

/* Cards */
.card-dark {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.card-dark:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-highlighted {
    border-color: var(--gold);
    position: relative;
    box-shadow: 0 4px 16px rgba(166, 139, 60, 0.15);
}

/* Pricing card enhancements */
.pricing-card {
    text-align: center;
}

.pricing-icon {
    font-size: 2rem;
    color: var(--gold);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1d23;
    line-height: 1;
}

.price-suffix {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}

.price-prefix {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}

/* Delivery badge on pricing cards */
.delivery-badge {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
}

.delivery-badge i {
    margin-right: 0.25rem;
}

/* Popular badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Buttons */
.btn-gold {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.1s;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.65rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

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

/* Section titles */
.section-title {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 2.5rem;
}

/* Feature list */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
    text-align: left;
}

.feature-list li {
    padding: 0.4rem 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.feature-list li i {
    margin-right: 0.5rem;
}

/* Hours badge (non-maintenance fallback) */
.hours-badge {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Dev hours callout — prominent display for maintenance included hours */
.dev-hours-callout {
    background: linear-gradient(135deg, rgba(166, 139, 60, 0.07), rgba(166, 139, 60, 0.14));
    border: 1.5px solid rgba(166, 139, 60, 0.35);
    border-radius: 0.625rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.dev-hours-callout .hours-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.dev-hours-callout .hours-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    font-weight: 500;
}

/* Maintenance value proposition banner */
.maintenance-banner {
    background: linear-gradient(135deg, rgba(166, 139, 60, 0.05), rgba(166, 139, 60, 0.12));
    border: 1px solid rgba(166, 139, 60, 0.25);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin: 0 auto 2rem;
    text-align: center;
    max-width: 750px;
}

.maintenance-banner p {
    margin: 0;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.maintenance-banner i {
    color: var(--gold);
    margin-right: 0.35rem;
}

/* Tech badge */
.badge-tech {
    background: var(--gold-light);
    color: var(--gold);
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(166, 139, 60, 0.2);
}

/* Step number */
.step-number {
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 0.75rem;
}

/* Navbar — gold hover accent */
.navbar .nav-link {
    transition: color 0.2s;
}

.navbar .nav-link:hover {
    color: var(--gold) !important;
}

/* Hero pillars */
.hero-pillars {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-pill {
    background: var(--gold-light);
    color: var(--gold);
    padding: 0.4rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(166, 139, 60, 0.2);
}

/* Availability badge */
.availability-badge {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pricing group layout */
.pricing-group {
    margin-bottom: 1rem;
}

.pricing-group-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-group-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(166, 139, 60, 0.08);
    border: 1px solid rgba(166, 139, 60, 0.25);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    margin-bottom: 0.5rem;
}

.pricing-group-label-maint {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}

.pricing-group-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(166, 139, 60, 0.3), transparent);
    margin: 3rem auto;
    max-width: 600px;
}

/* Hourly rate callout */
.hourly-rate-callout {
    margin-top: 2.5rem;
}

.hourly-rate-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(166, 139, 60, 0.08), rgba(166, 139, 60, 0.15));
    border: 1px solid rgba(166, 139, 60, 0.3);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.hourly-rate-inner > i {
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
}

.hourly-rate-inner > div {
    flex: 1;
    text-align: left;
}

.hourly-rate-inner strong {
    display: block;
    color: #1a1d23;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.hourly-rate-inner span {
    color: #374151;
    font-size: 0.88rem;
}

/* Pricing tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pricing-tab {
    background: #f8f9fa;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-tab:hover {
    border-color: rgba(166, 139, 60, 0.4);
    color: #1a1d23;
}

.pricing-tab.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* Portfolio cards */
.portfolio-card {
    text-align: center;
}

.portfolio-icon-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 2rem 1rem;
    margin: -1rem -1rem 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.portfolio-icon-area i {
    font-size: 3rem;
    color: var(--gold);
}

/* Comparison table */
.comparison-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.comparison-table thead th {
    padding: 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid #e5e7eb;
}

.comparison-table thead th:first-child {
    width: 30%;
}

.comparison-custom-header {
    color: var(--gold);
    background: rgba(166, 139, 60, 0.05);
}

.comparison-template-header {
    color: var(--text-muted);
}

.comparison-table tbody td {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #f3f4f6;
}

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

.comparison-feature {
    font-weight: 600;
    color: #1a1d23;
}

.comparison-custom {
    color: #166534;
    background: rgba(34, 197, 94, 0.04);
}

.comparison-custom .bi-check-circle-fill {
    color: #22c55e;
}

.comparison-template {
    color: #9ca3af;
}

.comparison-template .bi-x-circle {
    color: #ef4444;
}

.comparison-template .bi-dash-circle {
    color: #f59e0b;
}

/* FAQ accordion */
.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: #1a1d23;
    background: #fff;
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--gold);
    background: rgba(166, 139, 60, 0.04);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(166, 139, 60, 0.25);
    border-color: var(--gold);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a68b3c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a68b3c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    line-height: 1.7;
    font-size: 0.95rem;
}

/* About avatar */
.about-avatar {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto;
    letter-spacing: 0.05em;
}

/* Guarantee banner */
.guarantee-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(34, 197, 94, 0.12));
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #166534;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
}

.guarantee-banner i {
    color: #22c55e;
    margin-right: 0.35rem;
}

/* Contact channel cards */
.contact-channel-card {
    background: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-channel-card:hover {
    border-color: rgba(166, 139, 60, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-channel-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-channel-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.contact-channel-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.contact-channel-form {
    width: 100%;
}

.contact-channel-form .form-control {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
    color: var(--text-light);
    background: #f8f9fa;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-channel-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(166, 139, 60, 0.15);
    outline: none;
    background: #fff;
    color: var(--text-light);
}

.contact-channel-form .form-control::placeholder {
    color: #6b7280;
}

/* Scroll-reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside reveal containers */
.reveal .col-md-6,
.reveal .col-lg-4,
.reveal .col-md-3 {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible .col-md-6,
.reveal.visible .col-lg-4,
.reveal.visible .col-md-3 {
    opacity: 1;
    transform: translateY(0);
}

.reveal.visible .col-md-6:nth-child(1),
.reveal.visible .col-lg-4:nth-child(1),
.reveal.visible .col-md-3:nth-child(1) { transition-delay: 0.05s; }
.reveal.visible .col-md-6:nth-child(2),
.reveal.visible .col-lg-4:nth-child(2),
.reveal.visible .col-md-3:nth-child(2) { transition-delay: 0.12s; }
.reveal.visible .col-md-6:nth-child(3),
.reveal.visible .col-lg-4:nth-child(3),
.reveal.visible .col-md-3:nth-child(3) { transition-delay: 0.19s; }
.reveal.visible .col-md-6:nth-child(4),
.reveal.visible .col-lg-4:nth-child(4),
.reveal.visible .col-md-3:nth-child(4) { transition-delay: 0.26s; }
.reveal.visible .col-md-6:nth-child(5),
.reveal.visible .col-lg-4:nth-child(5) { transition-delay: 0.33s; }
.reveal.visible .col-md-6:nth-child(6),
.reveal.visible .col-lg-4:nth-child(6) { transition-delay: 0.4s; }

/* Stats section */
.stats-section {
    padding: 2.5rem 0;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #a68b3c;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.88rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.25rem;
}


/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 2rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.5rem 0.6rem;
    }

}
