@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #007AFF;
    --primary-light: #E5F1FF;
    --secondary: #5856D6;
    --accent: #00C7BE;
    --bg-main: #FBFBFE;
    --bg-card: rgba(255, 255, 255, 0.7);
    --text-main: #1D1D1F;
    --text-muted: #6E6E73;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.08);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

/* Prevent any element from causing horizontal scroll */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

/* Remove all scrollbars globally */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* For Firefox */
* {
    scrollbar-width: none;
}

/* For IE and Edge */
* {
    -ms-overflow-style: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotateX(0) rotateY(0) scale(1);
    }

    33% {
        transform: translateY(-15px) rotateX(2deg) rotateY(-2deg) scale(1.01);
    }

    66% {
        transform: translateY(-5px) rotateX(-1deg) rotateY(2deg) scale(1.01);
    }

    100% {
        transform: translateY(0) rotateX(0) rotateY(0) scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 122, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 122, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 5px rgba(0, 122, 255, 0.2);
    }
}

/* Global subtle glow overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(150, 150, 150, 0.08), transparent 70%);
    animation: subtleGlow 6s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes subtleGlow {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 0.8;
    }
}


.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Particle canvas – full screen, behind content */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: transparent;
}


/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow-x: hidden;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a.active {
    color: white;
    background: var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.5rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #0062CC;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
    animation: pulse 2s infinite alternate ease-in-out;
}

.btn-secondary {
    background: var(--primary-light);
    color: var(--primary);
}

