/* Home Page CSS */

.badge-coming-soon {
    background-color: #6c757d;
    color: white;
    font-size: 0.65rem;
    padding: 0.125rem 0.3125rem;
    border-radius: 0.25rem;
    vertical-align: middle;
    margin-left: 0.3125rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background-color: var(--base-bg);
    overflow: hidden;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 25rem;
    height: 25rem;
    background: radial-gradient(circle, rgba(255, 109, 31, 0.12) 0%, rgba(255, 109, 31, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(2rem);
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -10%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(245, 231, 198, 0.6) 0%, rgba(245, 231, 198, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(3rem);
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    font-family: 'Bree Serif', serif;
}

.hero-title .text-highlight {
    color: var(--primary-accent);
    position: relative;
    display: inline-block;
}

.hero-title .text-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.125rem;
    width: 100%;
    height: 0.25rem;
    background-color: var(--primary-accent);
    opacity: 0.2;
    border-radius: 0.125rem;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: #4a4a4a;
    line-height: 1.6;
}

/* Smartphone Mockup */
.phone-mockup-wrapper {
    position: relative;
    z-index: 1;
}

.phone-mockup-wrapper::before {
    content: '';
    position: absolute;
    width: 18rem;
    height: 18rem;
    background-color: var(--secondary-bg);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(1.5rem);
    opacity: 0.6;
}

.phone-mockup {
    width: 100%;
    max-width: 18.75rem; /* ~300px */
    height: 38.75rem; /* ~620px */
    border: 0.75rem solid #222222;
    border-radius: 2.25rem;
    background-color: var(--base-bg);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.phone-notch {
    width: 7.5rem;
    height: 1.125rem;
    background-color: #222222;
    border-radius: 0 0 0.75rem 0.75rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    overflow-y: hidden;
    position: relative;
}

.phone-header {
    background-color: #ffffff;
    padding: 0.75rem;
    border-bottom: 1px solid var(--secondary-bg);
    text-align: center;
}

.phone-brand {
    font-family: 'Bree Serif', serif;
    font-size: 1.1rem;
    color: var(--primary-accent);
    margin-bottom: 0.25rem;
}

.phone-search {
    background-color: #f8f9fa;
    border-radius: 1.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-categories {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #ffffff;
    border-bottom: 1px solid var(--secondary-bg);
}

/* Hide scrollbar */
.phone-categories::-webkit-scrollbar {
    display: none;
}
.phone-categories {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.phone-category-pill {
    padding: 0.25rem 0.625rem;
    background-color: var(--secondary-bg);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.phone-category-pill.active {
    background-color: var(--primary-accent);
    color: #ffffff;
}

.phone-content {
    flex: 1;
    padding: 0.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-item-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid var(--secondary-bg);
    padding: 0.625rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    transition: transform 0.2s ease;
}

.phone-item-card:hover {
    transform: scale(1.02);
}

.phone-item-img {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--secondary-bg);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-accent);
}

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

.phone-item-title {
    font-weight: 600;
    margin-bottom: 0.125rem;
    color: var(--text-dark);
    font-size: 0.85rem;
}

.phone-item-price {
    font-weight: 700;
    color: var(--primary-accent);
    font-size: 0.8rem;
}

.phone-item-add {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background-color: var(--primary-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.phone-cart-bar {
    background-color: var(--text-dark);
    color: #ffffff;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.phone-cart-btn {
    background-color: var(--primary-accent);
    color: #ffffff;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Feature Cards v2 */
.max-width-600 {
    max-width: 37.5rem;
}

.feature-card-v2 {
    background-color: #ffffff;
    border: 0.0625rem solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 1.75rem);
    height: 100%;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card-v2:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(255, 109, 31, 0.08);
    border-color: rgba(255, 109, 31, 0.2);
}

.feature-icon-v2 {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 109, 31, 0.08);
    color: var(--primary-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card-v2:hover .feature-icon-v2 {
    background-color: var(--primary-accent);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

/* Workflow Section */
.step-card {
    background-color: #ffffff;
    border: 0.0625rem solid rgba(0, 0, 0, 0.04);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 109, 31, 0.1);
}

.step-badge {
    font-family: 'Bree Serif', serif;
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-accent), #ff985d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    transition: opacity 0.3s ease;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-card:hover .step-badge {
    opacity: 0.35;
}

/* Pricing Section */
.pricing-card {
    background-color: #ffffff;
    border: 0.0625rem solid rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: clamp(2rem, 4vw, 2.5rem);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 109, 31, 0.15);
}

/* Premium Light Pro Card */
.pricing-card.featured {
    --card-pad: clamp(2rem, 4vw, 2.5rem);
    background-color: #ffffff;
    border: 0.125rem solid var(--primary-accent) !important;
    box-shadow: 0 1rem 3rem rgba(255, 109, 31, 0.12) !important;
    position: relative;
    z-index: 1;
    padding: var(--card-pad);
}

.pricing-card.featured::before {
    display: none; /* Remove any dark gradient background border */
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(180deg, rgba(255, 109, 31, 0.05) 0%, rgba(255, 109, 31, 0) 100%);
    margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 1.5rem calc(-1 * var(--card-pad));
    padding: var(--card-pad) var(--card-pad) 1.5rem var(--card-pad);
    border-radius: 1.4rem 1.4rem 0 0;
    border-bottom: 0.0625rem solid rgba(255, 109, 31, 0.08);
}

.pricing-card.featured .pricing-header h3 {
    color: var(--text-dark) !important;
}

.pricing-card.featured .pricing-header p.text-muted {
    color: #6c757d !important;
}

.pricing-card.featured .price-display .currency,
.pricing-card.featured .price-display .amount {
    color: var(--text-dark) !important;
}

.pricing-card.featured .price-display .period {
    color: #6c757d !important;
}

.pricing-card.featured .pricing-features span {
    color: var(--text-dark) !important;
}

.pricing-card.featured hr {
    background-color: var(--secondary-bg) !important;
    opacity: 0.25 !important;
}

.pricing-card.featured .popular-badge {
    background: linear-gradient(45deg, #FF6D1F, #ff8c42);
    box-shadow: 0 0.5rem 1rem rgba(255, 109, 31, 0.3);
}

.pricing-card.featured .btn-primary {
    background: linear-gradient(45deg, #FF6D1F, #ff8c42) !important;
    border: none !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.pricing-card.featured .btn-primary:hover {
    background: linear-gradient(45deg, #ff8c42, #FF6D1F) !important;
    transform: scale(1.03);
    box-shadow: 0 0.5rem 1.5rem rgba(255, 109, 31, 0.4);
}

.pricing-card.featured .pricing-features i.bi-check-circle-fill {
    color: var(--primary-accent) !important;
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-accent);
    color: #ffffff;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0.25rem 0.5rem rgba(255, 109, 31, 0.2);
}

.price-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.75rem;
}

.price-display .currency {
    font-family: 'Bree Serif', serif;
    font-size: 1.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.price-display .amount {
    font-family: 'Bree Serif', serif;
    font-size: 3.5rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1;
}

.price-display .period {
    color: #6c757d;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.pricing-features span {
    font-size: 0.9rem;
}

.content-section {
    padding: clamp(2rem, 5vw, 5rem) 0;
}

.contact-info {
    background-color: var(--secondary-bg);
    padding: 1.875rem;
    border-radius: 0.625rem;
}

/* Custom Plan Card Radios */
.plan-radio-card {
    border: 0.125rem solid var(--secondary-bg);
    border-radius: 1rem;
    padding: clamp(1rem, 3vw, 1.25rem);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: #ffffff;
}

.plan-radio-card:hover {
    border-color: var(--primary-accent);
    background-color: rgba(255, 109, 31, 0.02);
}

.plan-radio-input:checked + .plan-radio-card {
    border-color: var(--primary-accent);
    background-color: rgba(255, 109, 31, 0.05);
    box-shadow: 0 0.5rem 1rem rgba(255, 109, 31, 0.08);
}

.plan-radio-card .plan-icon {
    color: #6c757d;
    transition: color 0.2s ease;
}

.plan-radio-input:checked + .plan-radio-card .plan-icon {
    color: var(--primary-accent);
}

.plan-radio-input:checked + .plan-radio-card .check-indicator {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.plan-radio-input:checked + .plan-radio-card .check-indicator::after {
    display: block;
}

.check-indicator {
    width: 1.25rem;
    height: 1.25rem;
    border: 0.125rem solid #ced4da;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    transition: all 0.2s ease;
}

.check-indicator::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

/* Form Inputs Refinement */
.form-control, .form-select {
    border: 0.09375rem solid rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.25rem rgba(255, 109, 31, 0.15);
    background-color: #ffffff;
}

/* Custom Switch Toggle Accent */
.form-check-input:checked {
    background-color: var(--primary-accent) !important;
    border-color: var(--primary-accent) !important;
}

.form-check-input:focus {
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 109, 31, 0.25) !important;
}

/* Billing Toggle Labels */
#billing-monthly-label, #billing-yearly-label {
    color: #6c757d;
    transition: all 0.25s ease;
}

#billing-monthly-label.active, #billing-yearly-label.active {
    color: var(--text-dark) !important;
    font-weight: 700 !important;
}

/* Featured Card Contrast Refinements */
.pricing-card.featured #pro-price-subtext {
    color: #d45100 !important; /* Richer dark orange for perfect accessibility/contrast on white */
}

.pricing-card.featured #pro-price-original {
    color: #6c757d !important;
}

.pricing-card.featured .btn-primary {
    color: #ffffff !important;
}

/* Custom Plan Card Radios Text Contrast */
.plan-radio-input:checked + .plan-radio-card .fw-bold {
    color: var(--primary-accent) !important;
}

.plan-radio-input:checked + .plan-radio-card .text-muted {
    color: #333333 !important; /* Higher contrast dark grey */
}

/* Waitlist Form Card */
#waitlist-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#waitlist-section .card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 1.5rem 3rem rgba(255, 109, 31, 0.08) !important;
}

/* Custom Pricing Plan Features list items */
.pricing-feature-item {
    transition: transform 0.2s ease;
}

.pricing-feature-item:hover {
    transform: translateX(0.25rem);
}

.feature-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.bg-orange-subtle {
    background-color: rgba(255, 109, 31, 0.1);
}

.text-orange {
    color: var(--primary-accent);
}

/* Pulsing outline for featured card */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 1rem 3rem rgba(255, 109, 31, 0.12);
    }
    50% {
        box-shadow: 0 1rem 3.5rem rgba(255, 109, 31, 0.22);
    }
    100% {
        box-shadow: 0 1rem 3rem rgba(255, 109, 31, 0.12);
    }
}

.pricing-card.featured {
    animation: pulse-glow 3.5s infinite ease-in-out;
}

/* Billing Toggle Wrapper */
.billing-toggle-wrapper {
    transition: all 0.3s ease;
}

.billing-toggle-wrapper:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(255, 109, 31, 0.2) !important;
}

