/*
 * XOBO - Premium SaaS Website Stylesheet
 * Product Name: Xobo
 * Company Name: Flickkit Infocorp Private Limited
 * Theme: Light Blue & Glassmorphism Enterprise Aesthetic
 */

/* ==========================================================================
   1. Design System Variables & Imports
   ========================================================================== */
@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');

:root {
    /* Color Palette */
    --primary: #38BDF8;
    --primary-rgb: 56, 189, 248;
    --secondary: #0EA5E9;
    --secondary-rgb: 14, 165, 233;
    --accent-cyan: #06B6D4;
    --accent-cyan-rgb: 6, 182, 212;
    --dark-navy: #0F172A;
    --dark-navy-rgb: 15, 23, 42;
    --slate-gray: #475569;
    --slate-light: #F8FAFC;
    --blue-light: #F0F9FF;
    --blue-medium: #E0F2FE;
    --white: #FFFFFF;
    
    /* Theme System Colors - Light Mode (Default) */
    --bg-body: #FFFFFF;
    --text-color: #0F172A;
    --text-muted: #475569;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-glass: 1px solid rgba(15, 23, 42, 0.18); /* Thin black border line */
    --border-glass-hover: 1px solid rgba(15, 23, 42, 0.35);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.85);
    --modal-bg: rgba(255, 255, 255, 0.95);
    --input-bg: rgba(255, 255, 255, 0.8);
    --input-border: rgba(15, 23, 42, 0.15);
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --grad-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary) 100%);
    --grad-bg: var(--bg-body);
    --grad-glass: var(--card-bg);
    --grad-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadow & Glassmorphism */
    --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(14, 165, 233, 0.1), 0 8px 16px -6px rgba(14, 165, 233, 0.05);
    --shadow-lg: 0 20px 50px -12px rgba(14, 165, 233, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(14, 165, 233, 0.08);
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

html[data-theme="dark"] {
    /* Theme System Colors - Dark Mode */
    --bg-body: #090D16;
    --text-color: #F8FAFC;
    --text-muted: #94A3B8;
    --card-bg: rgba(21, 30, 46, 0.8);
    --border-glass: 1px solid rgba(255, 255, 255, 0.15);
    --border-glass-hover: 1px solid rgba(56, 189, 248, 0.4);
    --nav-bg: rgba(9, 13, 22, 0.8);
    --nav-bg-scrolled: rgba(9, 13, 22, 0.85);
    --modal-bg: rgba(15, 23, 42, 0.95);
    --input-bg: rgba(15, 23, 42, 0.6);
    --input-border: rgba(255, 255, 255, 0.15);
    
    /* Variables Overrides in dark mode */
    --slate-light: #151E2E;
    --blue-light: #0E1626;
    --blue-medium: #0A0F1D;
    --white: #1E293B;
    --slate-gray: #94A3B8;
    --dark-navy: #F8FAFC;
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--bg-body);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.3s ease;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--blue-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid var(--blue-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--dark-navy) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-glass {
    background: var(--grad-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    box-shadow: var(--shadow-glass);
}

.glow-backdrop {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(14, 165, 233, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-cyan) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--dark-navy);
    border: var(--border-glass);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.2);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. Animations
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.25; }
    50% { transform: scale(1.1); opacity: 0.35; }
    100% { transform: scale(1); opacity: 0.25; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float 9s ease-in-out infinite;
}

/* Scroll Triggered Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   5. Header / Navigation
   ========================================================================== */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
    border-bottom: 1px solid transparent;
}

.header-nav.scrolled {
    padding: 12px 0;
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 38px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark-navy);
}

.logo-text span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--slate-gray);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--dark-navy);
}

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

.nav-actions-mobile {
    display: none;
}

/* Hide the mobile-only theme toggle on desktop */
.nav-menu > li.theme-toggle-mobile {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    font-weight: 600;
    color: var(--dark-navy);
    padding: 10px 20px;
}

