:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6c757d;
    --dark: #0f172a;
    --light: #f8f9fa;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-color: #ffffff;
    --bg-alt: #f1f5f9;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.btn-secondary {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(13, 110, 253, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--bg-alt);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(13, 110, 253, 0.3);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.2);
    bottom: 100px;
    left: -50px;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(236, 72, 153, 0.2);
    top: 40%;
    left: 40%;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    color: #94a3b8;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeLeft 1s ease 0.2s forwards;
    opacity: 0;
}

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

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.hero-stats-card {
    position: absolute;
    top: 20px;
    left: -40px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.85);
}

.float-anim-1 {
    animation: float 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: float 5s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-info h3 {
    margin: 0;
    font-size: 1.25rem;
}

.stat-info p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Services */
.services {
    background: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-alt);
    padding: 40px 30px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: white;
    border-color: rgba(13, 110, 253, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.2);
}

.service-card h3 {
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* Testimonials */
.dark-section {
    background-color: var(--dark);
    color: white;
}

.dark-section .section-title {
    color: white;
}

.testimonial-swiper {
    padding: 20px 20px 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: white;
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Swiper overrides */
.swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
}
.swiper-pagination-bullet-active {
    background: var(--primary);
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--bg-color);
}

.cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    padding: 60px;
    text-align: center;
    color: white;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13,110,253,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.cta-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.cta-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.cta-form input:focus {
    outline: 2px solid var(--primary);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-image-wrapper {
        margin-top: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .header-actions .btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .cta-form {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .grid-2-cols {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .form-row {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-row {
    display: flex;
    gap: 20px;
}

/* === NEW MICRO-ANIMATIONS === */

/* Floating effect for Tech Stack Cards */
.tech-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2), 0 10px 10px -5px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.tech-card i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Pulse Glow for 'How it Works' Circles */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Applying pulse glow to the circles */
.section-padding .container .fade-up > div[style*="border-radius: 50%"] {
    animation: pulseGlow 2.5s infinite;
}

/* Delaying the pulse for staggered effect */
.section-padding .container .fade-up:nth-child(2) > div[style*="border-radius: 50%"] {
    animation-delay: 0.8s;
}
.section-padding .container .fade-up:nth-child(3) > div[style*="border-radius: 50%"] {
    animation-delay: 1.6s;
}

/* Continuous Subtle Float for CTA Box */
@keyframes subtleFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.cta-box {
    animation: subtleFloat 6s ease-in-out infinite;
}

/* Shimmer Effect on CTA Buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.cta-box .btn {
    position: relative;
    overflow: hidden;
}

.cta-box .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    animation: shimmer 3s infinite linear;
    pointer-events: none;
    transform: skewX(-20deg);
}

/* Hover effect on Comparison Cards */
.glass-card[style*="border-top: 4px solid"] {
    transition: all 0.4s ease;
}
.glass-card[style*="border-top: 4px solid"]:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
