/* ==========================================================================
   TIFTY AI - STYLE SYSTEM (DARK LUXURY TECH)
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap');

/* Variables & Custom Properties */
:root {
    --bg-dark: #030303;
    --bg-card: rgba(15, 15, 20, 0.45);
    --bg-card-hover: rgba(22, 22, 30, 0.65);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Brand Gradients */
    --primary-glow: linear-gradient(135deg, #c5a059 0%, #fcf6ba 50%, #aa771c 100%);
    --secondary-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
    --accent-glow: linear-gradient(90deg, #c5a059 0%, #fcf6ba 50%, #aa771c 100%);
    --text-gradient: linear-gradient(180deg, #ffffff 0%, #fcf6ba 100%);
    
    /* Colors */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --cyan: #c5a059;
    --purple: #aa771c;
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transition presets */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Custom Selection */
::selection {
    background: rgba(0, 242, 254, 0.3);
    color: #fff;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1f1f2e;
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: #2f2f45;
}

/* Custom Cursor styling */
.custom-cursor-dot,
.custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width var(--transition-fast), height var(--transition-fast), background-color var(--transition-fast);
}

.custom-cursor-ring {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid rgba(0, 242, 254, 0.4);
    transition: transform 0.08s ease-out, width var(--transition-fast), height var(--transition-fast), border-color var(--transition-fast);
}

/* When hover links */
.custom-cursor-hover .custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: #fff;
}
.custom-cursor-hover .custom-cursor-ring {
    width: 60px;
    height: 60px;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
}

/* Utility Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.text-glow {
    text-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
}

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

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

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

/* Radial Glow Background Blobs */
.bg-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}
.orb-cyan {
    background: var(--cyan);
    top: 10%;
    left: -10%;
}
.orb-purple {
    background: var(--purple);
    top: 50%;
    right: -10%;
}
.orb-accent {
    background: var(--cyan);
    bottom: 5%;
    left: 20%;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 35px;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    top: 12px;
    width: 95%;
    background: rgba(5, 5, 8, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.08);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width var(--transition-fast);
    box-shadow: 0 0 8px var(--cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 24px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid rgba(0, 242, 254, 0.5);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.nav-btn:hover {
    background: var(--primary-glow);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 180px 20px 100px 20px;
    text-align: center;
    z-index: 2;
}

/* Background Video container with parallax */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    will-change: transform, opacity;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Much more visible hero video */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 3, 3, 0.2) 0%, rgba(3, 3, 3, 0.65) 60%, rgba(3, 3, 3, 1) 100%);
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    max-width: 1000px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 50px rgba(197, 160, 89, 0.25);
}

.hero-description {
    font-size: clamp(1rem, 1.25vw, 1.35rem);
    color: #f1f5f9;
    max-width: 750px;
    margin: 0 auto 45px auto;
    font-weight: 400;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.95);
}

/* CTAs styling */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    position: relative;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #000;
    background: #fff;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-glow);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.25); /* Gold-tinted crystal border */
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.08);
    border-color: var(--cyan);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.25);
}

.hero-cta-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding: 110px 0;
    width: 100%;
}

.hero-pulse-beams {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 858px;
    height: 434px;
    pointer-events: none;
    z-index: 0;
}

.hero-pulse-beams svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .hero-pulse-beams {
        display: none !important;
    }
    .hero-cta-wrapper {
        padding: 20px 0;
    }
}

/* --------------------------------------------------------------------------
   METRICS SECTION
   -------------------------------------------------------------------------- */
.metrics {
    width: 100%;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

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

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: border-color var(--transition-normal), transform var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 242, 254, 0.06), transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    background: var(--primary-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
.services {
    width: 100%;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
    display: flex;
    flex-direction: column;
    min-height: 420px;
    z-index: 1;
}

/* Glowing border track mouse effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 242, 254, 0.5), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-card-hover);
}

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

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
    transition: all var(--transition-normal);
    z-index: 1;
}

.service-icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: url(#cyan-purple-grad);
    stroke-width: 1.5;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    background: rgba(0, 242, 254, 0.05);
}

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

.service-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
    font-weight: 700;
    z-index: 1;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-weight: 300;
    z-index: 1;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

.service-features svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2.5;
}

/* --------------------------------------------------------------------------
   BENEFITS SECTION
   -------------------------------------------------------------------------- */
.benefits {
    width: 100%;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.benefits-left {
    position: relative;
}

.benefits-card-float {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(15px);
    margin-bottom: 30px;
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}

.benefits-card-float::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, rgba(127, 0, 255, 0.05) 100%);
    z-index: -1;
}