.btn-login:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--dark-navy);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-glow-1 {
    top: -100px;
    left: 10%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(14, 165, 233, 0.08) 50%, rgba(255, 255, 255, 0) 75%);
    width: 600px;
    height: 600px;
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
    bottom: 10%;
    right: -100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(56, 189, 248, 0.05) 60%, rgba(255, 255, 255, 0) 80%);
    width: 500px;
    height: 500px;
    animation: pulse-glow 10s ease-in-out infinite alternate;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-subheading {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--slate-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* Dashboard Mockup Grid Container */
.hero-mockup-container {
    position: relative;
    margin-top: 40px;
    border-radius: var(--radius-xl);
    padding: 12px;
    background: var(--white);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08);
    border: 3px solid rgba(15, 23, 42, 0.22);
}

/* Keep dashboard image sharp — no transform on scroll-reveal parent */
.hero-mockup-container.scroll-reveal,
.hero-mockup-container.scroll-reveal.active {
    transform: none;
}

.hero-mockup-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 3px solid rgba(15, 23, 42, 0.18);
    isolation: isolate;
}

.hero-mockup {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

.hero-mockup-container:hover .hero-mockup {
    transform: none;
}

/* Mid-page section divider */
.section-divider {
    width: 72px;
    height: 4px;
    margin: 0 auto;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent-cyan));
    border: none;
}

/* Floating Metric Badges */
.floating-badge {
    position: absolute;
    z-index: 10;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.1), 0 5px 15px -5px rgba(15, 23, 42, 0.05);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: var(--border-glass);
}

.fb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: var(--secondary);
}

.fb-text {
    display: flex;
    flex-direction: column;
}

.fb-label {
    font-size: 0.75rem;
    color: var(--slate-gray);
    font-weight: 500;
}

.fb-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.fb-1 {
    top: 15%;
    left: -40px;
}

.fb-2 {
    bottom: 20%;
    right: -40px;
}

.fb-3 {
    top: 50%;
    right: -60px;
}

/* ==========================================================================
   7. Features Grid Section
   ========================================================================== */
.features-header {
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.12);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 24px;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--grad-primary);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 16px -4px rgba(14, 165, 233, 0.3);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
}

/* ==========================================================================
   8. Why Choose Xobo Section
   ========================================================================== */
.why-xobo {
    position: relative;
    overflow: hidden;
}

.why-xobo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-xobo-content {
    text-align: left;
}

.benefits-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 4px;
}

.benefit-desc {
    font-size: 0.95rem;
    color: var(--slate-gray);
}

.why-xobo-visual {
    position: relative;
}

.visual-backdrop-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(30px);
    z-index: 1;
}

.visual-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    padding: 10px;
    background: rgba(255, 255, 255, 0.4);
    border: var(--border-glass);
    box-shadow: var(--shadow-lg);
}

.visual-image {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: var(--white);
    width: 100%;
}

.why-xobo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--slate-gray);
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================================================
   9. Interactive Dashboard Preview Section
   ========================================================================== */
.preview-tabs-container {
    margin-top: 40px;
}

.preview-tabs {
    display: inline-flex;
    padding: 6px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 50px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.tab-btn {
    border: none;
    background: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--slate-gray);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.tab-btn.active {
    background: var(--white);
    color: var(--dark-navy);
    box-shadow: var(--shadow-sm);
}

.preview-window-wrapper {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 3px solid rgba(15, 23, 42, 0.2);
}

.preview-window-wrapper.scroll-reveal,
.preview-window-wrapper.scroll-reveal.active {
    transform: none;
}

.preview-browser-bar {
    background: rgba(15, 23, 42, 0.02);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.browser-search-bar {
    flex-grow: 1;
    background: var(--white);
    border-radius: 6px;
    height: 24px;
    margin: 0 40px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 0.75rem;
    color: var(--slate-gray);
    letter-spacing: 0.5px;
}

.preview-content-box {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-light);
    position: relative;
}

.preview-panel {
    width: 100%;
    height: 100%;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.preview-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Inside Dashboard CSS Simulation */
.dashboard-grid {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.db-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: var(--border-glass);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.db-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-gray);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-card-val {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Interactive Automation Flow Simulation inside Mockup */
.builder-canvas {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.canvas-node {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    border: var(--border-glass);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    min-width: 220px;
}

.canvas-node::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background: var(--primary);
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.canvas-node:last-child::after {
    display: none;
}

.node-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-text {
    text-align: left;
}

.node-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.node-status {
    font-size: 0.75rem;
    color: var(--slate-gray);
}

.canvas-line-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary);
    position: relative;
}

.canvas-line-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--primary);
}

