/* 
========================================================================
   RIYAZ NADAF TECHNICAL SOLUTIONS - PREMIUM AI-FIRST STYLESHEET
   Aesthetics: Cyber-tech, SaaS UI, Glassmorphism, Neon Accents, Smooth Transitions
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme-independent Tokens */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Neon Glow Effects */
    --glow-cyan: 0 0 20px hsla(174, 100%, 41%, 0.35);
    --glow-purple: 0 0 20px hsla(263, 90%, 51%, 0.35);
    --glow-green: 0 0 20px hsla(142, 70%, 45%, 0.35);

    /* --- DARK MODE VARIABLES (DEFAULT) --- */
    --bg-main: hsl(222, 47%, 11%);
    --bg-grid: hsla(222, 47%, 15%, 0.5);
    --bg-card: hsla(222, 47%, 16%, 0.65);
    --bg-card-hover: hsla(222, 47%, 20%, 0.8);
    --border-color: hsla(222, 47%, 26%, 0.45);
    --border-hover: hsla(174, 100%, 41%, 0.4);
    
    --text-primary: hsl(210, 40%, 98%);
    --text-secondary: hsl(215, 20%, 82%);
    --text-muted: hsl(215, 12%, 62%);
    
    --accent-teal: hsl(174, 100%, 41%);
    --accent-purple: hsl(263, 90%, 55%);
    --accent-teal-soft: hsla(174, 100%, 41%, 0.1);
    --accent-purple-soft: hsla(263, 90%, 55%, 0.1);
    
    --dashboard-header: hsla(222, 47%, 16%, 0.85);
    --dashboard-sidebar: hsla(222, 47%, 13%, 0.9);
    --glass-shimmer: linear-gradient(135deg, hsla(0, 0%, 100%, 0.05) 0%, hsla(0, 0%, 100%, 0.01) 100%);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.5);
}

/* --- LIGHT MODE VARIABLES --- */
[data-theme="light"] {
    --bg-main: hsl(210, 40%, 98%);
    --bg-grid: hsla(210, 40%, 92%, 0.45);
    --bg-card: hsla(0, 0%, 100%, 0.85);
    --bg-card-hover: hsla(0, 0%, 100%, 0.98);
    --border-color: hsla(210, 40%, 88%, 0.6);
    --border-hover: hsla(174, 100%, 33%, 0.6);
    
    --text-primary: hsl(224, 71%, 8%);
    --text-secondary: hsl(224, 25%, 26%);
    --text-muted: hsl(224, 15%, 45%);
    
    --accent-teal: hsl(174, 100%, 33%);
    --accent-purple: hsl(263, 90%, 45%);
    --accent-teal-soft: hsla(174, 100%, 33%, 0.08);
    --accent-purple-soft: hsla(263, 90%, 45%, 0.08);
    
    --dashboard-header: hsla(210, 40%, 95%, 0.9);
    --dashboard-sidebar: hsla(210, 40%, 97%, 0.9);
    --glass-shimmer: linear-gradient(135deg, hsla(0, 0%, 100%, 0.7) 0%, hsla(0, 0%, 100%, 0.3) 100%);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* --- GLOBAL RESET & STYLES --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Base grid pattern background */
.bg-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
    z-index: -2;
    pointer-events: none;
}

.bg-radial-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(174, 100%, 41%, 0.12) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: slow-orbit 30s infinite alternate ease-in-out;
}

.bg-radial-glow-2 {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(263, 90%, 51%, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: slow-orbit-reverse 35s infinite alternate ease-in-out;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- REUSABLE COMPONENTS & UTILITIES --- */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    transition: border var(--transition-normal), background var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal) 0%, hsl(174, 100%, 28%) 100%);
    color: hsl(224, 71%, 4%);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px hsla(174, 100%, 41%, 0.6);
}

