/* ==============================
    SOFTWARE — Landing Page
   ============================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e1a;
    --bg-card: rgba(15, 20, 40, 0.55);
    --bg-card-border: rgba(100, 140, 220, 0.18);
    --text-primary: #e8eaf0;
    --text-secondary: rgba(200, 210, 230, 0.7);
    --accent-cyan: #06d6d6;
    --accent-purple: #8b5cf6;
    --accent-magenta: #c026d3;
    --accent-blue: #6366f1;
    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-btn: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(6, 182, 212, 0.4) 100%);
    --font-primary: 'Outfit', 'Inter', -apple-system, sans-serif;
    --border-radius: 16px;
    --card-radius: 12px;
    /* Glassmorphism variables */
    --glass-bg: rgba(12, 16, 32, 0.3);
    --glass-border: rgba(100, 140, 220, 0.1);
    --glass-bg-hero: rgba(12, 16, 32, 0.05);
    --glass-bg-left: rgba(12, 16, 32, 0.28);
    --float-code-bg: rgba(0, 0, 0, 0.45);
    --float-code-color: rgba(200, 220, 240, 0.5);
    --float-dash-bg: rgba(10, 14, 30, 0.7);
    --nav-btn-bg: rgba(255, 255, 255, 0.04);
    --nav-btn-border: rgba(100, 140, 220, 0.3);
    --social-bg: rgba(255, 255, 255, 0.03);
    --card-hover-bg: rgba(15, 20, 40, 0.7);
    --dot-bg: rgba(200, 210, 230, 0.25);
    --form-tab-bg: rgba(200, 210, 230, 0.15);
    --logo-filter: brightness(1.8) saturate(1.5);
    --logo-filter-hover: brightness(2.2) saturate(1.8);
    --glow-color-1: rgba(6, 214, 214, 0.06);
    --glow-color-2: rgba(15, 20, 40, 0.55);
}

/* ---- Light Mode ---- */
[data-theme="light"] {
    --bg-primary: #f0f2f8;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-card-border: rgba(100, 120, 180, 0.2);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(30, 30, 60, 0.6);
    --accent-cyan: #0891b2;
    --accent-purple: #7c3aed;
    --glass-bg: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(100, 120, 180, 0.15);
    --glass-bg-hero: rgba(255, 255, 255, 0.1);
    --glass-bg-left: rgba(255, 255, 255, 0.35);
    --float-code-bg: rgba(255, 255, 255, 0.6);
    --float-code-color: rgba(30, 40, 80, 0.6);
    --float-dash-bg: rgba(255, 255, 255, 0.65);
    --nav-btn-bg: rgba(0, 0, 0, 0.04);
    --nav-btn-border: rgba(100, 120, 180, 0.25);
    --social-bg: rgba(0, 0, 0, 0.04);
    --card-hover-bg: linear-gradient(135deg, rgba(220, 230, 255, 0.9) 0%, rgba(240, 225, 255, 0.9) 100%);
    --dot-bg: rgba(30, 40, 80, 0.15);
    --form-tab-bg: rgba(30, 40, 80, 0.1);
    --logo-filter: none;
    --logo-filter-hover: brightness(0.85);
    --glow-color-1: rgba(139, 92, 246, 0.15);
    --glow-color-2: rgba(230, 235, 255, 0.95);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Global Canvas Background ---------- */
#cosmicCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Section Base ---------- */
.section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Old cosmic-bg removed — now using canvas particle animation */

/* ---------- Glassmorphism Card Wrapper (section container) ---------- */
.section::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
    pointer-events: none;
}

/* Hero section: much more transparent to show particles */
.hero-section::before {
    background: var(--glass-bg-hero);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Non-hero sections: right side has only 1px blur for visible particles */
.services-section::before,
.process-section::before,
.contact-section::before {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

/* Extra blur layer on LEFT side only (content area) */
.services-section::after,
.process-section::after,
.contact-section::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 50%;
    background: var(--glass-bg-left);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px 0 0 24px;
    z-index: 1;
    pointer-events: none;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 48px;
}

.logo-icon {
    height: 90px;
    width: auto;
    margin-top: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: var(--logo-filter);
}

.logo-icon:hover {
    transform: scale(1.08);
    filter: var(--logo-filter-hover);
}

.nav-connect-btn {
    padding: 10px 28px;
    border: 1px solid var(--nav-btn-border);
    border-radius: 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: var(--nav-btn-bg);
}

.nav-connect-btn:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(6, 214, 214, 0.15);
    background: rgba(6, 214, 214, 0.08);
}

/* ---------- Nav Right Container ---------- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--nav-btn-border);
    border-radius: 20px;
    background: var(--nav-btn-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.08);
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-label {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 60px 20px;
    flex: 1;
}

.hero-text {
    max-width: 480px;
}

.hero-brand {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #6366f1 0%, #06d6d6 50%, #c026d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.hero-tagline {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline {
    border: 1px solid var(--nav-btn-border);
    color: var(--text-primary);
    background: var(--nav-btn-bg);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 24px rgba(6, 214, 214, 0.15);
    transform: translateY(-2px);
}

.btn-filled {
    border: none;
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-filled:hover {
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.45);
    transform: translateY(-2px);
}

/* Hero visual (right side) */
.hero-visual {
    position: relative;
    width: 420px;
    height: 380px;
    flex-shrink: 0;
}

