/* ===== CSS VARIABLES & RESET ===== */
:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --sky-900: #0c4a6e;

    /* High Contrast Additions */
    --accent-vibrant: #38bdf8;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-deep: #030712;
    --bg-card: #0f172a;

    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --gradient-sky: linear-gradient(135deg, var(--sky-400) 0%, var(--sky-600) 100%);
    --gradient-light: linear-gradient(135deg, var(--sky-100) 0%, var(--sky-200) 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, var(--sky-300) 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.2);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--white);
    line-height: 1.6;
    background: linear-gradient(135deg, #021B79 0%, #0575E6 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--gray-900);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-accent {
    color: var(--sky-500);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-sky);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--gradient-sky);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(14, 165, 233, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--sky-600);
    border: 2px solid var(--sky-200);
}

.btn-secondary:hover {
    background: var(--sky-50);
    border-color: var(--sky-400);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: transparent;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(186, 230, 253, 0.6) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sky-600);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: var(--shadow-md), 0 0 0 0 rgba(14, 165, 233, 0.4);
    }

    50% {
        box-shadow: var(--shadow-md), 0 0 0 10px rgba(14, 165, 233, 0);
    }
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--sky-100);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--sky-100);
    font-weight: 500;
    opacity: 0.9;
}

/* Phone Card Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-card {
    position: relative;
    width: 280px;
    padding: 1rem;
    background: linear-gradient(145deg, var(--gray-800), var(--gray-900));
    border-radius: 2rem;
    box-shadow: var(--shadow-2xl);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg) rotateX(5deg);
    }

    50% {
        transform: translateY(-15px) rotateY(5deg) rotateX(-5deg);
    }
}

.phone-screen {
    background: linear-gradient(180deg, var(--sky-400) 0%, var(--sky-600) 100%);
    border-radius: 1.5rem;
    padding: 1.5rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.phone-icons {
    display: flex;
    gap: 0.5rem;
}

.phone-caller {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.caller-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: avatarPulse 2s infinite;
}

@keyframes avatarPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.caller-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.caller-number {
    font-size: 0.875rem;
    color: var(--white);
    opacity: 0.95;
}

.phone-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-base);
}

.action-btn.decline {
    background: #ef4444;
    color: var(--white);
}

.action-btn.accept {
    background: #22c55e;
    color: var(--white);
    animation: acceptPulse 1.5s infinite;
}

@keyframes acceptPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.phone-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient-sky);
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 3rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--sky-100);
    color: var(--sky-700);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--sky-100);
    font-size: 1.125rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 0;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--sky-200);
}

.service-card.featured {
    background: var(--gradient-light);
    border: 2px solid var(--sky-300);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-sky);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--sky-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card>p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.375rem 0;
    color: var(--gray-600);
    font-size: 0.925rem;
}

/* ===== SECTION HEADERS ===== */
.section-header h2 .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products .section-header h2 .gradient-text,
.upload-section .section-header h2 .gradient-text {
    background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products {
    padding: 6rem 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    padding: 2rem;
    background: var(--gradient-light);
}

.product-placeholder {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
}

.product-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--sky-600);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--gray-500);
    font-size: 0.925rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sky-600);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: transparent;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-info>p {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--sky-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-feature strong {
    display: block;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-feature p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.925rem;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.925rem;
}

.form-group input {
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--gray-50);
}

.form-group input:focus {
    outline: none;
    border-color: var(--sky-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

.file-input {
    padding: 0.75rem;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    cursor: pointer;
}

.file-input:hover {
    border-color: var(--sky-400);
    background: var(--sky-50);
}

.file-input::file-selector-button {
    margin-right: 1rem;
    border: none;
    background: var(--sky-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--sky-700);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.file-input::file-selector-button:hover {
    background: var(--sky-200);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.form-success h3 {
    color: var(--sky-600);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-500);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--sky-400);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.875rem;
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-sky);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: var(--transition-base);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-icon,
.chat-close {
    font-size: 1.5rem;
    position: absolute;
    transition: var(--transition-base);
}

.chat-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.chat-widget.open .chat-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.chat-widget.open .chat-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 2rem);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-base);
}

.chat-widget.open .chat-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--gradient-sky);
    color: var(--white);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chat-header-info strong {
    display: block;
    font-weight: 600;
}

.chat-status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.chat-minimize {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--white);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chat-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    height: 350px;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--gray-50);
}

.chat-message {
    display: flex;
    max-width: 85%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-content {
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-lg);
    font-size: 0.925rem;
    line-height: 1.5;
}

.chat-message.bot .message-content {
    background: var(--white);
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: var(--gradient-sky);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-input-container {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.925rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.chat-input:focus {
    outline: none;
    border-color: var(--sky-400);
}

.chat-send {
    width: 44px;
    height: 44px;
    background: var(--gradient-sky);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition-base);
}

.chat-send:hover {
    transform: scale(1.05);
}

.chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== LOADING STATES ===== */
.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--gray-900);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--gray-900);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .hero-image {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn {
        width: 100%;
    }

    .form-group input,
    .form-group textarea,
    .file-input {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-features {
        align-items: center;
        text-align: left;
    }

    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
    }

    .chat-box {
        width: calc(100vw - 2rem);
        right: 0;
        bottom: 60px;
        border-radius: var(--radius-lg);
    }

    .chat-messages {
        height: 350px;
        max-height: 50vh;
    }

    .message-content {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* Adjust text colors for electric marine background */
.products,
.upload-section,
.service-card,
.product-card,
.contact-form-wrapper,
.file-input {
    color: var(--gray-800);
}

.products h2,
.products h4,
.upload-section h2,
.service-card h3,
.product-card h4,
.contact-form-wrapper h2,
.contact-form-wrapper h3,
.header h1,
.header h2,
.header a {
    color: var(--gray-900);
}

.products .section-header p,
.upload-section .section-header p {
    color: var(--gray-500);
}

.header .nav-links a {
    color: var(--gray-600);
}

.header .nav-links a:hover {
    color: var(--sky-600);
}

.service-card>p,
.product-info p {
    color: var(--gray-500);
}