.btn-secondary:hover {
    background: #D1E7FF;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top right, #f0f7ff, transparent),
        radial-gradient(circle at bottom left, #f5f3ff, transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.hero .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

/* Hero buttons container */
.hero .animate-fade-in:has(.btn) {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-mockup {
    margin-top: 5rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mockup-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    animation: float 6s ease-in-out infinite;
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.intent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-strong);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Icon hover animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.card-icon:hover,
.benefits-list li svg:hover {
    animation: spin 1s linear;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid #F2F2F7;
    text-align: center;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    position: relative;
    box-shadow: var(--shadow-strong);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
}

.benefits-list li svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E5E5EA;
}

.user-details h4 {
    font-size: 1rem;
    font-weight: 600;
}

.user-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Download Page */
.download-section {
    padding: 151px 0 100px;
}

nav.scrolled {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.platform-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid #F2F2F7;
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.platform-icon {
    font-size: 2rem;
    color: var(--primary);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid #E5E5EA;
    background: #FBFBFE;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #F2F2F7;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: #F2F2F7;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #E5E5EA;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-cta {
        display: flex;
        order: 1;
        /* Download button on the left */
    }

    .mobile-menu-btn {
        display: flex;
        order: 2;
        /* Burger menu on the right, next to download button */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Match privacy page grid behavior for home, about, features */
    .grid,
    .core-values-grid,
    .home-innovators {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
    }

    .grid .card,
    .core-values-grid .card,
    .home-innovators .card {
        padding: 1.2rem;
        flex-direction: column;
        gap: 0;
        align-items: center;
        text-align: center;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-bottom: 1rem;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media (max-width: 968px) {

    /* Match privacy page grid behavior for home, about, features */
    .grid,
    .core-values-grid,
    .home-innovators {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
    }

    .grid .card,
    .core-values-grid .card,
    .home-innovators .card {
        padding: 1.2rem;
        flex-direction: column;
        gap: 0;
        align-items: center;
        text-align: center;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-bottom: 1rem;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {

    /* Strict overflow prevention */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }

    * {
        max-width: 100% !important;
    }

    /* Ensure all images are responsive */
    img,
    .mockup-img,
    .hero-mockup img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    .section {
        padding: 30px 0;
        overflow-x: hidden;
    }

    .hero {
        padding: 80px 0 40px;
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Mobile: 3-column grid for feature blocks (like core values) */
    .grid,
    .home-innovators,
    .core-values-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
        overflow-x: hidden;
        width: 100%;
    }

    .grid .card,
    .home-innovators .card,
    .core-values-grid .card {
        padding: 0.85rem;
        overflow: hidden;
        flex-direction: column;
        gap: 0;
        align-items: center;
        text-align: center;
    }

    .grid .card h3,
    .home-innovators .card h3,
    .core-values-grid .card h3 {
        font-size: 1rem;
    }

    .grid .card p,
    .home-innovators .card p,
    .core-values-grid .card p {
        font-size: 0.8rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-bottom: 1rem;
    }

    /* Exceptions for grids that should stack */
    .pricing-grid,
    .testimonials-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    /* Integration icons: 2-column grid */
    .grid[style*="grid-template-columns: repeat(auto-fit, minmax(120px, 1fr))"] {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }

    .card {
        padding: 1.5rem;
    }

    /* Hero Definition Text */
    .self-learning-text {
        font-size: 0.7rem !important;
        /* Smaller validation */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {

    /* Global Root Scaling - Instantly shrinks rem values */
    html {
        font-size: 13px;
    }

    body {
        overflow-x: hidden;
    }

    /* Tighter Container */
    .container {
        padding: 0 0.8rem;
    }

    /* Compact Typography */
    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    h3,
    .card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem;
    }

    p,
    .card p {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

    /* Tighter Sections */
    .section {
        padding: 2rem 0;
        /* Reduced from 100px or 30px */
    }

    .hero {
        padding: 100px 0 30px;
        /* Reduced top padding */
    }

    /* Small Buttons */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
        width: 100%;
        justify-content: center;
    }

    .hero .animate-fade-in {
        display: flex;
        gap: 0.5rem;
        flex-direction: row;
        /* Keep side by side if possible */
    }

    .hero .animate-fade-in>.btn {
        width: auto;
        flex: 1;
        padding: 0.5rem 0.5rem;
        /* Very compact */
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Compact Grid */
    .grid {
        gap: 0.6rem !important;
    }

    .card {
        padding: 0.8rem !important;
        border-radius: 12px;
        /* Smaller radius */
    }

    .card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 0.8rem;
    }

    .card-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Mobile Menu Touch-ups */
    .mobile-menu-btn {
        padding: 5px;
        transform: scale(0.9);
    }

    .logo {
        font-size: 1.2rem;
    }

    /* Footer compacted */
    footer {
        padding: 30px 0 20px;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-links li {
        margin-bottom: 0.4rem;
    }

    /* Integrations */
    .grid[style*="minmax(120px"] img {
        width: 35px !important;
    }

    .mockup-img {
        margin-top: 2rem;
        border-radius: 10px;
    }
}


/* Improved FAQ Styles */
.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.faq-search-wrapper {
    margin-top: 2rem;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search-input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.15);
    transform: translateY(-2px);
}

.faq-search-wrapper svg {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.faq-search-input:focus+svg {
    color: var(--primary);
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.faq-cat-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-soft);
}

.faq-cat-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.faq-cat-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto 5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 122, 255, 0.2);
}

.faq-item.active {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(0, 122, 255, 0.08);
}

.faq-question {
    padding: 1.8rem 2.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    user-select: none;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-icon {
    background: var(--primary);
}

.faq-item.active .faq-icon svg {
    color: white;
    transform: rotate(135deg);
}

/* Accordion Content Styling */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1200px;
    opacity: 1;
}

.answer-content {
    padding: 0 2.2rem 2.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    background: rgba(0, 0, 0, 0.01);
}

.help-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.voting-btns {
    display: flex;
    gap: 0.8rem;
}

.vote-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.vote-btn.active-yes {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #2e7d32;
}

.vote-btn.active-no {
    background: #ffebee;
    color: #c62828;
    border-color: #c62828;
}

/* Trending & Category Badges */
.trending-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    background: #fff3e0;
    color: #e65100;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    gap: 0.3rem;
}

/* Support Card Enhancement */
.support-card {
    background: linear-gradient(135deg, #001529, #003a8c);
    color: white;
    padding: 4rem;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 58, 140, 0.3);
}

.support-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.support-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.support-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 480px;
    line-height: 1.6;
}

.support-action .btn {
    background: white;
    color: #003a8c;
    padding: 1.2rem 2.8rem;
    font-size: 1.15rem;
    border-radius: 20px;
    font-weight: 700;
}

.support-action .btn:hover {
    background: #f8faff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Empty State */
.faq-empty {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.faq-empty.visible {
    display: block;
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2.6rem;
    }

    .faq-categories {
        justify-content: flex-start;
        padding-bottom: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .support-card {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 3.5rem 2rem;
    }
}

/* Dark Theme & About Page Roadmap */
.dark-page {
    background-color: #050505;
    color: #ffffff;
}

.dark-page nav {
    background: rgba(5, 5, 5, 0.8) !important;
}

.dark-page .logo {
    color: #fff;
}

.dark-page .nav-links a {
    color: rgba(255, 255, 255, 0.7);
}

.dark-page footer {
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.05) 0%, transparent 70%);
}

.roadmap-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.roadmap-container {
    max-width: 1000px;
    margin: 4rem auto;
    position: relative;
    padding: 2rem 0;
}

.roadmap-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.roadmap-path {
    fill: none;
    stroke: url(#roadmap-gradient-blue);
    stroke-width: 4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(0, 122, 255, 0.3));
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-out forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.milestones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 2;
    gap: 2rem;
}

.milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpRoadmap 0.8s ease forwards;
}

@keyframes fadeInUpRoadmap {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.milestone:nth-child(1) {
    animation: fadeInUpRoadmap 0.8s ease forwards;
    animation-delay: 0.2s;
}

.milestone:nth-child(2) {
    animation: fadeInUpRoadmap 0.8s ease forwards;
    animation-delay: 0.5s;
}

.milestone:nth-child(3) {
    animation: fadeInUpRoadmap 0.8s ease forwards;
    animation-delay: 0.8s;
}

.milestone:nth-child(4) {
    animation: fadeInUpRoadmap 0.8s ease forwards;
    animation-delay: 1.1s;
}

.milestone-point {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.2);
    transition: all 0.3s ease;
}

.milestone:hover .milestone-point {
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(0, 122, 255, 0.4);
}

.milestone-content {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.milestone:hover .milestone-content {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.milestone-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 1px;
}

.milestone-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.milestone-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 968px) {
    .milestones {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .roadmap-svg {
        display: none;
    }

    .milestone-point {
        margin-bottom: 1rem;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }
}

/* Page Header & Content Pages (Privacy, Terms, etc.) */
.page-header {
    padding: 180px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(240, 247, 255, 0.5), transparent);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
    /* Ensure it floats above particles if needed */
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    color: var(--text-main);
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block p,
.content-block ul {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.content-block ul {
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

.last-updated {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
}

/* Privacy Page Redesign (Ref: User Image) - Enhanced Premium Look */
.privacy-hero-section {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 45%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.08), transparent 45%);
    overflow: hidden;
    position: relative;
}

.privacy-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.privacy-hero-content {
    opacity: 0;
    animation: privacyFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.privacy-hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.privacy-hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.6;
}

.privacy-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: privacyFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    perspective: 1000px;
}

.privacy-hero-image svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.2));
    animation: privacyFloat 6s ease-in-out infinite;
}

