:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --bg-color: #ffffff;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --navbar-bg: #ffffff;
    --light-bg: #f8f9fa;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e9ecef;
    --text-muted: #adb5bd;
    --border-color: #404040;
    --card-bg: #2d2d2d;
    --navbar-bg: #212529;
    --light-bg: #2d2d2d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
    background-color: var(--navbar-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .navbar {
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
}

[data-theme="dark"] .navbar-light .navbar-brand {
    color: var(--text-color);
}

#darkModeToggle {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 70px;
}

#darkModeToggle:hover {
    transform: scale(1.05);
}

.dark-mode-text {
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.mobile-cta-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    white-space: nowrap;
    margin-right: 0.5rem;
}

@media (min-width: 992px) {
    .mobile-cta-btn {
        display: none !important;
    }
}

.logo-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #a855f7, #6366f1, #ec4899, #3b82f6);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

.logo-bg img {
    display: block;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.gradient-text {
    background: linear-gradient(to right, #a855f7, #6366f1, #ec4899, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient-fill {
    background: linear-gradient(to right, #a855f7, #6366f1, #ec4899, #3b82f6);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    border: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    color: white;
}

.btn-outline-gradient {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-gradient:hover {
    background: linear-gradient(to right, #a855f7, #6366f1, #ec4899, #3b82f6);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.hero-section {
    background: linear-gradient(to bottom left, #a855f7 0%, #6366f1 30%, #ec4899 65%, #3b82f6 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-custom {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: rotate(45deg) scale(0.8);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-simple-vertical {
    display: flex;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.step-simple-vertical:last-child {
    border-bottom: none;
}

.step-simple-vertical:hover {
    transform: translateX(10px);
}

.step-simple {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.step-simple:hover {
    transform: translateY(-5px);
}

.step-number-large {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-right: 2rem;
    flex-shrink: 0;
    min-width: 100px;
}

.step-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* Keep old styles for backwards compatibility but hide them */
.step-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

[data-theme="dark"] .step-card {
    background: var(--card-bg);
    color: whitesmoke;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-right: 1rem;
}

.pricing-card {
    border: 1px solid #e9ecef;
    border-radius: 0;
    text-align: center;
    background: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.pricing-card-header {
    background-color: #007bff;
    color: white;
    padding: 1.5rem;
    border-radius: 0;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

.pricing-card .card-body {
    padding: 2rem 1.5rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 300;
    margin: 0;
}

.pricing-card .price small {
    font-size: 1.25rem;
    color: #6c757d;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.cta-section {
    background: linear-gradient(to bottom left, #a855f7 0%, #6366f1 30%, #ec4899 65%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

footer {
    background: #f8f9fa;
    color: #212529;
    padding: 2rem 0;
    text-align: center;
}

[data-theme="dark"] footer {
    background: #1a1a1a;
    color: white;
}

footer a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 1rem;
}

[data-theme="dark"] footer a {
    color: #adb5bd;
}

footer a:hover {
    color: #212529;
}

[data-theme="dark"] footer a:hover {
    color: white;
}

.section-padding {
    padding: 80px 0;
}

.integration-badge {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 2px solid white;
    transition: transform 0.2s ease;
}

.integration-badge:hover {
    transform: translateY(-5px);
}

.comparison-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comparison-table th {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.comparison-table .bg-gradient-header {
    background: linear-gradient(to right, #a855f7, #6366f1, #ec4899, #3b82f6);
}

.comparison-table td {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.hero-section .badge {
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card.border-primary {
    position: relative;
}

.pricing-card.border-primary::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0.5rem;
    z-index: -1;
}

/* Dark Mode Styles */
[data-theme="dark"] .bg-light {
    background-color: var(--light-bg) !important;
}

[data-theme="dark"] .bg-white {
    background-color: var(--bg-color) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .pricing-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .comparison-table {
    background: var(--card-bg);
}

[data-theme="dark"] .table {
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .table-bordered td,
[data-theme="dark"] .table-bordered th {
    border-color: var(--border-color);
}

[data-theme="dark"] .modal-content {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .accordion-item {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

[data-theme="dark"] .integration-badge {
    background-color: var(--card-bg);
}

[data-theme="dark"] .integration-badge .small {
    color: var(--text-color);
}

/* Star shimmer animation */
@keyframes shimmer {
    0% {
        filter: brightness(1) drop-shadow(0 0 0px transparent);
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 8px rgba(255, 223, 0, 0.8));
    }
    100% {
        filter: brightness(1) drop-shadow(0 0 0px transparent);
    }
}

.testimonial-stars {
    display: inline-flex;
    gap: 0.25rem;
}

.testimonial-stars .star {
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

.testimonial-stars .star:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-stars .star:nth-child(2) {
    animation-delay: 0.6s;
}

.testimonial-stars .star:nth-child(3) {
    animation-delay: 1.2s;
}

.testimonial-stars .star:nth-child(4) {
    animation-delay: 1.8s;
}

.testimonial-stars .star:nth-child(5) {
    animation-delay: 2.4s;
}

/* Animated gradient button */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-gradient-fill {
    background: linear-gradient(270deg, #a855f7, #6366f1, #ec4899, #3b82f6, #a855f7);
    background-size: 400% 400%;
    animation: gradient-shift 6s ease infinite;
    color: white;
    border: none;
}

.btn-gradient-fill:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-message {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.cookie-message a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