.benefits-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.benefit-item {
    display: flex;
    gap: 25px;
}

.benefit-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    position: relative;
    top: 5px;
}

.benefit-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   INTERACTIVE DEMO PLAYGROUND
   -------------------------------------------------------------------------- */
.demo-section {
    width: 100%;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 50px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.demo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.demo-desc {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 1.05rem;
    font-weight: 300;
}

.demo-actions {
    display: flex;
    gap: 15px;
}

.chat-simulator {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.chat-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.25);
    overflow: hidden;
}

.bot-avatar img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.bot-status-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.bot-status-desc {
    font-size: 0.75rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bot-status-desc::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--cyan);
}

.chat-body {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fade-in-msg 0.3s ease-out;
}

@keyframes fade-in-msg {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-bot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #fff;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.message-user {
    background: var(--cyan);
    color: #000;
    align-self: flex-end;
    border-top-right-radius: 4px;
    font-weight: 500;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    from { opacity: 0.3; transform: translateY(0); }
    to { opacity: 1; transform: translateY(-4px); }
}

.chat-footer {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    padding: 4px;
    transition: border-color var(--transition-fast);
}

.chat-input-wrapper:focus-within {
    border-color: rgba(0, 242, 254, 0.5);
}

.chat-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 10px 18px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-send-btn:hover {
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    transform: scale(1.05);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #000;
    stroke-width: 2.5;
    margin-left: 2px;
}

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
    width: 100%;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 50px;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.05);
}

.form-btn {
    width: 100%;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #000;
    background: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-btn:hover {
    background: var(--cyan);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.35);
    transform: translateY(-2px);
}

/* Select Dropdown (challenge field) */
.form-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 44px 16px 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    cursor: pointer;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--cyan);
    background-color: rgba(255, 255, 255, 0.05);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c5a059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group select option {
    background: #0f0f14;
    color: #fff;
    padding: 12px;
}

/* Inline Field Errors */
.form-field-error {
    font-size: 0.78rem;
    color: #f87171;
    min-height: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    display: block;
    margin-top: 0;
}

.form-field-error.visible {
    max-height: 30px;
    opacity: 1;
    margin-top: 6px;
}

.form-group.error input,
.form-group.error select {
    border-color: #f87171 !important;
    background: rgba(248, 113, 113, 0.04);
}

/* Form-Level Error Banner */
.form-error {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: #fca5a5;
    font-size: 0.88rem;
    font-family: var(--font-body);
    animation: fade-in-msg 0.35s ease-out forwards;
}

.form-error.visible {
    display: flex;
}

.form-error svg {
    flex-shrink: 0;
    color: #f87171;
}

/* Submit Button Content Layout */
.form-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Loading Spinner */
.form-spinner {
    width: 20px;
    height: 20px;
    display: none;
    animation: spin 0.8s linear infinite;
}

.form-btn.loading .form-spinner {
    display: block;
}

.form-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.form-btn:disabled:hover {
    background: #fff;
    transform: none;
    box-shadow: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success Message Alert */
.form-success {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 40px;
    animation: fade-in-msg 0.4s ease-out forwards;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    border: 2px solid var(--cyan);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.success-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2.5;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
    width: 100%;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 20px;
    max-width: 320px;
    font-weight: 300;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .navbar {
        width: 95%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid,
    .demo-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .benefits-left {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 50px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Custom Cursor hides on Touch */
    .custom-cursor-dot,
    .custom-cursor-ring {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(3, 3, 3, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right var(--transition-normal);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    .nav-btn {
        display: none;
    }
    
    .nav-links .nav-btn-mobile {
        display: block;
        padding: 14px 32px;
        font-size: 1.1rem;
        background: var(--primary-glow);
        color: #000;
        border: none;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 700;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-container {
        padding: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

.floating-cta:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.35);
}

.floating-cta-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    display: inline-block;
}

.floating-cta svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 2.5;
    transition: transform var(--transition-fast);
}

.floating-cta:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 22px;
        font-size: 0.8rem;
    }
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 3px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    color: #fff;
    background: var(--primary-glow);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

@media (max-width: 768px) {
    .navbar .lang-selector {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }
}

/* Hero Brand Logo Styling */
.hero-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.45));
    animation: hero-logo-float 6s ease-in-out infinite;
}

@keyframes hero-logo-float {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.45));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 0 30px rgba(197, 160, 89, 0.65));
    }
    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.45));
    }
}