/* Feature Grid Section */
.privacy-features-section {
    padding: 100px 0;
    position: relative;
}

.privacy-section-header {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    animation: privacyFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.privacy-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.privacy-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-feature-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.privacy-feature-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(14, 165, 233, 0.1);
}

.pf-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.privacy-feature-item:hover .pf-icon-box {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.2));
    color: #0284c7;
}

.pf-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.pf-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Global Compliance Section */
.global-compliance-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: var(--radius-lg);
    margin: 6rem 0;
    text-align: center;
    border: 1px solid rgba(241, 245, 249, 0.8);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.compliance-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.compliance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.compliance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border-color: rgba(14, 165, 233, 0.2);
}

.compliance-item:hover::before {
    opacity: 1;
}

.compliance-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.compliance-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* New Animations */
@keyframes privacyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes privacyFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .privacy-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .privacy-hero-content p {
        margin: 0 auto 2.5rem;
    }

    .privacy-hero-image {
        order: -1;
    }

    /* Privacy blocks - match core values style on mobile */
    .privacy-feature-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem;
    }

    .privacy-feature-item {
        padding: 1.2rem;
        flex-direction: column;
        /* Stack icon above text like core values */
        gap: 0;
        align-items: center;
        text-align: center;
    }

    .pf-icon-box {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        margin-bottom: 1rem;
    }

    .pf-content {
        width: 100%;
    }

    .pf-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .pf-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Compliance blocks - match core values style on mobile */
    .compliance-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .compliance-item {
        padding: 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .compliance-icon {
        margin: 0 auto 1rem;
        width: 50px;
        height: 50px;
    }

    .compliance-item h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .compliance-item p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* About page - stack everything on mobile */
    .intent-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem;
    }

    .philosophy-card {
        text-align: center;
    }

    /* Remove all horizontal scrollers */
    body {
        overflow-x: hidden !important;
    }

    .container {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .grid {
        overflow-x: hidden !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100vw;
    }

    section {
        overflow-x: hidden !important;
    }

    .intent-grid {
        overflow-x: hidden !important;
    }

    /* Fix any wide elements */
    pre,
    code,
    table {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* Hide 4th compliance item on desktop, show on mobile */
@media (min-width: 969px) {
    .compliance-item:nth-child(4) {
        display: none;
    }
}

/* Add extra "Designed for Innovators" block on mobile only */
@media (max-width: 768px) {
    .mobile-only-block {
        display: block !important;
    }
}

/* Roadmap / Timeline Styles */
.timeline-section {
    position: relative;
    padding: 80px 0 120px;
    background: var(--bg-main);
    overflow: hidden;
}

.timeline-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.timeline-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.6;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Vertical Line Container */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.05);
    /* Faint gray background path */
    transform: translateX(-50%);
    z-index: 1;
}