/* Comparison Table Styling */
.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th, 
.comparison-table td {
    padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.5rem, 1.5vw, 1rem);
}

/* Highlighting Pro Tier Column in the table */
.comparison-table .pro-column {
    background-color: rgba(255, 109, 31, 0.015);
    border-left: 0.0625rem solid rgba(255, 109, 31, 0.06);
    border-right: 0.0625rem solid rgba(255, 109, 31, 0.06);
}

.comparison-table th.pro-column {
    border-top: 0.1875rem solid var(--primary-accent) !important;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background-color: rgba(255, 109, 31, 0.03);
}

.comparison-table tr:last-child td.pro-column {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Hover highlights for comparison table rows */
.comparison-table tbody tr:not(.category-header-row) {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:not(.category-header-row):hover {
    background-color: rgba(255, 109, 31, 0.02) !important;
}

/* Category header row styling */
.comparison-table .category-header-row {
    background-color: rgba(248, 249, 250, 0.9);
}

.comparison-table .category-header-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark) !important;
    display: inline-flex;
    align-items: center;
}

/* Table Custom Badge Icons */
.table-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.85rem;
}

.table-check-icon.checked {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.table-check-icon.checked-pro {
    background-color: rgba(255, 109, 31, 0.1);
    color: var(--primary-accent);
}

.table-check-icon.checked-custom {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.table-check-icon.disabled {
    background-color: rgba(108, 117, 125, 0.05);
    color: #adb5bd;
}

/* Rotate Chevron on Collapse Button */
.collapse-chevron {
    transition: transform 0.3s ease;
    display: inline-block;
}

#compare-plans-btn[aria-expanded="true"] .collapse-chevron {
    transform: rotate(180deg);
}
