:root {
    /* New Light Premium Palette */
    --bg: #F8FAFC;
    --bg-alt: #F1F5F9;
    --text-primary: #0F172A; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --accent-blue: #3B82F6;
    --accent-indigo: #6366F1;
    --accent-purple: #8B5CF6;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(20px);
    
    /* Spacing */
    --container-max: 1200px;
    --section-pad: 120px;
    
    /* Shadows instead of glows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px; /* Slightly tighter for very small screens */
    }
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
}

/* Background Blobs - Soft Pastel */
.blob-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.3; /* Lighter for positive feel */
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px); /* Deeper blur */
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 20px) scale(1.1); }
}

/* Typography Helpers */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

p.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; line-height: 1.2; }
    h2 { font-size: 1.8rem; line-height: 1.3; }
    p.subtitle { font-size: 1.1rem; margin-bottom: 32px; }
}

/* Buttons - Light Theme */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.3);
    filter: brightness(1.1);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15);
}

/* Navigation - Light Theme */
nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-max);
    height: 70px;
    z-index: 1000;
    border-radius: 50px; /* Fully rounded */
    transition: all 0.5s var(--ease-out);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

nav.scrolled {
    top: 12px;
    width: 92%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.desktop-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links {
    display: none; /* Hide drawer on desktop */
}

.menu-header, .menu-footer {
    display: none;
}

.desktop-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.desktop-menu a:hover {
    color: var(--accent-blue);
}

.desktop-menu a.active {
    color: var(--accent-blue);
    font-weight: 600;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.08); /* Lighter blue tint */
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 50px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Center or Rebalance Hero if needed (for centered mobile or wide desktop) */
@media (min-width: 1200px) {
    .hero-text-content {
        padding-right: 40px;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

.mockup-container {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    z-index: 2;
    position: relative;
    animation: floating 6s infinite ease-in-out;
    box-shadow: var(--shadow-xl); /* Stronger shadow for the hero image */
}

@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.badge-1 {
    top: 10%;
    left: -20px;
    animation: float-mini 4s infinite alternate ease-in-out;
}

.badge-2 {
    bottom: 20%;
    right: -20px;
    animation: float-mini 5s infinite alternate-reverse ease-in-out;
}

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

/* Sections General */
.section-padding {
    padding: var(--section-pad) 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0; /* Reduced for mobile */
    }
}

.section-badge {
    display: inline-block;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    background: rgba(59, 130, 246, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
}

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

.section-header {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
}

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

/* Features */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
    border-radius: 32px;
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.feature-icon, .platform-icon {
    margin-bottom: 24px;
}

.icon-accent {
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
}

.feature-icon-lg {
    width: 48px;
    height: 48px;
}

.icon-check-sm {
    width: 14px;
}

.icon-mb {
    margin-bottom: 20px;
}

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

.icon-accent-purple {
    color: var(--accent-purple);
    width: 32px;
    height: 32px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Privacy Section Helpers */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.privacy-card {
    padding: 40px;
    border-radius: 32px;
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.highlight-card {
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
}

.card-detailing {
    margin-top: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

/* Company Section */
.company-content {
    padding: 80px;
    border-radius: 48px;
    background: white;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 60px;
}

.rs-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: var(--text-primary);
}

/* Contact */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 32px;
    background: white;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
}

@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
        border-radius: 24px;
    }
}

.email-address {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-blue);
    word-break: break-all;
}

/* Footer - Light Theme */
.footer {
    background: white;
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand .logo {
    color: var(--text-primary);
    font-weight: 700;
}

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

.footer h4 {
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

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

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--bg-alt);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Animations Trigger Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out);
}

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

.reveal-text {
    opacity: 0;
    transform: translateY(15px);
    animation: revealText 1s forwards var(--ease-out);
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards var(--ease-out);
}

.hero-text-content .fade-in:nth-child(1) { animation-delay: 0.2s; }
.hero-text-content .fade-in:nth-child(3) { animation-delay: 0.4s; }
.hero-text-content .fade-in:nth-child(4) { animation-delay: 0.6s; }
.hero-text-content .fade-in:nth-child(5) { animation-delay: 0.8s; }

.hero-visual.fade-in { animation-delay: 1s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-ctas, .hero-stats { justify-content: center; }
    .grid-3, .privacy-grid { grid-template-columns: 1fr 1fr; }
    .company-content { flex-direction: column; text-align: center; padding: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
    .grid-3, .privacy-grid { grid-template-columns: 1fr; }
    /* Removed display: none from .nav-links to allow the mobile drawer to function */
    .contact-card { flex-direction: column; gap: 24px; text-align: center; }
}

/* Timeline/Story Styles */
.story-intro {
    max-width: 800px;
    margin: 0 auto 120px;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--bg-alt) 10%, var(--bg-alt) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 80px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 40px;
    border-radius: 32px;
    background: white;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    z-index: 2;
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vision-section {
    padding: 120px 0;
    text-align: center;
    background: white;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; align-items: flex-start; }
    .timeline-content { width: calc(100% - 60px); margin-left: 60px; }
    .timeline-dot { left: 20px; }
    .timeline-year { left: 60px; transform: none; top: -25px; }
}

