:root {
    /* Brand Colors */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #eff6ff;
    --accent: #f59e0b;

    /* Neutral Colors */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --bg-white: #ffffff;

    /* Gradients */
    --grad-hero: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --grad-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-card: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.01);

    /* Spacing */
    --container-width: 1200px;
    --nav-height: 80px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

h1,
h2,
h3,
h4 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-light);
}

/* Navigation */
.navbar {
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: var(--grad-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card-mockup {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.hero-card-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
    display: none;
    /* Hidden on mobile, shown via media query */
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--bg-body);
    /* To hide line behind */
    padding: 0 10px;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px var(--primary-light);
}

/* Use Cases */
.use-cases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.use-case-tag {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CTA */
.cta-banner {
    background: var(--primary);
    border-radius: 24px;
    padding: 80px 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: white;
    padding: 60px 0 30px;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
}

.footer-links {
    text-align: center;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 12px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (min-width: 768px) {
    .steps-container::before {
        display: block;
    }
}

@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-card-mockup {
        max-width: 400px;
        margin: 0 auto;
        transform: none;
    }

    .nav-actions .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 90px !important;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {

    /* Navigation */
    .navbar {
        height: 70px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 80px !important;
    }

    .logo img {
        height: 36px !important;
    }

    /* Hero Section */
    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-btns .btn {
        width: 100%;
        padding: 14px 24px;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Feature Cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .icon-box {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    /* Steps */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps-container::before {
        display: none;
    }

    .step-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        background: none;
        gap: 20px;
    }

    .step-circle {
        margin: 0;
        flex-shrink: 0;
        box-shadow: none;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 40px 20px;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .cta-banner p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    /* Footer */
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-links a {
        margin: 0;
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 64px;
    }

    .container {
        padding: 0 12px;
    }

    .nav-actions {
        gap: 6px;
        flex-direction: row;
    }

    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 70px !important;
        text-align: center;
    }

    .logo img {
        height: 32px !important;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .cta-banner p {
        font-size: 0.95rem;
    }
}

/* Reviews Carousel */
.reviews-section {
    background: #f8fafc;
    padding: 100px 0;
}

.reviews-section .container {
    padding: 0 100px;
    position: relative;
}

@media (max-width: 900px) {
    .reviews-section .container {
        padding: 0 80px;
    }
}

@media (max-width: 600px) {
    .reviews-section .container {
        padding: 0 70px;
    }
}

.reviews-carousel-container {
    position: relative;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 20px;
    transition: transform 0.5s ease-in-out;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-color: #2563eb;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.carousel-nav.prev {
    left: -80px;
}

.carousel-nav.next {
    right: -80px;
}

.carousel-nav svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    width: 32px;
    border-radius: 6px;
}

/* Responsive grid */
@media (max-width: 1200px) {
    .reviews-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .reviews-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reviews-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }

    .carousel-nav {
        width: 44px;
        height: 44px;
    }

    .carousel-nav svg {
        width: 22px;
        height: 22px;
    }

    .carousel-nav.prev {
        left: -60px;
    }

    .carousel-nav.next {
        right: -60px;
    }
}

.review-card {
    min-width: 350px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 3px solid;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Mobile optimization for 2-column layout */
@media (max-width: 600px) {
    .review-card {
        min-width: unset;
        padding: 16px;
        border-radius: 12px;
    }

    .review-avatar {
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
    }

    .review-user-name {
        font-size: 15px !important;
    }

    .review-designation {
        font-size: 11px !important;
    }

    .review-stars {
        font-size: 14px !important;
    }

    .review-highlight {
        font-size: 14px !important;
    }

    .review-text {
        font-size: 13px !important;
    }

    .review-card::before,
    .review-card::after {
        width: 28px !important;
        height: 28px !important;
        font-size: 32px !important;
    }
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Different colored borders */
.review-card:nth-child(4n+1) {
    border-color: #f97316;
}

.review-card:nth-child(4n+2) {
    border-color: #ec4899;
}

.review-card:nth-child(4n+3) {
    border-color: #8b5cf6;
}

.review-card:nth-child(4n+4) {
    border-color: #3b82f6;
}

/* Quote marks */
.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 48px;
    font-weight: bold;
    color: inherit;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 3px solid;
    border-color: inherit;
}

.review-card::after {
    content: '"';
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 48px;
    font-weight: bold;
    color: inherit;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 3px solid;
    border-color: inherit;
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    border: 3px solid;
    background: white;
}

.review-card:nth-child(4n+1) .review-avatar {
    border-color: #f97316;
    color: #f97316;
}

.review-card:nth-child(4n+2) .review-avatar {
    border-color: #ec4899;
    color: #ec4899;
}

.review-card:nth-child(4n+3) .review-avatar {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.review-card:nth-child(4n+4) .review-avatar {
    border-color: #3b82f6;
    color: #3b82f6;
}

.review-info {
    flex: 1;
}

.review-user-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.review-designation {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.review-stars {
    display: flex;
    gap: 2px;
    font-size: 16px;
    color: #fbbf24;
}

.review-highlight {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.review-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 80px 0;
    color: white;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 500;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

/* Modern filled stars for ratings */
.filled-stars {
    display: inline-flex;
    gap: 4px;
    font-size: 20px;
}

.filled-stars .star {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filled-stars .star.empty {
    color: #cbd5e1;
}

/* Mobile Responsive for Reviews and Statistics */
@media (max-width: 900px) {
    .review-card {
        min-width: 300px;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .reviews-section {
        padding: 60px 0;
    }

    .review-card {
        min-width: 280px;
        padding: 20px;
    }

    .review-highlight {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .statistics-section {
        padding: 60px 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: calc(100vw - 48px);
    }

    .statistics-grid {
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
    }
}


@media (max-width: 600px) {
    .reviews-section {
        padding: 60px 0;
    }

    .review-card {
        min-width: 280px;
        padding: 20px;
    }

    .review-highlight {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .statistics-section {
        padding: 60px 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: calc(100vw - 48px);
    }
}