:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --logo-gradient: linear-gradient(237deg, #f0f9ff 0%, #0a45c6 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
p{
    background: none;
}
.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Larger Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.3));
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 4px 20px rgba(0, 212, 255, 0.6));
    }
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-svg-container {
        width: 60px;
        height: 60px;
    }

    .logo-svg {
        width: 60px;
        height: 60px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-text span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-svg-container {
        width: 50px;
        height: 50px;
    }

    .logo-svg {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.5));
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap:0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}


.cta-button {
    background: white;
    color: #10b981;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Carousel Section - FULL WIDTH */
.carousel-section {
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.carousel-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

/* CAROUSEL STYLES - FULL WIDTH, NO ROUNDED BORDERS */
.carousel {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    background: white;
}

.carousel-slides {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    width: 50%;
    height: auto;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 700px;
}

.carousel-slide-1 {
    background: linear-gradient(
            0deg, #f0f9ff 0%, #0a45c6 100%);
}

.carousel-slide-2 {
    background: linear-gradient(237deg, #f0f9ff 0%, #0a45c6 100%);
}

.carousel-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
    color: white;
}

.carousel-text h1 span {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.carousel-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.carousel-text h2 span {
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.carousel-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.carousel-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.secondary-button {
    background: white;
    color: #10b981;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* IMAGE CARDS STYLES */
.image-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.image-card {
    background: #f0f9ff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.image-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.image-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.image-card-stats {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.stat-value {
    font-size: 2.0rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.2;
}

.image-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.image-card-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.image-card-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--logo-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: auto;
}

/* How It Works Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 5px solid;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--logo-gradient);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.step-card p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 0;
}
/* Step Card Image Styles */
.step-card {
    position: relative;
    overflow: hidden;
}

.step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
}

.step-number {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--logo-gradient);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-1 { border-left-color: #00d4ff; }
.step-2 { border-left-color: #10b981; }
.step-3 { border-left-color: #2563eb; }
.step-4 { border-left-color: #7c3aed; }

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.carousel-arrow {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    color: var(--dark);
    font-size: 1.2rem;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Color System for Cards */
.card-blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
}
.card-blue::before {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.card-blue .card-icon {
    color: #2563eb !important;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-blue .stat-icon {
    color: #2563eb !important;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-blue h3 { color: #1e40af; }

.card-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0.03) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
}
.card-purple::before {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.card-purple .card-icon {
    color: #7c3aed !important;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-purple .stat-icon {
    color: #7c3aed !important;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-purple h3 { color: #5b21b6; }

.card-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.card-green::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}
.card-green .card-icon {
    color: #10b981 !important;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-green .stat-icon {
    color: #10b981 !important;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-green h3 { color: #047857; }

.card-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
}
.card-orange::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.card-orange .card-icon {
    color: #f59e0b !important;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-orange .stat-icon {
    color: #f59e0b !important;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-orange h3 { color: #d97706; }

.card-cyan {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 212, 255, 0.03) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
}
.card-cyan::before {
    background: linear-gradient(90deg, #00d4ff, #22d3ee);
}
.card-cyan .card-icon {
    color: #00d4ff !important;
    background: linear-gradient(135deg, #00d4ff, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-cyan .stat-icon {
    color: #00d4ff !important;
    background: linear-gradient(135deg, #00d4ff, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-cyan h3 { color: #0891b2; }

.card-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(236, 72, 153, 0.03) 100%);
    border: 1px solid rgba(236, 72, 153, 0.15);
}
.card-pink::before {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}
.card-pink .card-icon {
    color: #ec4899 !important;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-pink .stat-icon {
    color: #ec4899 !important;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-pink h3 { color: #db2777; }

/* Features Section */
.features {
    background: linear-gradient(0deg, #f0f9ff 0%, #fbbf2438 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.card-icon, .stat-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Algorithm Table */
.algorithm {
    background: linear-gradient(0deg, #f0f9ff 0%, #ef444412 100%);
}

.algorithm-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.algorithm-table th {
    background: linear-gradient(
            0deg, #f0f9ff 0%, #0a45c6 100%);
    color: white;
    text-align: left;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.algorithm-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.algorithm-table tr:last-child td {
    border-bottom: none;
}

.algorithm-table tr:hover {
    background-color: #f1f5f9;
}

.metric-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-high {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-medium {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-low {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Performance Section */
.performance {
    background: linear-gradient(0deg, #f0f9ff 0%, #1e293b03 100%);
}

.performance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    display: block;
}

.stat-label {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card p {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0.8rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(
            0deg, #f0f9ff 0%, #0a45c6 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button-light {
    background: white;
    color: #10b981;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.main-footer {
    background-color: #1e293b;
    color: white;
    padding: 5rem 0 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .image-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .carousel-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .carousel-text h1 {
        font-size: 3rem;
        color:white !important;
    }

    .carousel-text h2 {
        font-size: 2.5rem;
    }

    .carousel-slide {
        min-height: 750px;
        padding: 3rem 0;
    }

    .image-cards-container {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .carousel-section {
        padding-top: 8rem;
        padding-bottom: 0;
    }

    .carousel-slide {
        padding: 2rem 0;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .carousel-content {
        padding: 0 1.5rem;
    }

    .carousel-text h1 {
        font-size: 2.5rem;
        color: white;
    }

    .carousel-text h2 {
        font-size: 2rem;
    }

    .carousel-buttons {
        flex-direction: column;
        align-items: center;
    }

    .image-cards-container {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .performance-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .algorithm-table {
        display: block;
        overflow-x: auto;
    }

    .image-card-img {
        height: 200px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .carousel-text h1 {
        font-size: 2rem;
    }

    .carousel-text h2 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 2.8rem;
    }

    .stat-card, .feature-card {
        padding: 2rem 1.5rem;
    }

    .card-icon, .stat-icon {
        font-size: 2.2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.9rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .image-card-content {
        padding: 1.5rem;
    }

    .image-card-title {
        font-size: 1.3rem;
    }

}
/* =========================
AI Signals Preview (viz)
Drop-in styles for your <aside class="viz"> block
========================= */

.viz{
    position: relative;
    border-radius: 22px;
    padding: 18px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow:
            0 18px 45px rgba(16,24,40,.10),
            0 1px 0 rgba(255,255,255,.7) inset;
    overflow: hidden;
}

.viz::before{
    content:"";
    position:absolute; inset:-2px;
    background:
            radial-gradient(600px 260px at 20% 0%,
            rgba(56,189,248,.16),
            transparent 60%),
            radial-gradient(540px 260px at 85% 20%,
            rgba(124,58,237,.14),
            transparent 55%),
            radial-gradient(420px 220px at 45% 100%,
            rgba(16,185,129,.10),
            transparent 60%);
    pointer-events:none;
    z-index:0;
}

.viz-inner{
    position:relative;
    z-index:1;
}

/* Top badges row */
.viz-top{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    justify-content:flex-start;
    margin-bottom: 14px;
}

.viz-top .badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 24px rgba(16,24,40,.06);
    color: rgba(17,24,39,.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.viz-top .badge-value{
    font-weight: 800;
    color: rgba(17,24,39,.95);
}

/* Pulse dot in "Live engine preview" */
.viz-top .pulse{
    width:9px; height:9px;
    border-radius:50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(56,189,248,1));
    box-shadow:
            0 0 0 0 rgba(56,189,248,.55),
            0 6px 16px rgba(56,189,248,.25);
    animation: vizPulse 1.6s ease-out infinite;
}

@keyframes vizPulse{
    0%   { box-shadow: 0 0 0 0 rgba(56,189,248,.55), 0 6px 16px rgba(56,189,248,.25); transform: scale(1); }
    70%  { box-shadow: 0 0 0 10px rgba(56,189,248,0), 0 10px 22px rgba(56,189,248,.18); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(56,189,248,0), 0 6px 16px rgba(56,189,248,.20); transform: scale(1); }
}

/* Table container */
.table-wrap{
    border-radius: 16px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(0,0,0,.08);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16,24,40,.08);
}

.table-wrap table{
    width:100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table-wrap thead th{
    text-align:left;
    padding: 12px 12px;
    font-size: 11.5px;
    letter-spacing: .45px;
    text-transform: uppercase;
    color: rgba(17,24,39,.65);
    background:
            linear-gradient(to bottom,
            rgba(255,255,255,.95),
            rgba(255,255,255,.75));
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.table-wrap tbody td{
    padding: 12px 12px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    color: rgba(17,24,39,.86);
    vertical-align: middle;
}

.table-wrap tbody tr{
    transition: transform .16s ease, background .16s ease;
}

.table-wrap tbody tr:hover{
    background: rgba(56,189,248,.06);
}

.table-wrap tbody tr:last-child td{
    border-bottom: none;
}

/* Column sizing (safe defaults) */
.table-wrap .col-symbol{ width: 90px; }
.table-wrap .col-direction{ width: 120px; }
.table-wrap .col-confidence{ width: 120px; }
.table-wrap .col-auth{ width: 110px; }
.table-wrap .col-stop{ width: 90px; }
.table-wrap .col-horizon{ width: 120px; }

.muted{
    color: rgba(17,24,39,.58);
}

/* Chips */
.chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .25px;
    background: rgba(17,24,39,.05);
    border: 1px solid rgba(17,24,39,.10);
    color: rgba(17,24,39,.90);
    box-shadow: 0 10px 22px rgba(16,24,40,.06);
    white-space: nowrap;
}

.chip.long{
    background: rgba(16,185,129,.12);
    border-color: rgba(16,185,129,.22);
    color: rgba(6,95,70,.98);
}

.chip.short{
    background: rgba(239,68,68,.12);
    border-color: rgba(239,68,68,.22);
    color: rgba(153,27,27,.98);
}

.chip.score{
    background: rgba(56,189,248,.12);
    border-color: rgba(56,189,248,.24);
    color: rgba(7,89,133,.98);
}

/* Feature pills */
.viz-features{
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.pill.pill-feature{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 30px rgba(16,24,40,.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .16s ease, box-shadow .16s ease;
}

.pill.pill-feature:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(16,24,40,.10);
}

.pill-feature-content{
    display:flex;
    align-items:center;
    gap: 10px;
    min-width: 0;
}

.feature-title{
    color: rgba(17,24,39,.95);
}

.pill-arrow{
    font-weight: 800;
    font-size: 12.5px;
    color: rgba(56,189,248,.95);
    white-space: nowrap;
}

/* Dots in pills */
.dot.dot-small{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand2, #38BDF8), var(--brand3, #7C3AED));
    box-shadow: 0 10px 18px rgba(124,58,237,.18);
    flex: 0 0 auto;
}

/* Watermark SVG */
.viz-watermark{
    position:absolute;
    right: -40px;
    bottom: -44px;
    width: 230px;
    height: 230px;
    opacity: .22;
    z-index: 0;
    pointer-events:none;
    filter: blur(.2px);
}

/* Responsive: make table scroll if tight */
@media (max-width: 720px){
    .viz{ padding: 14px; }
    .table-wrap{ overflow-x:auto; }
    .table-wrap table{ min-width: 640px; }
    .viz-watermark{ width: 190px; height: 190px; right: -50px; bottom: -58px; }
}
/* -----

/* ================= DROPDOWN ================= */

/* wrapper */
.nav-dropdown{
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* company link behaves like normal nav link */
.nav-dropbtn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* caret */
.nav-caret{
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform .25s ease, opacity .25s ease;
}

/* dropdown panel */
.nav-menu{
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 200px;

    padding: 8px;
    border-radius: 4px;

    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .25s ease;
    z-index: 999;

}
/* dropdown item inherits your gradient hover */
.nav-menu a{
    display:block;
    padding:10px 14px;
    border-radius:10px;
    color:var(--dark);
    font-weight:500;
    text-decoration:none;
    transition:all .25s ease;
}

/* elegant hover */
.nav-menu a:hover{
    background: rgba(16,185,129,0.08);
    transform: translateX(4px);
}

/* show dropdown */
.nav-dropdown:hover .nav-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.nav-dropdown:hover .nav-caret{
    transform:rotate(180deg);
    opacity:1;
}

/* ================= MOBILE ================= */
@media (max-width: 900px){

    .nav-dropdown{
        display:block;
        width:100%;
    }

    .nav-menu{
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        border:none;
        background:transparent;
        padding-top:6px;
    }

    .nav-menu a{
        padding-left:0;
    }

    .nav-caret{
        display:none;
    }
}


/* -------- ICON LAYOUT (keeps menu elegant) -------- */
.nav-links a,
.nav-dropbtn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

/* Icon bubble (subtle, consistent) */
.nav-icon{
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    color: var(--dark);          /* stays visible */
    opacity: 0.75;
}

.nav-icon svg{
    width: 18px;
    height: 18px;
}

.nav-icon.sm,
.nav-icon.sm svg{
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

/* Keep icons visible even when text becomes transparent on hover */
.nav-links a:hover .nav-icon,
.nav-dropbtn:hover .nav-icon{
    color: var(--dark);
}

/* Your gradient hover applies to TEXT only, not the icon */
.nav-links a:hover{
    background: rgba(10, 69, 198, 0.08);     /* rectangle hover */
    box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}

/* This keeps your gradient text hover while leaving icon alone */
.nav-links a:hover{
    background-image: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;

    text-decoration: underline;
    text-decoration-color: red;   /* <-- red line */
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

/* Cancel gradient for icon bubble (so it never turns transparent) */
.nav-links a:hover .nav-icon{
    -webkit-background-clip: initial;
    background-clip: initial;
}

/* CTA should NOT inherit the icon padding/gradient rules */
.nav-links a.cta-button{
    gap: 0;
    padding: 0.85rem 1.75rem;  /* your existing */
    border-radius: 50px;       /* your existing */
    background: white;
    color: #10b981;
}

/* Dropdown menu items: align nicely with icons */
.nav-menu a {
    display: flex;
}
/* -------- COLORFUL ICONS (no hover break) -------- */
.nav-icon{
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 8px 22px rgba(15,23,42,0.06);
    border-radius: 10px;
    padding: 6px;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    opacity: 1; /* keep vivid */
}

.nav-icon.sm{
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    padding: 5px;
    border-radius: 10px;
}

/* Ensure svg scales properly inside bubble */
.nav-icon svg{
    width: 100%;
    height: 100%;
}

/* Color palette (match SurgePulse tech vibe) */
.ico-product{ color:#0066FF; }
.ico-features{ color:#00C6FF; }
.ico-algorithm{ color:#7C3AED; }     /* violet AI */
.ico-performance{ color:#10B981; }   /* green growth */

.ico-company{ color:#0EA5E9; }       /* sky */
.ico-about{ color:#2563EB; }         /* blue */
.ico-faqs{ color:#F59E0B; }          /* amber */
.ico-contact{ color:#06B6D4; }       /* cyan */

.ico-legal{ color:#111827; }         /* deep slate */
.ico-compliance{ color:#22C55E; }    /* compliance green */
.ico-security{ color:#EF4444; }      /* security red */

.ico-pricing{ color:#14B8A6; }       /* teal */

/* Optional: subtle glow on hover (premium feel) */
.nav-links a:hover .nav-icon{
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(15,23,42,0.10);
    border-color: rgba(15,23,42,0.12);
}

/* Keep icons visible even when text becomes transparent */
.nav-links a:hover .nav-icon{
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}
/* Dropdown should size to its content */
.nav-menu{
    width: max-content;          /* key: size based on longest item */
    min-width: unset !important; /* remove any forced min width */
    max-width: none;
    white-space: nowrap;         /* prevent wrapping inside the menu */
}

/* Prevent wrapping on each item too */
.nav-menu a{
    white-space: nowrap;
    width: max-content;
}

/* If you had a bigger menu variant, keep it content-based too */
.nav-menu.nav-menu-lg{
    width: max-content;
    min-width: unset !important;
}
/* ===== CUSTOM 5-CARD LAYOUT ===== */
.image-cards-container{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:22px;
    width:100%;
    margin-top:24px;
}

/* make cards equal height */
.image-card{
    display:flex;
    flex-direction:column;
    height:100%;
}

/* content fill */
.image-card-content{
    flex:1;
    display:flex;
    flex-direction:column;
}

.image-card-description{
    flex-grow:1;
}

/* ===== MAGIC PART ===== */
/* 5th card expands across remaining width */
.image-cards-container .image-card:nth-child(5){
    grid-column: span 2;
}

/* Hover polish */
.image-card{
    transition:transform .25s ease, box-shadow .25s ease;
}

.image-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,0.12);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
    .image-cards-container{
        grid-template-columns: repeat(2,1fr);
    }

    .image-cards-container .image-card:nth-child(5){
        grid-column: span 2;
    }
}

@media (max-width: 640px){
    .image-cards-container{
        grid-template-columns:1fr;
    }

    .image-cards-container .image-card:nth-child(5){
        grid-column: auto;
    }
}
/* ---------- SUBMENU LEVEL ---------- */

.nav-submenu{
    position:relative;
}

/* parent row */
.nav-submenu-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

/* right arrow */
.submenu-caret{
    margin-left:auto;
    opacity:.5;
}

/* side panel */
.nav-submenu-panel{
    position:absolute;
    top:0;
    left:100%;
    margin-left:6px;

    background:#fff;
    border-radius:14px;
    padding:8px;
    min-width:max-content;

    box-shadow:0 18px 40px rgba(0,0,0,.12);

    opacity:0;
    transform:translateY(6px);
    pointer-events:none;
    transition:.18s ease;
}

/* show level 2 */
.nav-submenu:hover .nav-submenu-panel{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

/* submenu items */
.nav-submenu-panel a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 12px;
    border-radius:10px;
    white-space:nowrap;
}

/* hover */
.nav-submenu-panel a:hover{
    background:rgba(0,102,255,.08);
}

