/* Core Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f3f4f6;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Platform Name Animation */
.platform-name {
    margin: 3rem 0;
}

.letter-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.letter {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--accent-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.letter::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%
    );
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.letter:hover {
    transform: scale(1.2);
}

.letter:hover::after {
    transform: scaleX(1);
}

/* Metrics Section */
.metrics {
    padding: 6rem 2rem;
    background: linear-gradient(120deg, #fafafa 0%, #f3f4f6 100%);
    position: relative;
}

.metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232563eb' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.metric {
    text-align: center;
}

.metric span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* InsightGen Console */

.platform-demo {
    max-width: 800px;
    margin: 3rem auto;
    background: #1a1b26;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.terminal {
    font-family: 'Fira Code', monospace;
}

.terminal-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-buttons span:nth-child(1) { background: #ff5f56; }
.terminal-buttons span:nth-child(2) { background: #ffbd2e; }
.terminal-buttons span:nth-child(3) { background: #27c93f; }

.terminal-title {
    color: #adadad;
    margin-left: 1rem;
    font-size: 0.9rem;
}

.terminal-content {
    padding: 1.5rem;
    min-height: 300px;
}

#typing-text {
    color: #a9b1d6;
    line-height: 1.6;
    font-size: 14px;
}

.prompt {
    color: #61afef;
}

.command {
    color: #7dcfff;
}

.response {
    color: #9ece6a;
}

/* Value Props */
.value-props {
    padding: 6rem 2rem;
    background: var(--background);
}

.props-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.prop {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.prop::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(37, 99, 235, 0.03) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: transform 0.6s;
}

.prop:hover {
    transform: translateY(-10px);
}

.prop:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.prop i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* How It Works */
/* Add/update in your styles.css */

.how-it-works {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #F0F7FF 0%, #E6E6FF 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Specific heading styles to force center alignment */
.how-it-works h2 {
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0 0 4rem 0;
    padding: 0;
    font-size: 2.5rem;
    color: #1F2937;
    z-index: 2;
    left: 0; /* Reset any left positioning */
    right: 0; /* Reset any right positioning */
}

/* Optional: Keep the underline if you want it */
.how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4F46E5, #6366F1);
    border-radius: 2px;
}


/* Make sure steps-container takes full width */
.steps-container {
    width: 100%;           /* Add this */
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Animated background pattern */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, #4F46E5 48%, #4F46E5 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #4F46E5 48%, #4F46E5 52%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.03;
    animation: patternMove 20s linear infinite;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.step {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4F46E5, #6366F1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.step:hover::before {
    transform: scaleX(1);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.step h3 {
    color: #1F2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.step p {
    color: #6B7280;
    line-height: 1.6;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 2rem;
    }
}

/* Tech Stack 
/* Base styles */
/* Tech Stack Section */
/* Tech Stack Section */
.tech-stack {
    background: #0a0b1e;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Add animated background effect */
.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: pulse 8s infinite;
}

.process-flow-container {
    margin: 4rem 0;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.connector-line {
    position: absolute;
    top: 50%;
    left: 110%;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* Animation keyframes */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Hover effects */
.process-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-flow-container {
        flex-direction: column;
        gap: 4rem;
    }
    
    .connector-line {
        display: none;
    }
}

/* General heading styles */
.tech-stack h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
}

/* For section titles that need left alignment */
.tech-stack .section-title {
    text-align: left;
    padding-left: 1rem;
}

/* Remove any transform or positioning that might affect alignment */
section h2 {
    transform: none !important;
    left: auto !important;
    right: auto !important;
}


/* Solutions Section */
.solutions {
    padding: 6rem 2rem;
    background: linear-gradient(120deg, #f8fafc 0%, #f3f4f6 100%);
    position: relative;
}

.solutions-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

/* Make the entire solution card a clickable link */
.solution-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.solution-category {
    padding: 2rem;
    background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 100%); /* Deep blue gradient */
    border-radius: 1rem;
    border-left: 4px solid #60a5fa; /* Lighter blue border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

/* Hover effects */
.solution-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3); /* Deeper blue shadow */
    background: linear-gradient(145deg, #1e40af 0%, #2563eb 100%); /* Slightly lighter blue gradient on hover */
}

/* "Read More" button style */
.read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-weight: 500;
    color: #93c5fd; /* Light blue text */
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.read-more svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.solution-category:hover .read-more {
    opacity: 1;
    transform: translateX(0);
    color: #bfdbfe; /* Lighter blue on hover */
}

.solution-category:hover .read-more svg {
    transform: translateX(5px);
}

.solution-category h3 {
    color: #f0f9ff; /* Very light blue, almost white */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.solution-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #60a5fa; /* Light blue underline */
    transition: width 0.3s ease;
}

.solution-category:hover h3::after {
    width: 60px;
    background: #93c5fd; /* Lighter blue underline on hover */
}

.solution-category ul {
    list-style: none;
    margin-top: 1rem;
}

.solution-category li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #e0f2fe; /* Very light blue for text */
    transition: color 0.3s ease;
}

.solution-category li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #60a5fa; /* Light blue arrow */
}

.solution-category:hover li {
    color: #f0f9ff; /* Slightly lighter text on hover */
}

/* Add subtle overlay pattern */
.solution-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm10 10h10v10H10V10zM0 10h10v10H0V10z' fill='%2393c5fd' fill-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-category {
        padding: 1.5rem;
    }
}

/* Add glow effect on hover */
.solution-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2),
                0 0 20px rgba(96, 165, 250, 0.1);
}