/* ==========================================================================
   10. Testimonials Section
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    border: 2px solid rgba(15, 23, 42, 0.12);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 4rem;
    color: rgba(56, 189, 248, 0.15);
    font-family: serif;
    line-height: 0.8;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #FBBF24;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.client-meta {
    text-align: left;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.client-role {
    font-size: 0.8rem;
    color: var(--slate-gray);
}

/* ==========================================================================
   11. Pricing Section
   ========================================================================== */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--slate-gray);
}

.toggle-label.active {
    color: var(--dark-navy);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 165, 233, 0.2);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: .4s;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

input:checked + .slider {
    background-color: var(--secondary);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.discount-badge {
    padding: 4px 10px;
    background: #22C55E;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

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

.pricing-card {
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border: 2px solid rgba(15, 23, 42, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    background: var(--white);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.18);
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
}

.featured-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--grad-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
}

.plan-header {
    text-align: left;
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.plan-price-box {
    margin-bottom: 30px;
    text-align: left;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--dark-navy);
}

.plan-period {
    font-size: 1rem;
    color: var(--slate-gray);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
}

.plan-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: var(--secondary);
    font-size: 0.75rem;
}

.btn-pricing {
    width: 100%;
}

/* ==========================================================================
   12. FAQ Section
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: var(--border-glass);
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-navy);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-toggle-icon {
    font-size: 1.25rem;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 32px;
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.7;
}

/* Active FAQ states */
.faq-item.active {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-color: rgba(56, 189, 248, 0.3);
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   13. CTA Section
   ========================================================================== */
.cta-section {
    padding-bottom: 80px;
}

.cta-box {
    background: var(--grad-dark);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.25);
}

.cta-box .glow-backdrop {
    width: 600px;
    height: 600px;
    top: -200px;
    left: 20%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(255, 255, 255, 0) 65%);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ==========================================================================
   14. Footer Section
   ========================================================================== */
.footer {
    background: rgba(15, 23, 42, 0.02);
    border-top: 1px solid rgba(14, 165, 233, 0.08);
    padding: 80px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    text-align: left;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--slate-gray);
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 280px;
}

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

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-gray);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: left;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.footer-link:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--slate-gray);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

/* ==========================================================================
   15. Responsive Styling Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1; /* Place professional first on mobile/tablet */
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .why-xobo-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: span 3;
    }
    
    .floating-badge.fb-1 { left: 10px; }
    .floating-badge.fb-2 { right: 10px; }
    .floating-badge.fb-3 { display: none; }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 30px 40px;
        gap: 24px;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.05);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-menu .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: auto;
    }

    /* Show mobile theme toggle in drawer */
    .nav-menu > li.theme-toggle-mobile {
        display: flex;
        justify-content: center;
    }
    
    /* Toggle active animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 70px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .floating-badge {
        display: none; /* Hide floating cards on mobile viewports for clean UI */
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   16. Interactive Premium Modal Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-box {
    width: 90%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--slate-gray);
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--dark-navy);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--slate-gray);
    margin-bottom: 24px;
    text-align: left;
}

.modal-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.modal-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.modal-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.modal-btn-submit {
    width: 100%;
    margin-top: 10px;
}

/* Success View */
.modal-success-content {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.modal-success-content.active {
    display: block;
}

.modal-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-success-desc {
    font-size: 0.95rem;
    color: var(--slate-gray);
}

/* ==========================================================================
   17. Theme Toggle Button Styles
   ========================================================================== */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition-fast);
    outline: none;
    width: 38px;
    height: 38px;
}

.theme-toggle-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--secondary);
}

/* sun/moon toggling based on data-theme */
html[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: block;
}
html[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: none;
}

html:not([data-theme="dark"]) .theme-toggle-btn .sun-icon {
    display: none;
}
html:not([data-theme="dark"]) .theme-toggle-btn .moon-icon {
    display: block;
}

/* Nav Menu responsive theme selector spacing */
.nav-menu > li.theme-toggle-mobile .theme-toggle-btn {
    margin: 8px auto;
}
