/* ==========================================================================
   RealSpeak CSS Design System
   ========================================================================== */

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

/* 2. Theme Variables & Base Definitions */
:root {
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme Colors (Light Mode) */
    --primary: #2563EB;
    --primary-rgb: 37, 99, 235;
    --primary-hover: #1D4ED8;
    --secondary: #22C55E;
    --secondary-rgb: 34, 197, 94;
    --secondary-hover: #16A34A;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --background: #F8FAFC;
    --background-rgb: 248, 250, 252;
    --text-main: #0F172A;
    --text-main-rgb: 15, 23, 42;
    --text-muted: #475569;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(226, 232, 240, 0.8);
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    --nav-bg: rgba(248, 250, 252, 0.8);
    --border-color: rgba(226, 232, 240, 0.8);
    --scroll-thumb: #CBD5E1;
    --glass-blur: blur(12px);

    /* Animation Timings */
    --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.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables Override */
:root.dark {
    --background: #0B0F19;
    --background-rgb: 11, 15, 25;
    --text-main: #F8FAFC;
    --text-main-rgb: 248, 250, 252;
    --text-muted: #94A3B8;
    --card-bg: rgba(15, 23, 42, 0.65);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(11, 15, 25, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --scroll-thumb: #334155;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* 4. Common & Utility Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 7rem 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-600 {
    max-width: 600px;
}

.max-w-800 {
    max-width: 800px;
}

/* 5. Sticky Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-normal), border-color var(--transition-normal), padding var(--transition-normal);
    padding: 1.5rem 0;
}

.navbar.sticky {
    padding: 1rem 0;
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    z-index: 1002;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #FFF;
    font-size: 1.25rem;
}

.logo-img {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
    display: block;
}

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

.logo-subtitle {
    font-size: 0.55em;
    font-weight: 500;
    opacity: 0.8;
    margin-left: 0.25rem;
    letter-spacing: -0.2px;
}

@media (max-width: 580px) {
    .logo-subtitle {
        display: none;
    }
}

/* Nav Menu & Actions */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-fast);
}

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

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

/* Theme Toggle Button */
.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--card-bg);
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    transform: scale(1.05);
    background-color: var(--border-color);
}

.theme-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

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

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

:root.dark .theme-toggle .sun-icon {
    display: block;
}

:root.dark .theme-toggle .moon-icon {
    display: none;
}

