/* ============================================================================ */
/* RESET AND BASE STYLES */
/* ============================================================================ */

/* Universal box-sizing reset for consistent layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styles with Inter font stack */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #E6FBFF;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Main content container with max-width and centered layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================================ */
/* HEADER STYLES */
/* ============================================================================ */

/* Fixed header with glassmorphism effect */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Modern glassmorphism effect */
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000; /* Ensure header stays above other content */
    transition: all 0.3s ease;
}

/* Navigation content layout */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo styling with hover effects */
.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Subtle hover scale effect */
}

/* Alternative text logo with gradient */
.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation menu layout */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Navigation link styling */
.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8b5cf6; /* Brand color on hover */
}

/* Mobile menu button (hidden by default) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8b5cf6;
    cursor: pointer;
}

/* ============================================================================ */
/* BUTTON SYSTEM */
/* ============================================================================ */

/* Base button styles - foundation for all button variants */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transitions for interactions */
    font-size: 1rem;
}

/* Contact button variant - compact header button */
.btn-contact {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    padding: 0.625rem 1.25rem;
}

.btn-contact:hover {
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Large button variant - for call-to-action buttons */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-width: 250px;
}

/* Primary button - main brand gradient */
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Secondary button - same gradient as contact me and AI diagnosis, no color change on hover */
.btn-secondary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    /* No color change - maintains same gradient and white text */
}

