/* Global Styles */
:root {
    --primary-color: #2575fc;
    --secondary-color: #6a11cb;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/assets/images/pattern.svg') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Feature Cards */
.feature-card {
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(66, 133, 244, 0.1), rgba(219, 68, 55, 0.1));
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Card Design Variations */
.preview-card {
    padding: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 1rem;
    background: white;
}

/* 1. Minimalist */
.card-minimalist {
    border: 2px solid #e9ecef;
    background: white;
    transition: all 0.3s ease;
}

.card-minimalist:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* 2. Gradient */
.card-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.card-gradient .price,
.card-gradient .card-title {
    color: white;
}

/* 3. Neumorphic */
.card-neumorphic {
    background: #f0f2f5;
    box-shadow: 8px 8px 15px #d1d9e6, -8px -8px 15px #ffffff;
    border: none;
}

.card-neumorphic:hover {
    box-shadow: 12px 12px 20px #d1d9e6, -12px -12px 20px #ffffff;
}

/* 4. Glass Effect */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
}

/* 5. Dark Mode */
.card-dark {
    background: #1a1a1a;
    color: white;
    border: 1px solid #333;
}

.card-dark .price,
.card-dark .card-title {
    color: white;
}

.card-dark .list-unstyled li {
    color: #e0e0e0;
}

/* 6. Border Accent */
.card-border-accent {
    border: none;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-border-accent:hover {
    border-top-width: 8px;
    transform: translateY(-5px);
}

/* 7. Floating */
.card-floating {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: none;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-floating:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 8. Gradient Border */
.card-gradient-border {
    background: white;
    position: relative;
    border: none;
    z-index: 1;
}

.card-gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #6c5ce7);
    z-index: -1;
    border-radius: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.card-gradient-border:hover::before {
    opacity: 1;
}

/* Testimonials */
.testimonial-card {
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* Success/Cancel Pages */
.success-icon i {
    font-size: 5rem;
    color: var(--success-color);
}

.canceled-icon i {
    font-size: 5rem;
    color: var(--danger-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .pricing-card {
        margin-bottom: 2rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(37, 117, 252, 0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(37, 117, 252, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: white;
}

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

footer a:hover {
    color: white;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 117, 252, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Checkout Styles */
.checkout-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    min-height: 100vh;
}

.checkout-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.order-summary {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.features-list li {
    margin-bottom: 0.75rem;
}

.features-list i {
    color: var(--success-color);
}

.trust-badge {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.trust-badge i {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-badge span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

#payment-element {
    margin-top: 1.5rem;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 768px) {
    .checkout-card {
        margin: 1rem;
    }
    
    .trust-badge {
        margin-bottom: 1rem;
    }
}

/* Card Design Variations */
.preview-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.preview-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.preview-card p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Split Layout Style */
.preview-card.split-layout {
    padding: 0;
    overflow: hidden;
}

.split-content {
    display: flex;
    align-items: center;
}

.split-icon {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-text {
    padding: 2rem;
    text-align: left;
    flex: 1;
}

/* Flip Card Style */
.flip-card {
    perspective: 1000px;
    background: transparent;
    height: 250px;
    padding: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.flip-card-front {
    background: white;
}

.flip-card-back {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-back p {
    color: rgba(255, 255, 255, 0.9);
}

/* Outline Style */
.preview-card.outline {
    border: 2px dashed var(--primary-color);
    background: transparent;
}

.preview-card.outline:hover {
    border-style: solid;
    background: white;
}

/* Bold Typography Style */
.preview-card.bold-typography h4 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.preview-card.bold-typography .card-icon {
    font-size: 3rem;
}

/* Gradient Style */
.preview-card.gradient {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.preview-card.gradient .card-icon {
    color: white;
}

.preview-card.gradient p {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .preview-card {
        margin-bottom: 2rem;
    }
    
    .split-content {
        flex-direction: column;
    }
    
    .split-icon {
        width: 100%;
    }
    
    .split-text {
        text-align: center;
    }
    
    .flip-card {
        height: 300px;
    }
}

/* Enhanced Features Section */
.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

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

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    color: var(--dark-gray);
    font-size: 1.2rem;
}

/* Price Tags */
.price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    transform: rotate(15deg);
}

/* Feature List Enhancements */
.feature-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.feature-list-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.feature-list-icon {
    margin-right: 1rem;
    color: var(--success-color);
}

/* Call to Action Button */
.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Utility Classes */
.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.rotate-hover {
    transition: all 0.3s ease;
}

.rotate-hover:hover {
    transform: rotate(5deg);
} 