/* Main CSS - Complete styling for AutoFix website */

/* Import critical CSS */
@import url('critical.css');

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: var(--spacing-md);
    text-shadow: none;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: #1f2937;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: none;
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--background-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #1c2232;
    margin-bottom: var(--spacing-md);
}

.feature-description {
    color: #1c2232;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-header {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: var(--spacing-xl);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-badge {
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-content {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.service-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.service-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.service-features li {
    padding: var(--spacing-sm) 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: var(--spacing-xl);
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--font-size-lg);
    top: 50%;
    transform: translateY(-50%);
}

/* SprayNGoo Section */
.sprayngoo {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.sprayngoo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.3"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="100" height="100" fill="url(%23a)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.5;
}

.sprayngoo .section-header {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sprayngoo .section-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sprayngoo .section-subtitle {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

.sprayngoo-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sprayngoo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--background-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, var(--secondary-color), #d97706);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.coming-soon-badge i {
    font-size: var(--font-size-xl);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    }
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="100" height="100" fill="url(%23a)"/></svg>') no-repeat center right;
    background-size: cover;
    opacity: 0.3;
    filter: blur(2px);
}

.how-it-works .section-header {
    position: relative;
    z-index: 2;
}

.how-it-works .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.step-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    color: white;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin: 0 auto var(--spacing-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.step-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.plan-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #1c2232;
    margin-bottom: var(--spacing-md);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
}

.currency {
    font-size: var(--font-size-lg);
    color: #1c2232;
}

.amount {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: #1c2232;
}

.period {
    font-size: var(--font-size-lg);
    color: #1c2232;
}

.plan-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.plan-features li {
    padding: var(--spacing-sm) 0;
    color: #1c2232;
    position: relative;
    padding-left: var(--spacing-lg);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Download Section */
.download {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
    color: var(--text-primary);
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: var(--spacing-lg);
    text-shadow: none;
    display: block;
    visibility: visible;
}

.download-subtitle {
    font-size: var(--font-size-xl);
    color: #1f2937;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: white;
    color: #1f2937;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: #1f2937;
    border-color: var(--primary-color);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left var(--transition-normal);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #1f2937;
}

.download-btn-text {
    font-weight: 600;
    color: #1f2937;
}

.download-btn-ios {
    background: white;
    color: #1f2937;
}

.download-btn-android {
    background: white;
    color: #1f2937;
}

.download-note {
    color: #1f2937;
    font-size: var(--font-size-base);
    font-weight: 500;
    opacity: 0.8;
    margin-top: var(--spacing-lg);
}



/* Testimonials Section */
.testimonials {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: var(--background-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.testimonial-content {
    margin-bottom: var(--spacing-lg);
}

.testimonial-content p {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: #1f2937;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.author-name {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: var(--spacing-xs);
}

.author-title {
    font-size: var(--font-size-sm);
    color: #1f2937;
}

/* Contact Section */
.contact {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-header-card {
    background: #1f2937;
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-2xl);
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.contact-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.contact-header-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.header-svg {
    width: 40px;
    height: 40px;
    color: white;
}

.contact-header-content {
    color: white;
    flex: 1;
}

.contact-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: none;
}

.contact-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.contact-method-card {
    background: #1f2937;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.2);
}

.method-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.method-svg {
    width: 28px;
    height: 28px;
    color: white;
}

.method-card-content {
    color: white;
}

.method-card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
    text-shadow: none;
}

.method-card-detail {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.method-card-link {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.method-card-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

/* Form Styles */
.form {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1c2232;
    margin-bottom: var(--spacing-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
    background-color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color var(--transition-fast);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

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

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle svg {
    width: 24px;
    height: 24px;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Story Section */
.story-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    position: relative;
}

.story-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Card Animation Container */
.story-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Track */
.card-track {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Story Cards */
.story-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 200px;
    max-width: 220px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.8s ease-out forwards;
    transition: all var(--transition-normal);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.98);
}

.story-card[data-step="1"] { animation-delay: 0.5s; }
.story-card[data-step="2"] { animation-delay: 1s; }
.story-card[data-step="3"] { animation-delay: 1.5s; }
.story-card[data-step="4"] { animation-delay: 2s; }
.story-card[data-step="5"] { animation-delay: 2.5s; }

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: #1a202c;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.card-description {
    font-size: var(--font-size-sm);
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.card-progress {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    width: 0%;
    animation: progressFill 2s ease-out forwards;
    animation-delay: 0.5s;
}

/* Connection Arrows */
.connection-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0;
    animation: arrowAppear 0.5s ease-out forwards;
}

.connection-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--primary-color);
}

.arrow-1 {
    left: 220px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.2s;
}

.arrow-2 {
    left: 440px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.7s;
}

.arrow-3 {
    left: 660px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 2.2s;
}

.arrow-4 {
    left: 880px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 2.7s;
}

/* Animations */
@keyframes cardSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    to {
        width: 100%;
    }
}

@keyframes arrowAppear {
    to {
        opacity: 1;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    margin-right: var(--spacing-md);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Dark mode theme toggle styling */
[data-theme="dark"] .theme-toggle {
    background: rgba(15, 23, 42, 0.8);
    color: #f1f5f9;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Theme toggle visibility enhancements */
.theme-toggle {
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.3);
    }
}

[data-theme="dark"] .theme-toggle {
    animation: gentle-pulse-dark 3s ease-in-out infinite;
}

@keyframes gentle-pulse-dark {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.5);
    }
}

.theme-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Dark theme state */
[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Dark theme variables */
[data-theme="dark"] {
    --background-primary: #0f172a;
    --background-secondary: #1e293b;
    --background-dark: #020617;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --border-color: #334155;
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
}

/* Dark theme styles */
[data-theme="dark"] body {
    background-color: var(--background-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .header {
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .navbar-brand .logo-text {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--text-primary);
}

[data-theme="dark"] .hero {
    background: var(--hero-gradient);
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .hero-title {
    color: var(--text-primary);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .download-title {
    color: var(--text-primary);
}

[data-theme="dark"] .download-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .download-note {
    color: var(--text-secondary);
}

[data-theme="dark"] .features {
    background-color: var(--background-secondary);
}

[data-theme="dark"] .services {
    background-color: var(--background-primary);
}

[data-theme="dark"] .pricing {
    background-color: var(--background-secondary);
}

[data-theme="dark"] .download {
    background-color: var(--background-primary);
}

[data-theme="dark"] .testimonials {
    background-color: var(--background-secondary);
}

[data-theme="dark"] .contact {
    background-color: var(--background-primary);
}

[data-theme="dark"] .feature-card {
    background-color: var(--background-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .pricing-card {
    background-color: var(--background-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .testimonial-card {
    background-color: var(--background-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .feature-title,
[data-theme="dark"] .plan-name,
[data-theme="dark"] .amount,
[data-theme="dark"] .currency,
[data-theme="dark"] .period,
[data-theme="dark"] .author-name {
    color: var(--text-primary);
}

[data-theme="dark"] .feature-description,
[data-theme="dark"] .plan-features li,
[data-theme="dark"] .author-title,
[data-theme="dark"] .testimonial-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .form {
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .form-label {
    color: var(--text-primary);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
    background-color: var(--background-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
    border-color: var(--primary-color);
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
    color: var(--text-light);
}

[data-theme="dark"] .contact-header-card,
[data-theme="dark"] .contact-method-card {
    background-color: var(--background-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-title,
[data-theme="dark"] .method-card-title {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-subtitle,
[data-theme="dark"] .method-card-detail {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer {
    background-color: var(--background-dark);
}

[data-theme="dark"] .footer-description,
[data-theme="dark"] .footer-links a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-copyright,
[data-theme="dark"] .footer-bottom-links a {
    color: var(--text-light);
}

[data-theme="dark"] .footer-bottom-links a:hover {
    color: var(--text-primary);
}

[data-theme="dark"] .stats-showcase {
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .stats-title {
    color: var(--text-primary);
}

[data-theme="dark"] .stats-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .stat-card {
    background-color: var(--background-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .stat-title {
    color: var(--text-primary);
}

[data-theme="dark"] .stat-description,
[data-theme="dark"] .detail-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .highlight-text {
    color: var(--text-primary);
}

[data-theme="dark"] .source-text {
    color: var(--text-light);
}

[data-theme="dark"] .story-card {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .card-title {
    color: var(--text-primary);
}

[data-theme="dark"] .card-description {
    color: var(--text-secondary);
}

[data-theme="dark"] .sprayngoo {
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 50%, var(--border-color) 100%);
}

/* Story Section Dark Mode */
[data-theme="dark"] .story-section {
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
}

[data-theme="dark"] .story-section .section-title {
    color: var(--text-primary) !important;
    text-shadow: none;
}

[data-theme="dark"] .story-section .section-subtitle {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .feature-item {
    background-color: var(--background-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .feature-item span {
    color: var(--text-primary);
}

[data-theme="dark"] .download-btn {
    background-color: var(--background-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .download-btn:hover {
    background-color: var(--background-primary);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

[data-theme="dark"] .download-btn-text,
[data-theme="dark"] .download-btn-icon {
    color: var(--text-primary);
}

/* Dark mode button improvements */
[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-outline {
    color: var(--text-primary);
    border-color: var(--border-color);
    background: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Theme transition animation */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Preserve existing prefers-color-scheme for system preference */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --background-primary: #0f172a;
        --background-secondary: #1e293b;
        --background-dark: #020617;
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
        --text-light: #94a3b8;
        --border-color: #334155;
        --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .nav-link:focus,
    .social-link:focus,
    .chat-toggle:focus,
    .theme-toggle:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .theme-toggle {
        border: 2px solid currentColor;
    }
    
    [data-theme="dark"] .theme-toggle {
        background: var(--background-primary);
        border-color: var(--text-primary);
    }
} 