.btn-secondary {
    background: var(--accent-purple-soft);
    color: var(--text-primary);
    border: 1px solid var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.btn-secondary:hover {
    background: var(--accent-purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 30px hsla(263, 90%, 51%, 0.6);
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    box-shadow: var(--glow-cyan);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.section-title span {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3.5rem;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: padding var(--transition-normal), background var(--transition-normal), border var(--transition-normal);
}

header.scrolled {
    padding: 0.8rem 0;
    background: hsla(224, 71%, 4%, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] header.scrolled {
    background: hsla(210, 40%, 96%, 0.85);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 84px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 6px 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul a:hover {
    color: var(--accent-teal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

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

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


/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 7rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 20px hsla(174, 100%, 41%, 0.15));
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-family: var(--font-body);
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.hero-metric-item h4 {
    font-size: 2rem;
    color: var(--accent-teal);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.hero-metric-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-dashboard-mockup {
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

/* Floating interactive badges in Hero */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    z-index: 10;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
}

.floating-badge.whatsapp-badge {
    top: 10%;
    left: -5%;
    border-color: hsl(142, 70%, 45%);
    color: hsl(142, 70%, 45%);
    animation-delay: 0s;
}

.floating-badge.rcs-badge {
    bottom: 15%;
    right: -5%;
    border-color: hsl(210, 100%, 50%);
    color: hsl(210, 100%, 50%);
    animation-delay: 3s;
}

/* --- TRUST BAR --- */
.trust-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: hsla(224, 71%, 3%, 0.4);
    overflow: hidden;
    position: relative;
}

[data-theme="light"] .trust-bar {
    background: hsla(210, 40%, 93%, 0.3);
}

.trust-title {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 4.5rem;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.marquee-item svg {
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.marquee-item:hover svg {
    opacity: 1;
}

/* --- CORE SOLUTIONS --- */
.solutions {
    padding: 8rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Extra dynamic spacing/sizing for core visual excellence */
.solutions-grid .glass-card {
    padding: 2.75rem;
    display: flex;
    flex-direction: column;
}

.solution-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background: var(--accent-teal-soft);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    box-shadow: var(--glow-cyan);
}

.solution-icon-wrapper.purple {
    background: var(--accent-purple-soft);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.solutions-grid h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.solutions-grid p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.solutions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.solutions-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solutions-list li svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

.solutions-list li.purple svg {
    color: var(--accent-purple);
}

/* --- WORKFLOW VISUALIZATION --- */
.workflow {
    padding: 8rem 0;
    background: hsla(224, 71%, 3%, 0.3);
}

[data-theme="light"] .workflow {
    background: hsla(210, 40%, 93%, 0.2);
}

.workflow-container {
    width: 100%;
    margin-top: 4rem;
}

.workflow-svg-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.workflow-svg {
    width: 100%;
    height: auto;
    display: block;
}

.flow-connector-line {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.flow-particle {
    fill: var(--accent-teal);
    filter: drop-shadow(var(--glow-cyan));
    animation: flow-pulse 2s infinite ease-in-out;
}

.flow-particle-purple {
    fill: var(--accent-purple);
    filter: drop-shadow(var(--glow-purple));
    animation: flow-pulse 2s infinite ease-in-out;
}

.workflow-node {
    cursor: pointer;
}

.workflow-node circle {
    fill: var(--bg-main);
    stroke: var(--border-color);
    stroke-width: 2.5;
    transition: stroke var(--transition-fast), r var(--transition-fast);
}

.workflow-node:hover circle {
    stroke: var(--accent-teal);
    r: 32px;
}

.workflow-node.purple:hover circle {
    stroke: var(--accent-purple);
}

.workflow-node text {
    fill: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.workflow-node-desc {
    fill: var(--text-muted);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
}

/* --- INDUSTRY SOLUTIONS --- */
.industries {
    padding: 8rem 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industry-card {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    height: 240px;
    justify-content: space-between;
}

.industry-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.industry-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: var(--accent-purple-soft);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-purple);
}

.industry-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* --- SAAS DASHBOARD & AI LIVE PREVIEW --- */
.dashboard-sec {
    padding: 8rem 0;
    background: hsla(224, 71%, 3%, 0.3);
}

[data-theme="light"] .dashboard-sec {
    background: hsla(210, 40%, 93%, 0.2);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: stretch;
}

.dashboard-desc-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-mockup-panel {
    border: 1px solid var(--border-color);
    background: var(--dashboard-sidebar);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 520px;
}

.dashboard-bar {
    background: var(--dashboard-header);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-dots {
    display: flex;
    gap: 0.35rem;
}

.dashboard-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: hsl(354, 70%, 54%);
}

.dashboard-dot:nth-child(2) { background-color: hsl(45, 100%, 51%); }
.dashboard-dot:nth-child(3) { background-color: hsl(142, 70%, 45%); }

.dashboard-title-bar {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.dashboard-title-bar span {
    font-size: 0.75rem;
    background: var(--accent-teal-soft);
    color: var(--accent-teal);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--accent-teal);
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    flex-grow: 1;
    overflow: hidden;
}

/* Chatbot live simulator styling */
.chatbot-simulator {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card);
}

.chat-history {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-bubble {
    padding: 0.85rem 1.15rem;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.bot .chat-bubble {
    background: var(--dashboard-header);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}

.chat-message.user .chat-bubble {
    background: var(--accent-teal);
    color: hsl(224, 71%, 4%);
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chat-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-meta svg {
    width: 12px;
    height: 12px;
}

.chat-message.user .chat-meta {
    justify-content: flex-end;
}

.chat-options {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--dashboard-sidebar);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.chat-option-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.chat-option-btn:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: var(--accent-teal-soft);
}

.chat-option-btn.chat-reset-btn {
    background: hsla(354, 70%, 54%, 0.08);
    border: 1px solid hsla(354, 70%, 54%, 0.3);
    color: hsl(354, 70%, 65%);
}

.chat-option-btn.chat-reset-btn:hover {
    background: hsla(354, 70%, 54%, 0.15);
    border-color: hsl(354, 70%, 54%);
    color: #fff;
    box-shadow: 0 0 15px hsla(354, 70%, 54%, 0.25);
}

.chat-typing-dots {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-weight: 500;
}

.chat-typing-dots::after {
    content: '';
    display: inline-block;
    width: 12px;
    animation: typing-dots 1.5s infinite steps(4);
    text-align: left;
}

@keyframes typing-dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

.chat-input-bar {
    border-top: 1px solid var(--border-color);
    background: var(--dashboard-header);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-input-sim {
    flex-grow: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.chat-send-sim {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(224, 71%, 4%);
}

/* Dashboard metrics in administrative block */
.admin-metrics-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.admin-metric-card {
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.admin-metric-card h5 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.admin-metric-card .num {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-purple);
}

.admin-metric-card .num.teal {
    color: var(--accent-teal);
}

/* --- WHY CHOOSE US --- */
.why-choose {
    padding: 8rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    padding: 3rem 2.5rem;
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-teal-soft);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--glow-cyan);
}

.why-icon.purple {
    background: var(--accent-purple-soft);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.why-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- PROCESS TIMELINE --- */
.process-timeline {
    padding: 8rem 0;
    background: hsla(224, 71%, 3%, 0.3);
}

[data-theme="light"] .process-timeline {
    background: hsla(210, 40%, 93%, 0.2);
}

.timeline-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    padding: 0 1rem;
}

.timeline-row::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 14%;
    text-align: center;
}

.timeline-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.timeline-step:hover .timeline-dot {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    box-shadow: var(--glow-cyan);
    transform: scale(1.15);
}

.timeline-step.active .timeline-dot {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.timeline-step h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.timeline-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- CASE STUDIES --- */
.case-studies {
    padding: 8rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, hsl(224, 71%, 6%) 0%, hsl(224, 71%, 14%) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.case-image svg {
    color: var(--accent-teal);
    filter: drop-shadow(var(--glow-cyan));
    opacity: 0.6;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.case-card:hover .case-image svg {
    opacity: 1;
    transform: scale(1.1);
}

.case-tag-abs {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bg-main);
    color: var(--accent-teal);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.case-card.purple .case-tag-abs {
    color: var(--accent-purple);
}

.case-body {
    padding: 2.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-body h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.case-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.case-stat-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.case-stat-num {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-teal);
}

.case-card.purple .case-stat-num {
    color: var(--accent-purple);
}

.case-stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* --- GOOGLE RCS SMART FORM WIZARD --- */
.smart-form-sec {
    padding: 8rem 0;
    background: hsla(224, 71%, 3%, 0.3);
}

[data-theme="light"] .smart-form-sec {
    background: hsla(210, 40%, 93%, 0.2);
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.form-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-benefits li svg {
    color: var(--accent-teal);
}

/* Wizard multi-step container */
.wizard-box {
    padding: 3rem;
}

.wizard-steps-header {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
}

.wizard-steps-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}

.wizard-step-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    transition: all var(--transition-fast);
}

.wizard-step-node.active {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    box-shadow: var(--glow-cyan);
}

.wizard-step-node.completed {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: hsl(224, 71%, 4%);
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: fade-in 0.4s ease-out;
}

.wizard-panel h4 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.form-option-card {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-option-card.selected {
    border-color: var(--accent-teal);
    background: var(--accent-teal-soft);
}

.form-option-card h5 {
    font-size: 1rem;
    font-weight: 600;
}

.form-option-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border var(--transition-fast);
    margin-bottom: 1.25rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-teal);
}

label {
    display: block;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Calculator specific styles */
.calc-summary {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-price {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-teal);
}

.drag-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition-fast);
    margin-bottom: 1.5rem;
}

.drag-drop-zone:hover, .drag-drop-zone.dragover {
    border-color: var(--accent-teal);
    background: var(--accent-teal-soft);
}

.drag-drop-zone svg {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}

/* --- ADVANCED TECH STACK FLOATING BAR --- */
.tech-stack-sec {
    padding: 8rem 0;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-premium);
    transition: all var(--transition-normal);
}

.tech-badge:hover {
    border-color: var(--accent-teal);
    transform: scale(1.08) translateY(-5px);
    box-shadow: var(--glow-cyan);
}

.tech-badge.purple:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

/* --- FOOTER SECTION --- */
footer {
    border-top: 1px solid var(--border-color);
    background: hsl(224, 71%, 2%);
    padding: 5rem 0 3rem;
}

[data-theme="light"] footer {
    background: hsl(210, 40%, 90%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-col ul a:hover {
    color: var(--accent-teal);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social-btn:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    transform: translateY(-3px);
}

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

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* --- PREMIUM POLICY MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    padding: 3.5rem;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-content h4 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.modal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- ANIMATIONS KEYFRAMES --- */
@keyframes slow-orbit {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.15); }
}

@keyframes slow-orbit-reverse {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-5%, -5%) scale(0.9); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes flow-pulse {
    0% { r: 5; opacity: 0.6; }
    50% { r: 8; opacity: 1; }
    100% { r: 5; opacity: 0.6; }
}

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

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-metrics {
        justify-items: center;
    }
    .floating-badge.whatsapp-badge {
        left: 5%;
    }
    .floating-badge.rcs-badge {
        right: 5%;
    }
    .solutions-grid, .why-grid, .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .dashboard-layout, .form-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .timeline-row {
        flex-direction: column;
        gap: 3rem;
    }
    .timeline-row::before {
        display: none;
    }
    .timeline-step {
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }
    .timeline-dot {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    nav, .nav-actions .btn {
        display: none;
    }
    .solutions-grid, .why-grid, .cases-grid, .industries-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .wizard-box {
        padding: 1.5rem;
    }
    .form-group-grid {
        grid-template-columns: 1fr;
    }
    .modal-container {
        padding: 2rem;
    }
}

/* --- PREMIUM WHATSAPP FLOAT & CUSTOM SOCIALS --- */
.whatsapp-float-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(142, 70%, 45%), hsl(142, 70%, 35%));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px hsla(142, 70%, 45%, 0.4), var(--glow-green);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: whatsappPulse 3s infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 40px hsla(142, 70%, 45%, 0.65), var(--glow-green);
}

.whatsapp-float-btn:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
    transition: transform var(--transition-normal);
}

.whatsapp-float-btn:hover .whatsapp-icon {
    transform: rotate(10deg) scale(1.05);
}

.whatsapp-float-tooltip {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    transform: translateX(15px);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-float-container:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.footer-social-btn.whatsapp:hover {
    color: #25D366 !important;
    background: rgba(37, 211, 102, 0.1) !important;
    border-color: #25D366 !important;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.25) !important;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 8px 30px hsla(142, 70%, 45%, 0.4), var(--glow-green);
    }
    50% {
        box-shadow: 0 8px 40px hsla(142, 70%, 45%, 0.75), 0 0 30px hsla(142, 70%, 45%, 0.5);
    }
}

/* --- DSC CONFIGURATOR WIZARD STYLES --- */
.dsc-config-group {
    margin-bottom: 1.5rem;
}

.dsc-config-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dsc-selector-row {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: var(--border-radius-sm);
    max-width: fit-content;
    transition: all var(--transition-normal);
}

.dsc-option-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: calc(var(--border-radius-sm) - 4px);
    cursor: pointer;
    background: transparent;
    transition: all var(--transition-fast);
}

.dsc-option-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.dsc-option-btn.active {
    color: #fff !important;
    background: linear-gradient(135deg, #FF7A45, #E25621) !important;
    box-shadow: 0 4px 15px rgba(255, 122, 69, 0.35);
}

.dsc-checkbox-group {
    margin-top: 1.5rem;
}

.dsc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dsc-checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.dsc-checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #FF7A45, #E25621);
    border-color: #FF7A45;
}

.dsc-checkbox-label input[type="checkbox"]:checked::before {
    content: "\2713";
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
}
