/* Pricing Page Styles */

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.loading-logo {
    margin-bottom: 3rem;
}

.loading-logo img {
    max-width: 280px;
    height: auto;
    opacity: 0.9;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.scroll-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: all 0.3s ease;
    animation: scrollDot 1.5s infinite ease-in-out;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes scrollDot {
    0%, 80%, 100% {
        background-color: var(--border-color);
        transform: scale(1);
    }
    40% {
        background-color: var(--primary-color);
        transform: scale(1.3);
    }
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.25);
    --header-height: 84px;
}

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

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.main-wrapper {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

.main-content {
    width: 100%;
}

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

.page-hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--accent-color);
    padding: 60px 40px;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    line-height: 1.2;
}

.billing-steps {
    margin-bottom: 40px;
}

.billing-step {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 16px;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    width: auto;
}

.billing-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    right: -10px;
    height: 1px;
    background-color: var(--primary-color);
}

.billing-step:last-child::after {
    display: block;
}

.billing-steps {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-buttons-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.button-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.button-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.button-label strong {
    font-weight: 800;
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.hero-cta-button {
    flex: 1;
    min-width: 0;
    padding: 25px 30px;
    border-radius: 12px;
    border: 3px solid var(--primary-color);
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
}

.hero-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.hero-cta-button.primary {
    background-color: var(--primary-color);
}

.hero-cta-button.primary .button-title {
    color: var(--secondary-color);
}

.hero-cta-button.primary .button-payment-breakdown {
    color: var(--secondary-color);
}

.hero-cta-button.primary .button-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta-button.secondary {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 50%, #ffffff 100%);
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0,0,0,0.08) 1px, transparent 0),
        linear-gradient(45deg, rgba(0,0,0,0.025) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.025) 25%, transparent 25%);
    background-size: 12px 12px, 24px 24px, 24px 24px;
}

.hero-cta-button.secondary .button-title {
    color: var(--primary-color);
}

.hero-cta-button.secondary .button-subtitle {
    color: var(--primary-color);
    font-weight: 600 !important;
}

.button-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
}

.button-payment-breakdown {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    margin-top: 6px;
    opacity: 0.95;
}

.button-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.button-divider {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 30px 0;
    letter-spacing: 2px;
}

.button-divider-inline {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Main Website Creation Section */
.main-service {
    padding: 20px 0 20px 0;
    background-color: var(--secondary-color);
}

.main-card {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 40px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 50%, #ffffff 100%);
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0,0,0,0.08) 1px, transparent 0),
        linear-gradient(45deg, rgba(0,0,0,0.025) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.025) 25%, transparent 25%);
    background-size: 12px 12px, 24px 24px, 24px 24px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 16px 45px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

/* Additional Services Section */
.additional-services {
    padding: 20px 0 30px 0;
    background-color: var(--accent-color);
}

.services-notice {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 10px;
    margin-bottom: 15px;
}

.important-label {
    font-weight: 700;
    color: #dc2626;
}

.services-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.services-link:hover {
    text-decoration: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: start;
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 50%, #ffffff 100%);
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0,0,0,0.08) 1px, transparent 0),
        linear-gradient(45deg, rgba(0,0,0,0.025) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.025) 25%, transparent 25%);
    background-size: 10px 10px, 20px 20px, 20px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: auto;
}

.service-card:hover {
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

/* Gold Corner Ribbon */
.service-card.featured {
    border: 2px solid #FFD700;
}

.corner-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    overflow: hidden;
    z-index: 10;
}

