/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #7c3aed;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
}

.logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

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

.nav-links a:not(.btn-primary-small)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-small):hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-small {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-primary.btn-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(102, 126, 234, 0.8);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-primary-small {
    padding: 10px 22px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 14px;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideDown 0.6s ease-out;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Sora', sans-serif;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    font-family: 'Sora', sans-serif;
    color: #fbbf24;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 14px;
    margin-top: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-family: 'Sora', sans-serif;
    background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(102, 126, 234, 0.2);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid var(--primary-color);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--primary-color);
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-family: 'Sora', sans-serif;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

.service-example {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    border-left: 4px solid var(--primary-color);
}

.service-example strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
    position: relative;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.4s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Sora', sans-serif;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-connector {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 -50px;
    margin-bottom: 120px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #764ba2;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: var(--bg-light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.use-case {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.use-case:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.use-case-icon {
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.use-case:hover .use-case-icon {
    transform: scale(1.1);
}

.use-case h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Sora', sans-serif;
}

.use-case p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.use-case-example {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    font-style: italic;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
    line-height: 1.6;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: white;
}

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

.benefit {
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.4s ease;
}

.benefit:hover .benefit-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}

.benefit h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Sora', sans-serif;
}

.benefit p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: 'Sora', sans-serif;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(102, 126, 234, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-message {
    padding: 16px;
    border-radius: 12px;
    display: none;
    margin-top: 16px;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 60px 0 24px;
}

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

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-top: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 48px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps {
        flex-direction: column;
        gap: 60px;
    }

    .step-connector {
        width: 3px;
        height: 60px;
        margin: 0 auto;
        margin-top: -30px;
        margin-bottom: -30px;
    }

    .step-connector::after {
        bottom: -10px;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    /* Navigation fixes for mobile */
    .nav-content {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
        gap: 8px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a:not(.btn-primary-small) {
        display: none;
    }

    /* Make button smaller and prevent wrapping */
    .btn-primary-small {
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
        border-radius: 8px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .services-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Number Counter Animation (will be handled by JS) */
.stat-number[data-target] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-number.counting {
    opacity: 1;
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        color: #e2e8f0;
    }

    /* Update color variables for dark mode */
    :root {
        --bg-white: #1e293b;
        --bg-light: #0f172a;
        --text-dark: #f1f5f9;
        --text-light: #cbd5e1;
        --border-color: #334155;
    }

    /* Navbar */
    .navbar {
        background: rgba(15, 23, 42, 0.95);
        border-bottom-color: #334155;
    }

    /* Cards and sections with white backgrounds */
    .service-card,
    .use-case,
    .contact-form-wrapper,
    .contact-item {
        background: #1e293b;
        border-color: #334155;
    }

    .service-card.featured {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    }

    /* Section backgrounds */
    .services,
    .use-cases,
    .contact {
        background: #0f172a;
    }

    .how-it-works,
    .why-us {
        background: #1e293b;
    }

    /* Text colors */
    .service-card h3,
    .use-case h3,
    .benefit h3,
    .step h3,
    .contact-info h2,
    .section-header h2 {
        color: #f1f5f9;
    }

    .service-description,
    .use-case p,
    .benefit p,
    .step p,
    .contact-info p,
    .section-header p,
    .contact-item p {
        color: #cbd5e1;
    }

    /* Gradient text in section headers */
    .section-header h2 {
        background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: #0f172a;
        border-color: #334155;
        color: #f1f5f9;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #64748b;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: #1e293b;
        border-color: var(--primary-color);
    }

    /* Examples and special boxes */
    .service-example,
    .use-case-example {
        background: rgba(102, 126, 234, 0.15);
        color: #e2e8f0;
    }

    .service-example strong,
    .use-case-example strong {
        color: #a5b4fc !important;
    }

    /* Adjust shadows for dark mode */
    .service-card,
    .use-case,
    .contact-form-wrapper {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    }

    .service-card:hover,
    .use-case:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    }

    /* Keep hero vibrant */
    .hero {
        /* Hero gradient stays the same - it's already colorful */
    }

    /* Footer is already dark, so minimal changes needed */
    .footer {
        background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    }

    /* Additional explicit text color fixes for Samsung Internet */
    .service-features li,
    .service-card p,
    .use-case p,
    .benefit p,
    .step p {
        color: #cbd5e1 !important;
    }

    .form-group label {
        color: #f1f5f9 !important;
    }

    .contact-item strong {
        color: #f1f5f9 !important;
    }

    .contact-item div,
    .contact-item div p {
        color: #cbd5e1 !important;
    }

    /* Ensure all headings are light */
    h1, h2, h3, h4, h5, h6 {
        color: #f1f5f9 !important;
    }

    /* Ensure all paragraphs in dark sections are light */
    p, span, div, li, label, strong {
        color: #cbd5e1;
    }

    /* Override gradient text to solid color for better compatibility */
    .section-header h2 {
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
        color: #f1f5f9 !important;
    }

    /* Form select options */
    .form-group select option {
        background: #1e293b;
        color: #f1f5f9;
    }

    /* Navigation text */
    .nav-links a {
        color: #f1f5f9 !important;
    }

    .logo,
    .logo-text {
        color: #f1f5f9 !important;
    }

    /* Service features checkmarks */
    .service-features li:before {
        color: #10b981 !important;
    }
}

/* ========================================
   MOBILE RESPONSIVENESS IMPROVEMENTS
   ======================================== */
@media (max-width: 768px) {
    /* Fix contact section overflow */
    .container {
        padding: 0 16px;
    }

    .contact-wrapper {
        padding: 0;
    }

    .contact-info {
        padding: 0;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-details {
        gap: 16px;
    }

    .contact-item {
        padding: 16px;
        flex-direction: column;
        gap: 8px;
    }

    /* Reduce hero padding on mobile */
    .hero {
        padding: 80px 0 60px;
    }

    .hero-content {
        padding: 0 16px;
    }

    /* Service cards mobile optimization */
    .service-card,
    .use-case {
        padding: 24px;
        margin: 0;
        width: 100%;
    }

    /* Section padding adjustments */
    .services,
    .use-cases,
    .how-it-works,
    .why-us,
    .contact {
        padding: 60px 0;
    }

    /* Form groups */
    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* Ensure no horizontal overflow */
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    /* Fix stat numbers on mobile */
    .stat-number {
        font-size: 42px;
    }

    /* Benefits grid on mobile */
    .benefits-grid {
        gap: 32px;
    }
}

/* Extra small devices (S8+, iPhone SE, etc.) */
@media (max-width: 480px) {
    /* Navigation - more compact */
    .container {
        padding: 0 12px;
    }

    .nav-content {
        padding: 10px 0;
    }

    .logo {
        font-size: 18px;
        gap: 6px;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .btn-primary-small {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 6px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 20px 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Very small devices (< 360px) */
@media (max-width: 360px) {
    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 22px;
        height: 22px;
    }

    .btn-primary-small {
        padding: 6px 10px;
        font-size: 11px;
    }
}
