:root {
    /* Colors */
    --primary: #6b46c1;
    --primary-dark: #553c9a;
    --secondary: #f56565;
    --secondary-dark: #e53e3e;
    --dark: #2d3748;
    --light: #f7fafc;
    --white: #ffffff;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-brand span {
    background: linear-gradient(45deg, var(--secondary), var(--secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #9f7aea 100%);
    margin-top: 72px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

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

.hero-image img {
    animation: float 6s ease-in-out infinite;
}

/* Early Access Banner */
.early-access-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(107, 70, 193, 0.3);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Cards and Features */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(107, 70, 193, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Steps styling */
.steps-list {
    padding: 0;
    margin: 0;
}

.step-item {
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number-wrapper {
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Image handling */
.hero-image img,
.app-preview img,
.success-stories img,
.results img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.app-preview img {
    max-width: 400px;
    margin: 0 auto;
}

/* Image hover effects */
.hero-image img:hover,
.success-stories img:hover,
.results img:hover {
    transform: translateY(-10px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .app-preview img {
        max-width: 300px;
    }
    
    .hero-image img,
    .success-stories img,
    .results img {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step-item {
        margin-bottom: 2rem;
    }
    
    .steps-list {
        margin-bottom: 3rem;
    }
}

/* Testimonial avatars */
.testimonial-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Pulsing button effect */
.pulse-button {
    position: relative;
    background: linear-gradient(45deg, var(--secondary), var(--secondary-dark));
    border: none;
    animation: pulse 2s infinite;
}

.pulse-button:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(245, 101, 101, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 101, 101, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(245, 101, 101, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 101, 101, 0);
    }
}

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

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-title {
    color: var(--primary);
}

.pricing-price {
    color: var(--dark);
}

.pricing-features li {
    position: relative;
    padding-left: 1.5rem;
}

.popular-badge {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Update existing button styles */
.btn-danger {
    background: linear-gradient(45deg, var(--secondary), var(--secondary-dark));
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary));
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(245, 101, 101, 0.4);
}

/* Form styling */
.modal-content {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, #9f7aea 100%);
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

/* Steps indicator */
.steps-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.step-dot.completed {
    background: var(--secondary);
}

/* Form steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

/* Form inputs */
.form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(107, 70, 193, 0.15);
}

/* Radio buttons styling */
.form-check {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-check:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    padding-left: 0.5rem;
    font-weight: 500;
}

/* Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-form-nav {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Progress bar */
.progress {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    margin: -2rem -2rem 2rem -2rem;
}

.progress-bar {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: width 0.5s ease;
}

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

/* Mobile optimizations */
@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-check {
        padding: 0.75rem;
    }
    
    .btn-form-nav {
        min-width: 100px;
        padding: 0.5rem 1rem;
    }
    
    .steps-indicator {
        margin-bottom: 1.5rem;
    }
}

/* Form validation */
.invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.form-control.is-invalid {
    border-color: var(--secondary);
    background-image: none;
}

.step-error {
    font-size: 0.875rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: rgba(245, 101, 101, 0.1);
    color: var(--secondary);
}

/* Success modal styling */
.success-animation {
    transform: scale(0);
    animation: popIn 0.5s ease forwards;
}

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.social-links .btn {
    width: 48px;
    height: 48px;
    padding: 0;
    line-height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

/* Add shake animation for validation errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake-animation {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

/* Improve validation feedback styles */
.form-step .invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-step .step-error {
    animation: fadeIn 0.3s ease;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(245, 101, 101, 0.25);
}

/* Add to your existing CSS */
.pricing .text-decoration-line-through {
    font-size: 1.1rem;
    position: relative;
    top: -0.5rem;
}

.pricing .h2 {
    color: var(--primary);
    font-weight: 700;
}

/* Optional: Add a "SAVE 50%" badge */
.pricing {
    position: relative;
}

.pricing::after {
    content: "SAVE 50%";
    position: absolute;
    top: -10px;
    right: -20px;
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    transform: rotate(15deg);
} 