/* White button variant - now with gradient like contact me and AI diagnosis */
.btn-white {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Outline button - now with gradient like contact me and AI diagnosis */
.btn-outline {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
    border: 2px solid transparent;
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* ============================================================================ */
/* UTILITY CLASSES */
/* ============================================================================ */

/* Full width utility */
.w-full {
    width: 100%;
}

/* Margin right utility for icon spacing */
.mr-2 {
    margin-right: 0.5rem;
}

/* ============================================================================ */
/* HERO SECTION */
/* ============================================================================ */

/* Main hero section with brand background */
.hero {
    background: #E6F2FF;
    color: #000000;
    padding: 120px 0 80px 0; /* Top padding accounts for fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero overlay for additional visual depth */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 242, 255, 0.9);
    z-index: 1;
}

/* Hero content container with z-index layering */
.hero-content {
    position: relative;
    z-index: 2; /* Ensure content appears above overlay */
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #000000;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2.2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-description {
    font-size: 0.96rem;
    line-height: 1.0;
    color: #9ca3af;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    min-width: 350px;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    width: 350px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    opacity: 0.8;
    font-weight: bold;
}

.trust-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.trust-dot.green { background: #10b981; }
.trust-dot.blue { background: #8b5cf6; }
.trust-dot.cyan { background: #6366f1; }

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Special hover animation for AI-powered analysis (cyan icon) - contact me style */
.feature-card:has(.feature-icon.cyan):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.feature-card:has(.feature-icon.cyan):hover .feature-icon.cyan {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Fallback for browsers that don't support :has() */
.feature-card.ai-analysis:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.feature-card.ai-analysis:hover .feature-icon.cyan {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    color: white;
}

.feature-icon.blue {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.feature-icon.cyan {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.feature-icon.green {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Global Team Section */
.global-team-section {
    padding: 80px 0;
    background: #f8fafc;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

/* Globe Container */
.globe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

#output {
  background: transparent;
  color: rgb(139, 92, 246);
  font-family: "Inconsolata", monospace;
  line-height: .55em;
  text-rendering: optimizeSpeed;
  will-change: contents;
  white-space: pre;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Size will be set dynamically by JavaScript to match ASCII globe exactly */
  transition: all 0.3s ease;
}

canvas {
    display: none;
}

/* Hide old globe elements */
.rotating-globe {
    display: none;
}

.globe-sphere {
    display: none;
}

@keyframes earthRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes continentShift {
    0% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
    100% { transform: translateX(0); }
}


.continent {
    position: absolute;
    background: rgb(32, 220, 128);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 
        0 0 15px rgba(32, 220, 128, 0.6),
        inset 0 0 10px rgba(32, 220, 128, 0.3);
    animation: continentShift 20s linear infinite;
    filter: brightness(1.2);
}

.continent.north-america {
    width: 55px;
    height: 50px;
    top: 15%;
    left: 10%;
    border-radius: 60% 40% 70% 30%;
    background: rgb(32, 220, 128);
    animation-delay: 0s;
}

.continent.south-america {
    width: 35px;
    height: 60px;
    top: 50%;
    left: 25%;
    border-radius: 70% 30% 80% 20%;
    background: rgb(32, 220, 128);
    animation-delay: -3s;
}

.continent.europe {
    width: 40px;
    height: 28px;
    top: 12%;
    left: 52%;
    border-radius: 40% 60% 50% 50%;
    background: rgb(32, 220, 128);
    animation-delay: -8s;
}

.continent.africa {
    width: 45px;
    height: 65px;
    top: 25%;
    left: 55%;
    border-radius: 50% 50% 70% 30%;
    background: rgb(32, 220, 128);
    animation-delay: -10s;
}

.continent.asia {
    width: 80px;
    height: 55px;
    top: 8%;
    left: 70%;
    border-radius: 30% 70% 40% 60%;
    background: rgb(32, 220, 128);
    animation-delay: -15s;
}

.continent.australia {
    width: 32px;
    height: 26px;
    top: 75%;
    left: 78%;
    border-radius: 60% 40% 50% 50%;
    background: rgb(32, 220, 128);
    animation-delay: -18s;
}

/* Globe enhancements */
.globe-sphere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(32, 220, 128, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 75% 75%, rgba(32, 220, 128, 0.1) 0%, transparent 50%);
    animation: atmosphereShift 25s linear infinite;
    z-index: 2;
}

.globe-sphere::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border-radius: 50%;
    background: radial-gradient(
        circle, 
        transparent 60%, 
        rgba(32, 220, 128, 0.2) 70%, 
        rgba(32, 220, 128, 0.4) 80%,
        transparent 100%
    );
    animation: glowPulse 4s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes atmosphereShift {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glowPulse {
    0% { 
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
        filter: blur(2px);
    }
    100% { 
        opacity: 0.8;
        transform: scale(1.1) rotate(360deg);
        filter: blur(0px);
    }
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.location-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.location-card.singapore { border-left-color: #ef4444; }
.location-card.china { border-left-color: #f59e0b; }
.location-card.pakistan { border-left-color: #10b981; }
.location-card.ukraine { border-left-color: #8b5cf6; }

.location-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.country-flag {
    font-size: 3rem;
}

.location-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.timezone {
    font-size: 1rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

.team-size {
    margin-left: auto;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.team-members {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 1rem;
    padding-left: 10px;
}

.member-profile {
    margin: 0.5rem 0;
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f3f4f6;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-avatar:hover {
    transform: scale(1.1);
    border-color: #8b5cf6;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-role {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    margin: 0.25rem 0;
}

/* Avatar colors */
.member-avatar.sg1 { background: linear-gradient(135deg, #ef4444 0%, #f87171 100%); }
.member-avatar.sg2 { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.member-avatar.sg3 { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); }
.member-avatar.cn1 { background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%); }
.member-avatar.cn2 { background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); }
.member-avatar.cn3 { background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); }
.member-avatar.cn4 { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.member-avatar.pk1 { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.member-avatar.pk2 { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); }
.member-avatar.pk3 { background: linear-gradient(135deg, #7c2d12 0%, #dc2626 100%); }
.member-avatar.ua1 { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); }
.member-avatar.ua2 { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }

/* Services Detail Section */
.services-detail {
    padding: 80px 0;
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card h3 i {
    color: #8b5cf6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: start;
    margin-bottom: 0.75rem;
    color: #6b7280;
    line-height: 1.6;
}

.service-card li i {
    color: #10b981;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    background: #E6F2FF;
    color: #000000;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 600px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}


.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 96vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-content.success {
    text-align: center;
}

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

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
}

.modal-close:hover {
    color: #1f2937;
}

.modal-body {
    padding: 2rem;
    background: #E6FBFF;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.form-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.form-divider span {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Analysis Result */
.analysis-result {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.analysis-result h3 {
    color: #6366f1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #8b5cf6;
}

.analysis-item h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.analysis-item p {
    color: #6b7280;
    margin: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    background: #8b5cf6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Team Section Styles */
.team-intro-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.team-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.team-specialties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-commitment {
    display: flex;
    justify-content: center;
}

.highlight-card {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px solid #8b5cf6;
    text-align: center;
    max-width: 800px;
}

.commitment-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #8b5cf6;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #8b5cf6;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section p:not(.footer-description) {
    font-size: 1.2rem;
    color: #9ca3af;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Coming Soon Modal Enhancements */
.coming-soon-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.coming-soon-body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.ai-brain-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ai-brain-icon i {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52, #ff8a00, #ffb74d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brainPulse 2s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.5));
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-feature-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ai-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.coming-soon-highlight {
    background: linear-gradient(135deg, #00ff87, #60efff);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(0, 255, 135, 0.3);
    animation: highlightGlow 2s infinite alternate;
}

@keyframes highlightGlow {
    0% { 
        box-shadow: 0 8px 32px rgba(0, 255, 135, 0.3);
        transform: translateY(0);
    }
    100% { 
        box-shadow: 0 12px 40px rgba(0, 255, 135, 0.5);
        transform: translateY(-2px);
    }
}

.rocket-emoji {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    animation: rocketFloat 1.5s infinite ease-in-out;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.coming-soon-text {
    font-weight: 800;
    font-size: 1.3rem;
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    margin-right: 0.5rem;
}

.stay-tuned {
    font-weight: 600;
    color: #2d2d2d;
    font-size: 1.1rem;
}

.feature-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    animation: badgeFloat 3s infinite ease-in-out;
}

.ai-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation-delay: 0s;
}

.analysis-badge {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation-delay: 0.5s;
}

.smart-badge {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    animation-delay: 1s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-3px) scale(1.05); }
    66% { transform: translateY(2px) scale(0.98); }
}

.ai-modal-btn {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.ai-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
}

.ai-modal-btn i {
    margin-right: 0.5rem;
}

/* Modern Contact Form Styles */
.modern-contact-modal {
    max-width: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modern-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.header-text {
    flex: 1;
}

.header-text h2 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.header-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.modern-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modern-form-body {
    background: white;
    padding: 2.5rem;
    flex: 1;
    overflow-y: auto;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.input-group {
    flex: 1;
    position: relative;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.modern-label i {
    color: #667eea;
    width: 16px;
}

.modern-input, .modern-textarea, .modern-select {
    width: 100%;
    padding: 1rem 0 1rem 0;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.modern-input:focus, .modern-textarea:focus, .modern-select:focus {
    border-bottom-color: #667eea;
}

.modern-input:focus + .input-underline,
.modern-textarea:focus + .input-underline {
    transform: scaleX(1);
}

.input-underline {
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.modern-input::placeholder, .modern-textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.modern-select {
    appearance: none;
    background: transparent;
    cursor: pointer;
    padding-right: 2rem;
}

.select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    pointer-events: none;
    margin-top: 1rem;
}

.modern-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-actions {
    margin-top: 2rem !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    padding: 2rem 1rem !important;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 0 16px 16px !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 10 !important;
}

.modern-submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border: none !important;
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-width: 200px !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
    margin: 1rem auto !important;
    z-index: 10 !important;
    font-family: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.modern-submit-btn:active {
    transform: translateY(0);
}

.btn-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    border-radius: 50px;
    transition: transform 0.6s ease;
}

.modern-submit-btn:active .btn-ripple {
    transform: scale(1);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.modern-submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.form-note {
    margin-top: 1rem;
    color: #718096;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: #48bb78;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .btn-large {
        min-width: auto;
        width: 100%;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    /* Modern Contact Form Mobile Styles */
    .modern-contact-modal {
        width: 95%;
        max-width: none;
        margin: 1rem auto;
    }
    
    .modern-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .modern-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .modern-form-body {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modern-submit-btn {
        width: 100% !important;
        min-width: auto !important;
        display: flex !important;
        margin: 1rem auto !important;
    }
    
    .feature-badges {
        flex-direction: column;
        align-items: center;
    }
    
    /* Team section mobile adjustments */
    .team-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .globe-container {
        order: -1; /* Put globe at top on mobile */
        margin-bottom: 2rem;
    }
    
    /* ASCII Globe mobile adjustments - size handled dynamically by JS */
    #output {
        /* Size and font will be set dynamically to match globe */
    }
}

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

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}