/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    color: rgba(0, 0, 0, 0.87);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    padding: 0 16px;
    max-width: 1024px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .container {
        padding: 0 24px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: #FFD700;
}

.logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #007AFF;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(145deg, #f5f7fa, #e4ebf5);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.167;
    letter-spacing: 0em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    max-width: 460px;
    margin: 0 auto 8px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}

.hero-subtitle {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.0075em;
    color: rgba(0, 0, 0, 0.6);
    opacity: 0.8;
    max-width: 460px;
    margin: 24px auto 0;
}

/* Purchase Form */
.purchase-form {
    max-width: 480px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 8px;
}

@media (min-width: 600px) {
    .purchase-form {
        padding: 16px;
    }
}

.purchase-form form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    padding: 16px;
}

@media (min-width: 600px) {
    .purchase-form form {
        padding: 24px;
    }
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0.00938em;
    color: #1d1d1f;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-icon {
    color: #FFD700;
    font-size: 1.5rem;
}

.stars-input-container {
    margin-bottom: 12px;
}

.stars-input {
    font-family: inherit;
    letter-spacing: inherit;
    color: currentColor;
    padding: 16.5px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    height: 48px;
    margin: 0;
    width: 100%;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.stars-input:hover {
    border-color: #007AFF;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
}

.stars-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Quick Selection Chips */
.quick-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.chip {
    max-width: 100%;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    color: rgba(0, 0, 0, 0.87);
    background-color: transparent;
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
    outline: 0;
    text-decoration: none;
    border: 1px solid #bdbdbd;
    font-weight: 600;
    padding: 0 12px;
}

.chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.chip.active {
    border-color: #007AFF;
    color: #007AFF;
}

.form-note {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.66;
    letter-spacing: 0.03333em;
    color: rgba(0, 0, 0, 0.6);
    display: block;
    text-align: left;
}

.bot-link {
    color: #1976d2;
    text-decoration: underline;
    font-weight: 600;
}

.bot-link:hover {
    text-decoration-color: inherit;
}

/* Buttons */
.btn {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.75;
    letter-spacing: 0.02857em;
    text-transform: uppercase;
    min-width: 64px;
    padding: 8px 22px;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #fff;
    background-color: #1976d2;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
    width: 100%;
    border-radius: 8px;
    height: 48px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    box-shadow: 0 4px 16px rgba(0,122,255,0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
    background: linear-gradient(135deg, #0056CC 0%, #004499 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0,122,255,0.4);
}

.btn:disabled {
    background: #e5e5e7;
    color: #8e8e93;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-icon {
    display: inherit;
    margin-right: -4px;
    margin-left: 8px;
    font-size: 22px;
}

.btn-large {
    height: 48px;
    font-size: 1rem;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006fa3 100%);
    box-shadow: 0 4px 12px rgba(0,136,204,0.35);
    text-transform: none;
    font-weight: 700;
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #0a95d8 0%, #007ab3 100%);
}

.btn-outline {
    background: transparent;
    color: #007AFF;
    border: 1px solid #007AFF;
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #0056CC;
}

/* Price Display */
.price-display {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.price-amount {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.334;
    letter-spacing: 0em;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.price-per-star {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    color: rgba(0, 0, 0, 0.6);
}

/* Bot Info */
.bot-info {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #90caf9;
    background: #e3f2fd;
    box-shadow: 0 2px 8px rgba(0,136,204,0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bot-info-title {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.57;
    letter-spacing: 0.00714em;
    color: #0d47a1;
}

.bot-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
}

.bot-benefits li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding-top: 2px;
    padding-bottom: 2px;
    gap: 8px;
}

.check-icon {
    color: #0088cc;
    font-size: 16px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #546e7a;
    font-weight: 500;
}

.telegram-icon {
    display: inherit;
    margin-right: 8px;
    margin-left: -4px;
    font-size: 20px;
}

/* Payment Methods */
.payment-methods {
    margin-top: 2rem;
}

.payment-text {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-logo {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    color: #333;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.advantage:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.advantage-description {
    color: #666;
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    color: #333;
    padding: 1.5rem;
    margin: 0px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #007AFF;
    font-weight: 300;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Support */
.support-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.support-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.support-info p {
    color: #666;
    margin-bottom: 2rem;
}

.support-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.0075em;
    color: #333;
    margin-bottom: 1rem;
}

.company-info {
    margin-top: 8px;
    font-size: 14px;
    color: #888;
}

.company-info div {
    margin-top: 2px;
}

.footer-section a {
    text-decoration: none;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #0088cc;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .purchase-form {
        padding: 8px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .support-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 6px 16px;
    }
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Username Input */
.username-input-container {
    margin-bottom: 12px;
}

.username-input {
    font-family: inherit;
    letter-spacing: inherit;
    color: currentColor;
    padding: 16.5px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    height: 48px;
    margin: 0;
    width: 100%;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.username-input:hover {
    border-color: #007AFF;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
}

.username-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.validation-message {
    margin-top: 8px;
    font-size: 0.875rem;
    min-height: 20px;
}

.validation-message.valid {
    color: #4caf50;
}

.validation-message.invalid {
    color: #f44336;
}

/* User Profile Display */
.user-profile-display {
    margin: 16px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #007AFF;
    background: #e0e0e0;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.user-username {
    font-size: 0.9rem;
    color: #666;
    font-family: monospace;
}

@media (max-width: 480px) {
    .user-profile-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.payment-option:hover {
    border-color: #007AFF;
    background: #f8f9fa;
}

.payment-option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #007AFF;
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.payment-option input[type="radio"]:checked + label {
    color: #007AFF;
    font-weight: 600;
}

.payment-option input[type="radio"]:checked {
    border-color: #007AFF;
}

/* Order Summary */
.order-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    border-top: 2px solid #007AFF;
    padding-top: 12px;
    margin-top: 12px;
}

.summary-item span:first-child {
    color: #666;
}

.summary-item span:last-child {
    font-weight: 600;
    color: #333;
}

/* Step Navigation */
.step-buttons {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.step-buttons .btn {
    min-height: 48px;
}

.step-buttons .btn-outline {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #007AFF;
    border: 2px solid #007AFF;
    font-size: 20px;
    font-weight: 600;
}

.step-buttons .btn-outline:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #0056CC;
    border-color: #0056CC;
    transform: scale(1.05);
}

.step-buttons .btn-primary {
    flex: 1;
    width: 100%;
    max-width: none;
}

/* Responsive adjustments for form steps */
@media (max-width: 768px) {
    .step-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .step-buttons .btn {
        width: 100%;
        min-height: 48px;
    }
    
    .step-buttons .btn-outline {
        order: 1;
        width: 48px;
        height: 48px;
        min-width: 48px;
        max-width: 48px;
    }
    
    .step-buttons .btn-primary {
        order: 2;
        width: 100%;
    }
    
    .payment-option {
        padding: 12px;
    }
    
    .order-summary {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .step-buttons {
        gap: 12px;
    }
    
    .step-buttons .btn {
        font-size: 0.875rem;
        padding: 12px 16px;
    }
    
    .step-buttons .btn-outline {
        font-size: 18px;
    }
}

/* Progress Indicator */
.form-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #007AFF;
    color: white;
    transform: scale(1.1);
}

.progress-step.completed {
    background: #4caf50;
    color: white;
}

.progress-connector {
    width: 40px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 4px;
    align-self: center;
}

.progress-connector.active {
    background: #007AFF;
}

.progress-connector.completed {
    background: #4caf50;
}

/* Ensure buttons have proper spacing on desktop */
@media (min-width: 769px) {
    .step-buttons {
        gap: 20px;
    }
    
    .step-buttons .btn-outline {
        margin-right: 0;
    }
    
    .step-buttons .btn-primary {
        margin-left: 0;
    }
}

/* Animated Stars */
.animated-star {
    position: fixed;
    color: #8B5CF6;
    font-size: 1.5rem;
    animation: starFloat 6s ease-in-out infinite;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.animated-star:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    font-size: 2rem;
}

.animated-star:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
    font-size: 1.2rem;
}

.animated-star:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
    font-size: 1.8rem;
}

.animated-star:nth-child(4) {
    top: 30%;
    right: 25%;
    animation-delay: 3s;
    font-size: 1.5rem;
}

.animated-star:nth-child(5) {
    top: 70%;
    left: 5%;
    animation-delay: 4s;
    font-size: 1.3rem;
}

.animated-star:nth-child(6) {
    top: 15%;
    right: 5%;
    animation-delay: 5s;
    font-size: 1.7rem;
}

@keyframes starFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Additional floating animation for some stars */
.animated-star:nth-child(2),
.animated-star:nth-child(5) {
    animation: starFloat2 8s ease-in-out infinite;
}

@keyframes starFloat2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translateY(-25px) rotate(120deg) scale(1.1);
        opacity: 1;
    }
    66% {
        transform: translateY(-15px) rotate(240deg) scale(0.9);
        opacity: 0.6;
    }
}

/* Twinkling effect */
.animated-star:nth-child(3),
.animated-star:nth-child(6) {
    animation: starTwinkle 4s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Responsive adjustments for stars */
@media (max-width: 768px) {
    .animated-star {
        font-size: 1.2rem;
    }
    
    .animated-star:nth-child(1) { font-size: 1.5rem; }
    .animated-star:nth-child(2) { font-size: 1rem; }
    .animated-star:nth-child(3) { font-size: 1.4rem; }
    .animated-star:nth-child(4) { font-size: 1.2rem; }
    .animated-star:nth-child(5) { font-size: 1.1rem; }
    .animated-star:nth-child(6) { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .animated-star {
        font-size: 1rem;
    }
    
    .animated-star:nth-child(1) { font-size: 1.3rem; }
    .animated-star:nth-child(2) { font-size: 0.9rem; }
    .animated-star:nth-child(3) { font-size: 1.2rem; }
    .animated-star:nth-child(4) { font-size: 1rem; }
    .animated-star:nth-child(5) { font-size: 0.9rem; }
    .animated-star:nth-child(6) { font-size: 1.1rem; }
}


