/* Calculator Page Styles */
:root {
    --primary-color: #0071EB;
    --primary-dark: #005bb5;
    --cyan: #0071EB;
    --navy: #1a2332;
    --dark-bg: #0f1419;
    --gold: #f59e0b;
    --success: #0071EB;
    --danger: #0071EB;

    --text-primary: #1a2332;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;

    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

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

/* Navbar Styles - Commented out for unification
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: url('../images/rocstarr-navbar-banner.png?v=8.5') center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #005bb5;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 0;
    min-height: 100px;
}

.navbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 100px;
    padding: 0 20px;
}
*/

.logo {
    display: none;
    /* Hidden - banner contains branding */
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Header banner - full RocStarr Connect branding */
.logo-img.header-banner {
    height: 70px;
    width: auto;
    max-width: 550px;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 113, 235, 0.4));
    border-radius: 10px;
}

/* Legacy header logo support */
.logo-img.header-logo {
    height: 70px;
    width: auto;
    max-width: 450px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 113, 235, 0.3));
    border-radius: 8px;
}

.footer-logo {
    height: 120px;
    width: auto;
    max-width: 380px;
    object-fit: contain;
}

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

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-menu li a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.cta-button {
    background: white !important;
    color: #0071EB !important;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-shadow: none !important;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.95);
    transition: var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Calculator Hero */
.calculator-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
}

.calculator-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.calculator-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.calculator-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 50px;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--cyan));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.step-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--navy);
}

.step-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Selection Grid */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.selection-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
}

.selection-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.selection-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(0, 212, 255, 0.05));
}

.selection-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.selection-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--navy);
}

.selection-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.selection-card .cpl-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Niche Summary */
.niche-summary {
    background: linear-gradient(135deg, var(--navy), var(--primary-dark));
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    color: white;
}

.niche-summary h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.niche-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 14px;
    opacity: 0.8;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
}

/* Restriction Notice */
.restriction-notice {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(251, 146, 60, 0.1));
    border-left: 4px solid var(--danger);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.restriction-notice i {
    font-size: 24px;
    color: var(--danger);
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.package-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

.package-card.available {
    opacity: 1;
    pointer-events: auto;
}

.package-card.available:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.package-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(0, 212, 255, 0.05));
    box-shadow: var(--shadow-lg);
}

.package-card.recommended {
    border-color: var(--gold);
}

.package-card.recommended::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.package-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.package-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.package-price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.package-leads {
    font-size: 18px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    margin-bottom: 25px;
}

.package-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.package-features i {
    color: var(--success);
    font-size: 16px;
}

.package-card.disabled .package-price,
.package-card.disabled h3 {
    opacity: 0.5;
}

/* Summary Wrapper */
.summary-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 50px;
}

/* Upsells Section */
.upsells-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.upsell-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.upsell-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.upsell-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.upsell-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.upsell-icon.ai-icon {
    background: linear-gradient(135deg, var(--gold), #f97316);
}

.upsell-info {
    flex: 1;
}

.upsell-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--navy);
}

.upsell-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.upsell-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Toggle Switch */
.upsell-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.upsell-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-base);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-base);
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--cyan));
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.upsell-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.upsell-features ul {
    list-style: none;
}

.upsell-features li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.upsell-features i {
    color: var(--success);
    font-size: 14px;
}

/* Discount Card */
.discount-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 146, 60, 0.1));
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 25px;
}

.discount-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.discount-header i {
    font-size: 24px;
    color: var(--gold);
}

.discount-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.discount-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.annual-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 12px;
    background: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 15px;
}

.annual-toggle input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.annual-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}

.discount-details {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 15px;
}

.discount-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.discount-row.savings {
    border-top: 2px solid var(--border-color);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 700;
    font-size: 18px;
}

.discount-row .highlight {
    color: var(--gold);
    font-weight: 700;
}

/* Order Summary */
.order-summary h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.summary-section {
    margin-bottom: 20px;
}

.summary-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
}

.summary-subitem {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 15px;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.summary-item.subtotal {
    font-weight: 600;
    font-size: 18px;
}

.billing-cycle {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    justify-content: center;
}

.summary-item.discount {
    color: var(--gold);
    font-weight: 600;
}

.summary-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
}

.summary-total span:first-child {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-total span:nth-child(2) {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
}

.billing-note {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.order-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--cyan));
    color: white;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin-top: 25px;
    transition: var(--transition-base);
}

.order-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    margin-top: 20px;
    color: var(--success);
    font-weight: 600;
    font-size: 14px;
}

.value-highlights {
    margin-top: 25px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.value-item i {
    color: var(--success);
    font-size: 16px;
}

/* Navigation Buttons */
.calculator-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.nav-button {
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-button {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.back-button:hover {
    background: var(--border-color);
}

.reset-button {
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.reset-button:hover {
    border-color: var(--danger);
    color: var(--danger);
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.trust-content h4 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 5px;
}

.trust-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--navy);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .summary-wrapper {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .calculator-wrapper {
        padding: 30px 20px;
    }

    .step-header h2 {
        font-size: 28px;
    }

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

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

    .niche-details {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

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

    .calculator-wrapper {
        padding: 20px 15px;
    }

    .package-price {
        font-size: 36px;
    }

    .summary-total span:nth-child(2) {
        font-size: 36px;
    }
}