/* Floating code snippets */
.floating-code {
    position: absolute;
    background: var(--float-code-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--float-code-color);
    font-family: 'Courier New', monospace;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.code-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.code-2 {
    bottom: 20%;
    left: 15%;
    animation-delay: -3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Floating dashboard */
.floating-dashboard {
    position: absolute;
    top: 15%;
    right: 0;
    width: 160px;
    height: 120px;
    background: var(--float-dash-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: float 5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.dash-circles {
    display: flex;
    gap: 12px;
}

.dash-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid;
    border-color: var(--accent-purple);
}

.dash-circle:nth-child(2) {
    border-color: var(--accent-cyan);
}

.dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.dash-bar {
    flex: 1;
    border-radius: 2px;
    background: var(--gradient-main);
    opacity: 0.7;
}

.bar-1 {
    height: 60%;
}

.bar-2 {
    height: 85%;
}

.bar-3 {
    height: 45%;
}

.bar-4 {
    height: 100%;
}

.bar-5 {
    height: 70%;
}

/* Hero bottom */
.hero-bottom {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 24px 0 40px;
}

.hero-bottom h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   SERVICES & PROCESS SECTIONS
   =================================== */
.section-content {
    position: relative;
    z-index: 5;
    padding: 60px 60px 40px;
    flex: 1;
    display: flex;
}

.section-left {
    max-width: 560px;
}

.section-right {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-width: 0;
}

.section-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.section-illustration:hover {
    opacity: 1;
}

.contact-illustration {
    max-width: 320px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 440px;
}

/* ---------- Timeline ---------- */
.timeline-line {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    padding-left: 2px;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(6, 214, 214, 0.5);
    flex-shrink: 0;
}

.timeline-track {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, transparent 100%);
    max-width: 120px;
}

/* ---------- Info Cards ---------- */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--card-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s ease;
    cursor: default;
}

.info-card:hover {
    border-color: rgba(6, 214, 214, 0.3);
    background: var(--card-hover-bg);
    transform: translateX(6px);
    box-shadow: 0 0 30px rgba(6, 214, 214, 0.06);
}

.card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent-cyan);
}

.card-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.card-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Pagination Dots ---------- */
.section-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dot-bg);
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(6, 214, 214, 0.5);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-content {
    align-items: flex-start;
    gap: 60px;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 80px;
}

.contact-image-card {
    width: 280px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(100, 140, 220, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.contact-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--nav-btn-border);
    color: var(--text-secondary);
    background: var(--social-bg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(6, 214, 214, 0.15);
    transform: translateY(-2px);
}

/* ---------- Form Tabs ---------- */
.form-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.form-tab {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--form-tab-bg);
}

.form-tab.active {
    background: var(--accent-cyan);
}

/* ---------- Contact Form ---------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 440px;
}

.form-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--card-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 16px;
    transition: all 0.3s ease;
}

.form-group:focus-within {
    border-color: rgba(6, 214, 214, 0.35);
    box-shadow: 0 0 20px rgba(6, 214, 214, 0.06);
}

.input-icon {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

.input-action {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.5;
}

.form-group input,
.form-group select,
.form-group textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 16px 0;
    width: 100%;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: none;
    min-height: 50px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Submit Button */
.btn-submit {
    align-self: flex-end;
    padding: 14px 40px;
    border: none;
    border-radius: 28px;
    background: var(--gradient-btn);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
    transition: all 0.35s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    box-shadow: 0 6px 32px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    position: relative;
    z-index: 5;
    padding: 20px 60px 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a,
.footer-links span {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* ===================================
   THEME TOGGLE
   =================================== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--nav-btn-border);
    border-radius: 50%;
    background: var(--nav-btn-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(6, 214, 214, 0.15);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: inline;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: inline;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* ===================================
   GEMINI CHAT WIDGET
   =================================== */
.chat-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-btn);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(139, 92, 246, 0.55);
}

.chat-fab.open {
    transform: rotate(45deg) scale(1);
}

.chat-panel {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 380px;
    max-height: 520px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-panel.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: chatPulse 2s infinite;
}

@keyframes chatPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.chat-header-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-header-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 340px;
    min-height: 200px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--dot-bg);
    border-radius: 2px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-msg.bot {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--gradient-btn);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-typing {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.chat-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typingBounce 1.2s infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--bg-card-border);
    border-radius: 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input::placeholder {
    color: var(--text-secondary);
}

.chat-input:focus {
    border-color: var(--accent-cyan);
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.08);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===================================
   ANIMATIONS
   =================================== */

/* Fade-in on scroll */
.info-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.6s ease forwards;
}

.info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.info-card:nth-child(2) {
    animation-delay: 0.25s;
}

.info-card:nth-child(3) {
    animation-delay: 0.4s;
}

.info-card:nth-child(4) {
    animation-delay: 0.55s;
}

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



/* ===================================
   SCROLL-REVEAL (handled in JS)
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        padding: 30px 40px 20px;
        text-align: center;
        align-items: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-brand {
        font-size: 2.8rem;
    }

    .hero-tagline {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .section-content {
        padding: 40px 40px 30px;
    }

    .contact-content {
        flex-direction: column;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .contact-right {
        margin-top: 20px;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 20px 24px;
    }

    .hero-content {
        padding: 20px 24px;
    }

    .hero-brand {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.6rem;
    }

    .section-content {
        padding: 30px 24px 20px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section::before {
        inset: 10px;
        border-radius: 16px;
    }

    .info-card {
        padding: 16px 18px;
        gap: 14px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
    }

    .card-text h3 {
        font-size: 0.95rem;
    }

    .contact-image-card {
        width: 200px;
        height: 160px;
    }

    .footer {
        padding: 16px 24px 20px;
    }

    .btn-submit {
        align-self: center;
        width: 100%;
    }
}