:root {
    --primary: #2c3e50;
    --primary-light: #34495e;
    --secondary: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --info: #1abc9c;
    --warning: #f39c12;
    --danger: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

/* Common Components */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

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

.btn-outline-primary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-brand span {
    color: var(--secondary);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: var(--primary);
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Features */
.features {
    padding: 6rem 0;
    background-color: var(--light);
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    background-color: rgba(52, 152, 219, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--primary-light);
    margin-bottom: 0;
    flex-grow: 1;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: white;
}

.step {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light);
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-author {
    font-weight: 700;
}

.testimonial-role {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Project Details */
.project-details {
    padding: 5rem 0;
    background-color: white;
}

.detail-card {
    background: var(--light);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.detail-card h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Pricing Section */
.pricing-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.pricing-header h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.pricing-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.pricing-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    max-width: 320px;
    padding: 1rem;
    background-color: white;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pricing-switch-label {
    font-weight: 600;
    padding: 0 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.pricing-switch-label small {
    font-size: 0.8em;
    color: var(--success);
    display: block;
    margin-top: 0.2rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary);
    transition: .4s;
    border-radius: 34px;
}

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

input:checked+.slider {
    background-color: var(--success);
}

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

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--secondary);
    color: white;
    padding: 0.25rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
    z-index: 1;
}

.pricing-card-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pricing-card-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-light);
    margin-top: 0.5rem;
    margin-left: 0.2rem;
}

.pricing-card-interval {
    font-size: 0.9rem;
    color: var(--primary-light);
}

.pricing-card-body {
    padding: 2rem;
    flex-grow: 1;
}

.resource-limits {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.resource-limit {
    text-align: center;
    flex: 1;
    padding: 1.2rem 0.5rem;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.resource-limit:hover {
    background-color: rgba(52, 152, 219, 0.2);
    transform: translateY(-3px);
}

.resource-limit-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.resource-limit-label {
    font-size: 0.9rem;
    color: var(--primary-light);
    margin: 0.25rem 0;
}

.resource-limit-price {
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

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

.pricing-features li i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    color: var(--success);
}

.pricing-features li.disabled {
    color: #ccc;
}

.pricing-features li.disabled i {
    color: var(--danger);
}

.feature-highlight {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--primary);
    margin-top: auto;
}

.feature-highlight i {
    margin-right: 0.75rem;
    color: var(--secondary);
    font-size: 1.1rem;
}

.pricing-card-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-pricing {
    width: 100%;
    padding: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-pricing.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-pricing.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

.btn-pricing.btn-outline-primary {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-pricing.btn-outline-primary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

/* Subscription Status */
.subscription-status {
    padding: 4rem 0;
    background-color: var(--light);
}

.status-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.status-card.active {
    border-top: 4px solid var(--success);
}

.status-card.expired {
    border-top: 4px solid var(--warning);
}

.status-card.payment-failed {
    border-top: 4px solid var(--danger);
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.status-card.active .status-icon {
    color: var(--success);
}

.status-card.expired .status-icon {
    color: var(--warning);
}

.status-card.payment-failed .status-icon {
    color: var(--danger);
}

.status-card h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.status-description {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.subscription-details {
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--primary);
}

.detail-value {
    color: var(--primary-light);
    text-align: right;
}

.upgrade-notice {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.upgrade-notice i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    margin-top: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 992px) {
    .hero {
        text-align: center;
    }

    .hero-img {
        margin-top: 2rem;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .pricing-header {
        padding: 3rem 1rem;
    }

    .pricing-header h1 {
        font-size: 2rem;
    }

    .resource-limits {
        flex-direction: column;
    }

    .pricing-switch {
        max-width: 280px;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 1rem;
        margin-right: 0;
    }

    .footer-links {
        margin-bottom: 2rem;
    }

    .subscription-status {
        padding: 2rem 0;
    }

    .status-card {
        padding: 2rem 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card {
        max-width: 100%;
    }

    .pricing-header p {
        font-size: 1rem;
    }

    .pricing-switch-label {
        font-size: 1rem;
    }

    .switch {
        width: 50px;
        height: 28px;
    }

    .slider:before {
        height: 20px;
        width: 20px;
    }

    input:checked+.slider:before {
        transform: translateX(22px);
    }

    .status-card h2 {
        font-size: 1.5rem;
    }

    .status-description {
        font-size: 1rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.3rem;
    }

    .detail-value {
        text-align: left;
    }
}




.payment-container {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.payment-header {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.payment-header h2 {
    margin: 0;
    font-weight: 700;
}

.payment-body {
    padding: 2rem;
}

.payment-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.payment-steps:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--light);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 25%;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    border: 2px solid var(--light);
}

.step.active .step-number {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.step.completed .step-number {
    background-color: var(--success);
    color: white;
    border-color: var(--success);
}

.step-label {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
}

.step.completed .step-label {
    color: var(--success);
}

.payment-section {
    display: none;
}

.payment-section.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    width: 100%;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

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

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

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary-light);
}

.payment-summary {
    background-color: var(--light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    flex: 1;
    min-width: 120px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.payment-method .method-name {
    font-weight: 600;
}

.payment-footer {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-processing {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid var(--primary-light);
    border-right-color: var(--primary);
    border-radius: 50%;
    animation: spinner 0.75s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.payment-success,
.payment-failure {
    text-align: center;
    padding: 2rem;
}

.payment-success i {
    color: var(--success);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.payment-failure i {
    color: var(--danger);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .payment-container {
        margin: 1rem;
    }

    .payment-method {
        min-width: 100px;
    }
}

.network-selector {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
}

.network-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.network-option:hover {
    background-color: #f8f9fa;
}

input[type="radio"]:checked+.network-option {
    background-color: #e7f1ff;
    border: 1px solid #0d6efd;
}

.network-option img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.network-option span {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.25rem;
}

.payment-processing {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.375rem;
    border: 1px dashed #dee2e6;
}

#submitBtn {
    transition: all 0.3s ease;
    position: relative;
}

#submitBtn .submit-text {
    transition: opacity 0.3s ease;
}

#submitBtn.processing .submit-text {
    opacity: 0;
}

#submitBtn.processing #spinner {
    display: inline-block !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.input-group-text {
    background-color: #f8f9fa;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid {
    border-color: #28a745;
}