/* Use Cases Section */
/* Add to your styles.css */
.use-cases {
    background: linear-gradient(180deg, #1a1f2e 0%, #0f172a 100%);
    padding: 6rem 1rem;
    color: white;
}

.use-cases-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.use-cases h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Selectors Styling */
.selectors {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.selector {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selector.active {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.selector-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selector i {
    color: #60A5FA;
}

.selector .arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.selector.active .arrow {
    transform: rotate(90deg);
}

/* Chat Display Styling */
.chat-display {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

.chat-content {
    display: none;
}

.chat-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.question i {
    color: #60A5FA;
}

.summary {
    color: #E2E8F0;
    margin-bottom: 1rem;
}

.points {
    list-style: none;
    margin: 1.5rem 0;
}

.points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #E2E8F0;
}

.points li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: #60A5FA;
    border-radius: 50%;
}

.recommendation {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #60A5FA;
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Benefits Section */
.benefits {
    padding: 6rem 2rem;
    background: var(--background);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%
    );
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 2rem;
}

.benefit-category {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-category:hover {
    transform: translateY(-5px);
}

.benefit-category h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-category li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.benefit-category li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefit-category {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .benefits {
        padding: 4rem 1rem;
    }
    
    .benefit-category h3 {
        font-size: 1.3rem;
    }
}


/* CTA Section */

.cta {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    /* Remove the transform and left properties if they exist */
    transform: none;
    left: auto;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
}

/* Particles Animation */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translate(100px, -100px);
        opacity: 0;
    }
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%
    );
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .letter {
        font-size: 3rem;
    }
    
    .props-container,
    .steps-container,
    .tech-container,
    .cases-container {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .letter {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes gradientBorder {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Careers Section */
.careers {
    padding: 6rem 2rem;
    background: linear-gradient(120deg, #fafafa 0%, #f3f4f6 100%);
}

.careers-container {
    max-width: 1200px;
    margin: 0 auto;
}

.careers-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.position-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.position-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.position-card:hover {
    transform: translateY(-10px);
}

.position-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--light-text);
}

.position-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.apply-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.apply-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 1rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    /* Add hamburger menu */
    .nav-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        display: block;
        margin: 1rem 0;
        text-align: center;
    }
    
    /* Sections padding */
    section {
        padding: 4rem 1rem;
    }
    
    /* Metrics */
    .metric span {
        font-size: 2rem;
    }
    
    /* Cards and grids */
    .position-cards,
    .props-container,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Further reduce padding and margins */
    section {
        padding: 3rem 1rem;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    /* Adjust card padding */
    .position-card,
    .prop,
    .case {
        padding: 1.5rem;
    }
    
    /* Stack buttons vertically */
    .cta-buttons {
        flex-direction: column;
    }
    
    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }
}

/* Touch-friendly elements */
@media (hover: none) {
    .position-card,
    .prop,
    .case {
        transform: none !important;
    }
    
    .primary-button:active,
    .secondary-button:active,
    .submit-button:active {
        transform: scale(0.98);
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on your navbar height */
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: calc(100% - 2rem);
    left: 1rem;
}

/* Add to your existing CSS */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: calc(100% - 2rem);
    left: 1rem;
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        padding: 1rem;
        text-align: center;
    }

    .nav-links a::after {
        bottom: 0.5rem;
    }
}

/* Add/update these styles in your styles.css */

/* Update these styles in your styles.css */

:root {
    --gradient-dark: #0F172A;
    --gradient-purple: #4F46E5;
    --gradient-blue: #06B6D4;
    --gradient-green: #10B981;
    --accent-glow: rgba(99, 102, 241, 0.3);
}

/* Hero Section Enhancement */
.hero {
    background: linear-gradient(135deg, var(--gradient-dark), var(--gradient-purple));
    position: relative;
    overflow: hidden;
}

/* Floating Tech Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    opacity: 0.15;
    filter: blur(1px);
    transition: all 0.3s ease;
    animation: float 15s infinite linear;
}

.float-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.float-item:nth-child(odd) {
    animation-direction: reverse;
    animation-duration: 20s;
}

/* Particle Effects */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Background Enhancement */
.section-background {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff, #f3f4f9);
}

.section-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 50%);
    opacity: 0.5;
    animation: pulse 8s infinite;
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Glowing effect */
.glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    animation: glow 10s infinite;
}

@keyframes glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Update these styles in your CSS */
.value-props {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.value-props h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

.props-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
}

.prop-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.prop-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    visibility: hidden;
}

.prop-slide.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.prop {
    background: rgba(79, 70, 229, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prop i {
    font-size: 3.5rem;
    color: #4F46E5;
    margin-bottom: 1.5rem;
    animation: glowIcon 2s ease-in-out infinite;
}

.prop h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

.prop p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 80%;
    margin: 0 auto;
}

.slide-indicators {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(79, 70, 229, 0.2);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #4F46E5;
    box-shadow: 0 0 10px #4F46E5;
    width: 60px;
}

@keyframes glowIcon {
    0%, 100% {
        text-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 30px rgba(79, 70, 229, 0.8);
        transform: scale(1.1);
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
}

/* Global section heading styles */
section h2,
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    width: 100%;
    position: relative;
    color: #1F2937; /* Default dark color for light backgrounds */
}

/* Headings on dark backgrounds */
.tech-stack h2,
.value-props h2,
.use-cases h2 {
    color: #ffffff;
}

/* Headings on light backgrounds */
.solutions h2,
.benefits h2,
.careers h2,
.contact h2 {
    color: #1F2937; /* Dark text for light backgrounds */
}

/* Specific section color adjustments based on your screenshots */
.solutions {
    background: #ffffff;
}

.benefits {
    background: #ffffff;
}

.careers {
    background: #ffffff;
}

.contact {
    background: #ffffff;
}

/* Keep the gradient underline effect */
section h2::after,
.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #4F46E5 50%, 
        transparent 100%
    );
    border-radius: 2px;
}