/* Dynamic Progress Line */
.timeline-progress {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 2px;
    height: 0;
    /* JS will animate this */
    background: var(--primary);
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
    transition: height 0.1s linear;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 4rem;
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-out,
        transform 1.2s ease-out;
    will-change: transform, opacity;
}

/* Alternating Sides - Items on the LEFT (Odd phases: 1, 3, 5) */
.timeline-item:nth-of-type(odd) {
    padding-right: 50%;
    justify-content: flex-end;
    transform: translate3d(-120px, 0, 0) scale(0.9);
}

/* Alternating Sides - Items on the RIGHT (Even phases: 2, 4, 6) */
.timeline-item:nth-of-type(even) {
    padding-left: 50%;
    justify-content: flex-start;
    transform: translate3d(120px, 0, 0) scale(0.9);
}

/* Visible State - Slide into center with full opacity */
.timeline-item.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #E5E5EA;
    /* Default gray state */
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.4s ease;
}

/* Active Dot State (when line passes it) */
.timeline-item.active .timeline-dot {
    background: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.2);
    transform: translateX(-50%) scale(1.3);
}

.timeline-item.active .timeline-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}



/* Content Box */
.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 90%;
    max-width: 420px;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.2);
}

/* Header inside content */
.phase-tag {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Chat Quote */
.chat-quote {
    background: #F8FAFF;
    border-left: 3px solid var(--primary);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
    color: var(--text-main);
    font-style: italic;
    text-align: left;
    /* Always left for readability of quote */
}

.timeline-item:nth-child(odd) .chat-quote {
    border-left: none;
    border-right: 3px solid var(--primary);
    border-radius: 12px 0 0 12px;
    text-align: right;
}

/* Capabilities List */
.timeline-features {
    list-style: none;
    margin: 1rem 0;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-features {
    text-align: right;
}

.timeline-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-live {
    background: #D1FAE5;
    color: #059669;
}

.status-progress {
    background: #DBEAFE;
    color: #2563EB;
}

.status-planned {
    background: #FEF3C7;
    color: #D97706;
}

.status-future {
    background: #F3F4F6;
    color: #6B7280;
}

.status-vision {
    background: #FCE7F3;
    color: #DB2777;
}

/* Scroll-based slide animations from borders */
.slide-from-left,
.slide-from-right {
    opacity: 0;
    transition: opacity 1.5s ease-out,
        transform 1.5s ease-out;
    will-change: transform, opacity;
}

.slide-from-left {
    transform: translate3d(-150px, 0, 0);
}

.slide-from-right {
    transform: translate3d(150px, 0, 0);
}

.slide-from-left.slide-in,
.slide-from-right.slide-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}




/* Mobile Responsiveness */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 8px;
        /* Align with dot */
        transform: translateX(0);
    }

    .timeline-progress {
        left: 8px;
        /* Align with dot */
        transform: translateX(0);
    }

    .timeline-item {
        padding: 0 0 3rem 40px !important;
        /* All padding on left */
        justify-content: flex-start !important;
        width: 100%;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        transform: translateX(20px);
        /* Unified animation direction */
    }

    .timeline-dot {
        left: 8px;
        /* Align with line */
        transform: translateX(0);
    }

    .timeline-content {
        margin: 0 !important;
        text-align: left !important;
        width: 100%;
        max-width: 100%;
    }

    /* Fix Odd alignments for mobile */
    .timeline-item:nth-child(odd) .chat-quote {
        border-left: 3px solid var(--primary);
        border-right: none;
        border-radius: 0 12px 12px 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-features {
        text-align: left;
    }

    /* Prevent timeline overflow */
    .timeline-content {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .timeline-features li {
        font-size: 0.85rem;
    }
}

/* =========================================
   New Hero Layout & Responsive Fixes
   ========================================= */

/* Desktop / Default State (Left Aligned) */
.hero-new-layout {
    text-align: left;
}

.definition-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
}