/* Enhanced Features Section */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.features-primary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card-primary {
    padding: 60px 40px;
    border-radius: 40px;
    background: white;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--ease-out);
    position: relative;
    /* overflow: hidden; */ /* Removed to prevent shadow clipping on mobile */
}

@media (max-width: 768px) {
    .feature-card-primary {
        padding: 40px 24px;
        border-radius: 32px;
    }
}

.feature-card-primary:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-xl);
}

.feature-card-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

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

.feature-card-primary:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-xl);
}

.feature-card-primary-content {
    position: relative;
    z-index: 1;
}

.feature-divider {
    width: 40px;
    height: 1px;
    background: var(--bg-alt);
    margin: 24px 0;
    transition: width 0.3s ease;
}

.feature-card-primary:hover .feature-divider {
    width: 80px;
    background: var(--accent-blue);
}

.feature-details {
    margin-top: 24px;
    padding-left: 0;
    list-style: none;
}

.feature-details li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-grid-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card-secondary {
    padding: 32px;
    border-radius: 24px;
    background: white;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out);
}

.feature-card-secondary:hover {
    background: white;
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

/* Legal Pages Styling */
.legal-section {
    padding-top: 180px;
    padding-bottom: 120px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
    line-height: 1.8;
    background: white;
    border-radius: 48px;
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 48px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--bg-alt);
    padding-bottom: 12px;
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 32px;
    }
    
    .legal-content h3 {
        font-size: 1.15rem;
    }
    
    .legal-content p, .legal-content li {
        font-size: 0.95rem;
    }
}

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 12px;
}

.legal-meta {
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--accent-indigo);
    font-weight: 500;
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 40px 0;
}

/* Expanded Home Page Styles */
.spacing-xl {
    padding: 160px 0;
}

/* Feature Highlights */
.feature-highlight-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-highlight-row.reverse {
    flex-direction: row-reverse;
}

.feature-highlight-text {
    flex: 1;
}

.feature-highlight-visual {
    flex: 1;
}

.visual-box {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-lg);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 60px 40px;
    position: relative;
    background: white;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--bg-alt);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
    background: rgba(59, 130, 246, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin: 0 auto 32px;
    color: var(--accent-blue);
}

/* Platform Diff */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.platform-card {
    padding: 80px 60px;
    border-radius: 48px;
    background: white;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-out);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.platform-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

/* Trust Section */
.trust-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.trust-grid-sm {
    margin-top: 60px;
    grid-template-columns: repeat(2, 1fr);
}

.trust-icon {
    color: var(--accent-blue);
}

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

.trust-text h4 {
    margin-bottom: 5px;
}

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

/* Final CTA */
.final-cta-box {
    text-align: center;
    padding: 100px 40px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    margin-top: 120px;
}

@media (max-width: 768px) {
    .final-cta-box {
        margin-top: 80px;
        padding: 60px 24px;
        border-radius: 32px;
    }
}