/* Menu Toggle Button (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.5rem;
    height: 1.2rem;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Mobile active state for humburger icon */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* 6. Buttons & Inputs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
    z-index: -1;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--border-color);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-google-play {
    background-color: #0F172A;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

:root.dark .btn-google-play {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-google-play:hover {
    background-color: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

:root.dark .btn-google-play:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-google-play svg {
    width: 1.5rem;
    height: 1.5rem;
}

.btn-google-play-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.btn-google-play-text span:first-child {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.btn-google-play-text span:last-child {
    font-size: 1rem;
    font-weight: 700;
}

/* Glass Card Definition */
.glass-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
    border-radius: 20px;
    padding: 2rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}

/* 7. Hero Section with Animated Blobs */
.hero {
    position: relative;
    padding: 10rem 0 7rem 0;
    overflow: hidden;
}

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

.hero-content {
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

:root.dark .badge {
    background-color: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

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

/* Floating Mockup */
.mockup-container {
    position: relative;
    width: 280px;
    height: 560px;
    border-radius: 40px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
    background-color: #0F172A;
    border: 12px solid #1E293B;
    overflow: hidden;
    animation: floatPhone 6s ease-in-out infinite;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background-color: #0B0F19;
    padding: 1.5rem 1rem;
    position: relative;
    color: #F8FAFC;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mockup-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 18px;
    background-color: #1E293B;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 100;
}

/* Mockup Content Styling (Simulated App screen) */
.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
.mockup-logo {
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mockup-stats {
    display: flex;
    gap: 0.25rem;
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}
.mockup-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.mockup-radar {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mockup-radar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.1);
    animation: radarRipple 3s linear infinite;
}
.mockup-radar::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.2);
    animation: radarRipple 3s linear infinite 1.5s;
}
.mockup-user-center {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
    z-index: 2;
}
.mockup-user-pulse {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    animation: bounce 2s infinite;
}
.pulse-left { top: 15px; left: 10px; animation-delay: 0.5s;}
.pulse-right { bottom: 15px; right: 10px; animation-delay: 1s;}

.mockup-matching-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    animation: textFlash 1.5s infinite alternate;
}
.mockup-btn {
    width: 100%;
    padding: 0.65rem;
    border-radius: 20px;
    background-color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

/* Background Gradients/Blobs */
.bg-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    mix-blend-mode: multiply;
    animation: blobMove 25s infinite alternate;
}

:root.dark .blob {
    opacity: 0.1;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background-color: var(--secondary);
    bottom: -50px;
    left: -100px;
    animation-delay: 5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background-color: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    animation-delay: 10s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator svg {
    width: 1.25rem;
    height: 1.25rem;
    animation: bounceIndicator 2s infinite;
}

/* 8. Statistics Section */
.stats {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
}

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

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

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 9. Features Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon-container {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .feature-icon-container {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #FFF;
    border-color: transparent;
    transform: scale(1.05);
    transition: all var(--transition-fast);
}

.feature-icon-container svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 10. How It Works Timeline */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    position: relative;
    padding-top: 3rem;
}

.step-number {
    position: absolute;
    top: 0;
    left: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.step-card:nth-child(even) .step-number {
    background-color: var(--secondary);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.step-card::after {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: calc(2rem + 2.5rem);
    width: calc(100% - 2rem);
    height: 2px;
    border-top: 2px dashed var(--border-color);
    z-index: 1;
}

.step-card:last-child::after {
    display: none;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 11. Screenshots Section Carousel */
.screenshots {
    background-color: rgba(255, 255, 255, 0.01);
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform var(--transition-normal);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc((100% - 6rem) / 4); /* Display 4 screenshots at once on large screen */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.screenshot-placeholder {
    width: 200px;
    height: 400px;
    border-radius: 24px;
    border: 8px solid #1E293B;
    background-color: #0F172A;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    color: white;
}

.screenshot-placeholder.has-image {
    padding: 0;
    display: block;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background-color: #1E293B;
    border-radius: 0 0 8px 8px;
    width: 80px;
    margin: 0 auto;
}

.screenshot-title {
    font-size: 0.85rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
}

.screenshot-mock-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.screenshot-mock-body svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--secondary);
}

.screenshot-mock-text {
    font-size: 0.7rem;
    color: #94A3B8;
    line-height: 1.3;
}

.screenshot-mock-action {
    width: 100%;
    padding: 0.5rem;
    background-color: rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
}

.slide-caption {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Carousel controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: transparent;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev {
    left: 0.5rem;
}

.carousel-btn-next {
    right: 0.5rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    width: 1.5rem;
    border-radius: 5px;
    background-color: var(--primary);
}

/* 12. Why Choose Us Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.why-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.why-card:nth-child(even) .why-icon {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.why-card:nth-child(3n) .why-icon {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent);
}

.why-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: currentColor;
}

.why-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.why-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 13. Safety & Privacy Section */
.safety {
    position: relative;
}

.safety-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.safety-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.safety-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.safety-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.safety-card-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.safety-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.safety-visual {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(34, 197, 94, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.safety-badge-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-badge-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
}

.safety-badge-title {
    font-size: 1.35rem;
    font-weight: 800;
}

.safety-badge-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 14. Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-main);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-family: serif;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: -2rem;
    left: -0.5rem;
    line-height: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-placeholder {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.user-rating {
    display: flex;
    gap: 0.15rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.user-rating svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
}

/* 15. FAQ Accordion Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 12px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1), padding var(--transition-normal);
    padding: 0 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--card-shadow);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Large enough default */
    padding-bottom: 1.25rem;
    transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0);
}

.faq-icon-arrow {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* 16. Final Call-To-Action (CTA) */
.cta {
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--primary);
    filter: blur(120px);
    opacity: 0.2;
    top: -100px;
    right: -100px;
}

.cta-card::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: var(--secondary);
    filter: blur(100px);
    opacity: 0.15;
    bottom: -80px;
    left: -80px;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    margin: 0 auto;
    color: #F8FAFC;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
}

.cta-desc {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 17. Footer Layout */
.footer {
    background-color: rgba(15, 23, 42, 0.02);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

:root.dark .footer {
    background-color: rgba(0, 0, 0, 0.2);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    display: inline-flex;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

.footer-column-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

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

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

/* 18. Back-To-Top Button */
.back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

/* 19. Inner Pages Styles */
.inner-hero {
    position: relative;
    padding: 10rem 0 4rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.inner-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.inner-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.inner-content {
    padding: 5rem 0;
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-method-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-method-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.contact-method-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-method-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.map-placeholder {
    height: 250px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-simulated {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.map-pin {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.map-pin svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
    animation: floatPhone 3s ease-in-out infinite;
}

.map-pin span {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--text-main);
    color: var(--background);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styling */
.contact-form-card {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

:root.dark .form-control {
    background-color: rgba(0, 0, 0, 0.2);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background-color: var(--background);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    color: #16A34A;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* About Page Mission/Vision */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.about-feature-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature-box h3 {
    font-size: 1.35rem;
    font-weight: 800;
}

.about-feature-box p {
    color: var(--text-muted);
}

.stats-card-about {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: white;
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}

.stats-card-about h2 {
    color: white;
}

.stats-card-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.stats-card-about-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.stats-card-about-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* FAQ Directory layout (with sidebar categories) */
.faq-directory-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
}

.faq-sidebar {
    position: sticky;
    top: 7rem;
    height: fit-content;
}

.faq-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-category-btn {
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-category-btn:hover, .faq-category-btn.active {
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.08);
}

.faq-content-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-category-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 800;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Legal Documents Styles (Privacy, Terms) */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    padding: 4rem;
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* 20. Keyframe Animations */
@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes radarRipple {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes textFlash {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* 21. Intersection Observer Animation Hooks */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}