.definition-badge {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-title {
    margin-left: 0;
    margin-right: auto;
}

.hero-subtitle {
    margin-left: 0;
    max-width: 700px;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
    .hero-new-layout {
        text-align: center;
        padding-top: 100px;
    }

    .definition-wrapper {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .definition-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 90%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.2rem;
    }

    .definition-badge span {
        white-space: normal;
        line-height: 1.4;
        display: block;
    }

    .hero-title {
        margin-left: auto;
        margin-right: auto;
        font-size: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-mockup {
        margin-top: 3rem;
    }

    /* Center buttons on mobile */
    .hero .animate-fade-in {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero .btn {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }
}

/* Hide Continuous Innovation block on desktop only */
@media (min-width: 969px) {
    .core-values-grid .card:nth-child(4) {
        display: none;
    }
}

/* Make Coming Soon buttons smaller on mobile */
@media (max-width: 768px) {
    .btn-download {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
        min-width: auto !important;
    }
}

/* =========================================
   GLOBAL MOBILE OVERRIDES (Moved to end)
   ========================================= */
@media (max-width: 480px) {

    /* CRITICAL: Prevent all horizontal scroll */
    html {
        font-size: 13px !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100%;
    }

    /* Force all elements to respect viewport - but allow grids to work */
    *:not(.grid):not(.core-values-grid):not(.home-innovators):not(.card) {
        max-width: 100vw !important;
    }

    /* Images must never overflow */
    img,
    picture,
    video,
    canvas,
    svg {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Tighter Container */
    .container {
        padding: 0 0.8rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Compact Typography */
    .hero h1 {
        font-size: 1.6rem !important;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }

    .hero p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .section-header h2 {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 0.85rem !important;
    }

    h3,
    .card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem;
    }

    p,
    .card p {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

    /* Tighter Sections */
    .section {
        padding: 2rem 0 !important;
        overflow-x: hidden !important;
    }

    .hero,
    .hero-new-layout {
        padding: 100px 0 30px !important;
        text-align: center;
        overflow-x: hidden !important;
    }

    /* Small Buttons */
    .btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem !important;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    /* Force side-by-side buttons if possible */
    .hero .animate-fade-in {
        display: flex !important;
        gap: 0.5rem !important;
        flex-direction: row !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero .animate-fade-in>.btn {
        width: auto !important;
        flex: 1;
        padding: 0.6rem 0.6rem !important;
        font-size: 0.85rem !important;
        min-width: 120px;
    }

    /* Standardized 3-Column Grid (SAME AS GLOBAL COVERAGE) */
    .grid,
    .core-values-grid,
    .home-innovators,
    .privacy-feature-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Ensure Feature/Value Cards look aligned (SAME AS PRIVACY POLICY) */
    .grid .card,
    .core-values-grid .card,
    .home-innovators .card,
    .privacy-feature-item {
        padding: 1.2rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 12px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .card-icon,
    .pf-icon-box {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0 !important;
        margin-bottom: 1rem !important;
    }

    .card h3,
    .pf-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        font-weight: 600 !important;
        word-wrap: break-word !important;
    }

    .card p,
    .pf-content p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        word-wrap: break-word !important;
    }

    /* Ensure Text vs Image sections (Intent Grid) stack */
    .intent-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }

    .card-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Mobile Menu Touch-ups */
    .mobile-menu-btn {
        padding: 0;
        transform: scale(0.85);
    }

    .logo {
        font-size: 1.2rem;
    }

    /* Footer adjustments */
    footer {
        padding: 30px 0 20px;
    }

    .footer-col h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .footer-col:first-child p {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }

    .mockup-img {
        margin-top: 1.5rem;
    }
}

/* =========================================
   300px+ - Universal Small Screen Base
   ========================================= */
@media (max-width: 480px) and (min-width: 300px) {

    /* Ensure consistent layout for all small screens 300px-480px */
    html {
        font-size: clamp(11px, 3vw, 13px) !important;
    }

    .container {
        padding: 0 clamp(0.5rem, 2vw, 0.8rem) !important;
    }

    .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: clamp(0.4rem, 1.5vw, 0.8rem) !important;
    }

    .card {
        padding: clamp(0.5rem, 2vw, 1rem) !important;
    }

    .btn {
        padding: clamp(0.5rem, 1.5vw, 0.6rem) clamp(0.8rem, 2vw, 1rem) !important;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem) !important;
    }
}

/* =========================================
   360px - Common Android Phone Size
   ========================================= */
@media (max-width: 360px) {
    html {
        font-size: 11px !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Ultra-tight container */
    .container {
        padding: 0 0.5rem !important;
    }

    /* Smaller typography */
    .hero h1 {
        font-size: 1.3rem !important;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.8rem !important;
    }

    /* Compact cards */
    .card {
        padding: 0.5rem !important;
    }

    .card h3 {
        font-size: 0.95rem !important;
    }

    .card p {
        font-size: 0.75rem !important;
    }

    /* Smaller icons */
    .card-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .card-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* Tighter grid gaps */
    .grid,
    .core-values-grid,
    .home-innovators {
        gap: 0.4rem !important;
    }

    /* Smaller buttons */
    .btn {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.8rem !important;
    }

    /* Footer adjustments */
    .footer-col h4 {
        font-size: 0.8rem !important;
    }

    .footer-links a {
        font-size: 0.7rem !important;
    }

    .footer-col:first-child p {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 370px) {
    html {
        font-size: 12px !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    /* Force everything to fit */
    *,
    *::before,
    *::after {
        max-width: 100vw !important;
    }

    .hero h1 {
        font-size: 1.4rem !important;
    }

    .card {
        padding: 0.6rem !important;
    }

    .footer-grid {
        display: block !important;
    }

    .footer-col:first-child {
        display: block !important;
        width: 100% !important;
        text-align: center;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 1rem;
    }

    .footer-col:first-child .logo {
        display: block !important;
        text-align: center;
        margin: 0 auto;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) {
        display: inline-block !important;
        width: 32% !important;
        vertical-align: top;
        text-align: center;
        margin-bottom: 1rem;
    }
}