.corner-ribbon::before {
    content: "BEST";
    position: absolute;
    top: 20px;
    right: -25px;
    width: 120px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    line-height: 30px;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.corner-ribbon::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -25px;
    width: 120px;
    height: 8px;
    background: linear-gradient(135deg, #DAA520, #B8860B);
    transform: rotate(45deg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.service-prefix {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    text-align: center;
    margin-top: -8px;
    margin-bottom: 0;
    line-height: 1;
}

.service-plus {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
    text-align: center;
    margin: 0;
    line-height: 1;
}

.service-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}

/* Add black box styling for main card title */
.main-card .service-header h2 {
    border: none;
    padding: 0;
    display: inline-block;
    border-radius: 0;
}

/* Adjust Complete Plan title to center the text instead of the icon */
.service-card.featured .service-header h2 {
    margin-left: -18px;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0;
}

.service-icon-spacer {
    width: 64px;
    height: 1px;
}

.service-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    line-height: 1;
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    display: inline-block;
    border-radius: 4px;
    text-align: center;
}

.service-price h2 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.service-price span {
    display: block;
    font-size: 1.6rem;
}

.service-price-split {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    border: 2px solid var(--primary-color);
    padding: 12px 20px;
    display: inline-block;
    border-radius: 4px;
    text-align: center;
}

.price-line {
    font-size: 1.4rem;
    line-height: 1.3;
}

.price-line:first-child {
    margin-bottom: 6px;
}

.price-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
    margin-top: 10px;
    max-width: 100%;
}

.price-emphasis {
    font-weight: 700;
}

.service-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-description {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-includes h4,
.payment-policy h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-includes ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
    display: inline-block;
}

/* Center bullet points for main website creation card only */
.main-card .service-includes ul {
    text-align: center;
}

.main-card .service-includes li {
    position: relative;
    padding-left: 0;
    display: block;
}

.main-card .service-includes li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    left: auto;
    margin-right: 8px;
}

/* Two-column grid for main card bullet points */
.main-card .main-includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 15px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.main-card .main-includes-left,
.main-card .main-includes-right {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-card .main-includes-left li,
.main-card .main-includes-right li {
    position: relative;
    padding-left: 0;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

.main-card .main-includes-left li:before,
.main-card .main-includes-right li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    display: inline;
}

.main-card .main-includes-bottom {
    text-align: center;
    margin-top: 15px;
}

.main-card .main-includes-bottom li {
    position: relative;
    padding-left: 0;
    display: inline-block;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

.main-card .main-includes-bottom li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    left: auto;
    margin-right: 8px;
    line-height: 1.5;
}

.service-includes li {
    padding: 6px 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
}

.service-includes li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.payment-policy {
    background-color: var(--accent-color);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.payment-policy p {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

.service-note {
    background-color: var(--accent-color);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
}

.service-note p {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.service-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
    font-style: italic;
}

/* Two-column includes grid for Complete Plan */
.includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.includes-left,
.includes-right {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-left li,
.includes-right li {
    padding: 4px 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.includes-left li:before,
.includes-right li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Referral Program Link */
.referral-link {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.referral-link:hover {
    color: #4169E1;
    text-decoration: underline;
}

/* CTA Buttons */
.cta-button {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.cta-button.primary:hover {
    background-color: #333333;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

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

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Button loader inline styles */
.btn-loader-inline {
    display: inline-flex;
    gap: 4px;
}

.btn-loader-inline .loader-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: loader-bounce 1.4s infinite ease-in-out both;
}

.btn-loader-inline .loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.btn-loader-inline .loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loader-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Add-Ons Section */
.add-ons {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.add-ons h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.add-ons-list {
    max-width: 600px;
    margin: 0 auto;
}

.add-on-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background-color: var(--accent-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.add-on-item span:first-child {
    font-size: 1rem;
    color: var(--text-primary);
}

.add-on-price {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Final CTA Section */
.final-cta {
    padding: 15px 0 80px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.final-cta h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-button.large {
    max-width: 400px;
    font-size: 1.3rem;
    padding: 18px 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .page-hero {
        padding: 30px 0 15px 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .main-service {
        padding: 15px 0 15px 0;
    }
    
    .additional-services {
        padding: 5px 0 40px 0;
    }
    
    .main-card {
        padding: 25px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-header h2 {
        font-size: 1.3rem;
    }
    
    .service-price {
        font-size: 1.4rem;
    }
    
    .final-cta {
        padding: 60px 0;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-hero {
        padding: 40px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .main-card,
    .service-card {
        padding: 20px;
    }
    
    .service-header h2 {
        font-size: 1.2rem;
        white-space: normal;
    }
    
    .service-price {
        font-size: 1.3rem;
    }
    
    .service-header h3 {
        font-size: 1.1rem;
    }
    
    .add-on-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }
    
    .final-cta h2 {
        font-size: 1.8rem;
    }
}