/* Mobile Menu Styles */
/* Premium Mobile Menu Redesign */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 10px;
    z-index: 2100;
    transition: transform 0.3s var(--ease-out);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5); /* Dimmed background */
    backdrop-filter: blur(8px); /* Soft background blur */
    -webkit-backdrop-filter: blur(8px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }

    /* Reset nav for mobile containing block fix */
    nav {
        width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        height: 80px;
        background: rgba(255, 255, 255, 0.8) !important;
        border-bottom: 1px solid var(--glass-border) !important;
    }

    .legal-content {
        padding: 60px 40px;
    }

    .platform-card {
        padding: 40px;
    }

    .desktop-menu {
        display: none; /* Hide desktop links */
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex !important; /* Show drawer on mobile */
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: white; /* Sharp, opaque panel */
        z-index: 2000; /* Highest layer - MUST be above overlay */
        flex-direction: column;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    .nav-links.active {
        right: 0;
    }

    /* Drawer Header */
    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24px 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        margin-bottom: 20px;
    }

    .menu-header .logo-text {
        font-size: 1.25rem;
    }

    .menu-close {
        background: none;
        border: none;
        color: var(--text-secondary);
        cursor: pointer;
        padding: 5px;
        transition: all 0.2s;
    }

    .menu-close:hover {
        color: var(--accent-blue);
        transform: rotate(90deg);
    }

    /* Drawer List */
    .nav-links .nav-list {
        flex-direction: column;
        gap: 8px;
        padding: 0 20px;
        flex: 1;
    }

    .nav-links .nav-list li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s var(--ease-out);
    }

    .nav-links.active .nav-list li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered Animations */
    .nav-links.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active .nav-list li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active .nav-list li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active .nav-list li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active .nav-list li:nth-child(5) { transition-delay: 0.3s; }

    .nav-links .nav-list a {
        display: block;
        padding: 14px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-primary);
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s;
        text-align: left;
    }

    .nav-links .nav-list a:hover, 
    .nav-links .nav-list a.active {
        background: rgba(59, 130, 246, 0.05);
        color: var(--accent-blue) !important;
        padding-left: 25px;
    }

    /* Drawer Footer */
    .menu-footer {
        display: block;
        padding: 30px;
        border-top: 1px solid rgba(0, 0, 0, 0.03);
    }

    .btn-nav-mobile {
        width: 100%;
        background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
        color: white;
        padding: 16px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 14px;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }

    .nav-cta {
        display: none;
    }

    .mobile-only {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .spacing-xl { padding: 80px 0; }
    
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
    .btn { width: 100%; margin-left: 0 !important; }
    
    .feature-highlight-row, .feature-highlight-row.reverse { 
        flex-direction: column; 
        gap: 32px; 
        text-align: center;
        margin-bottom: 80px;
    }

    .legal-content {
        padding: 40px 20px;
        border-radius: 24px;
    }
    
    /* Display Grid stacking */
    .features-primary-grid, 
    .grid-3, 
    .privacy-grid, 
    .steps-grid, 
    .feature-grid-secondary, 
    .trust-points, 
    .platform-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .platform-card { padding: 40px 24px; border-radius: 32px; }
    .company-content { padding: 40px 24px; border-radius: 32px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding-top: 100px; }
    .spacing-xl { padding: 60px 0; }
    .section-padding { padding: 40px 0; }
    
    .legal-content {
        padding: 32px 16px;
    }

    .showcase-container .glass {
        padding: 30px !important;
    }
    
    .showcase-container div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
}

/* Showcase Styles */
.showcase-container {
    margin-top: 60px;
    position: relative;
}

.showcase-box {
    padding: 60px;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
}

.showcase-flex {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.showcase-item-sm {
    width: 250px;
    height: 350px;
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    transform: translateY(20px);
}

.showcase-item-lg {
    width: 300px;
    height: 450px;
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.showcase-icon-placeholder { width: 40px; height: 40px; background: var(--accent-blue); border-radius: 10px; margin-bottom: 20px; }
.showcase-line-full { width: 100%; height: 10px; background: var(--glass-border); border-radius: 5px; margin-bottom: 10px; }
.showcase-line-half { width: 70%; height: 10px; background: var(--glass-border); border-radius: 5px; margin-bottom: 30px; }
.showcase-box-placeholder { width: 100%; height: 100px; background: rgba(59, 130, 246, 0.1); border-radius: 10px; }
.showcase-title { font-weight: 700; font-size: 1.2rem; margin-bottom: 30px; }
.showcase-stats-row { display: flex; gap: 10px; margin-bottom: 20px; }
.showcase-stat-box { flex: 1; height: 80px; background: var(--glass-bg); border-radius: 10px; }
.showcase-chart-placeholder { width: 100%; height: 150px; background: linear-gradient(transparent, rgba(99, 102, 241, 0.1)); border-bottom: 2px solid var(--accent-blue); border-radius: 0 0 10px 10px; }
.showcase-nav-placeholder { width: 100%; height: 40px; background: var(--glass-bg); border-radius: 10px; margin-bottom: 15px; }

@media (max-width: 992px) {
    .showcase-flex {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .showcase-item-sm, .showcase-item-lg {
        width: 100%;
        max-width: 400px;
        height: auto;
        transform: none;
    }
    
    .showcase-hide-mobile {
        display: none !important;
    }
}

/* Automation Preview Styles */
.automation-preview {
    width: 100%;
    height: 100%;
    max-width: 280px;
    min-height: 180px;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.05);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.automation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.automation-bar-full {
    width: 30%;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 4px;
}

.automation-bar-short {
    width: 20%;
    height: 8px;
    background: var(--glass-border);
    border-radius: 4px;
}

.automation-body {
    flex: 1;
    border: 1px dashed var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .automation-preview {
        max-width: 100%;
        min-height: 140px;
    }
}

/* Contact Components */
.contact-icon-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

@media (max-width: 480px) {
    .contact-card h3 { font-size: 1.25rem; }
    .contact-icon-block { flex-direction: column; align-items: center; text-align: center; }
}

/* Utilities */
.mobile-center { text-align: center; }
@media (max-width: 768px) {
    .mobile-center-res { text-align: center; }
    .mobile-hide { display: none !important; }
}
