@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --accent-blue: #0071e3;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.05);
    --border-radius-lg: 44px;
    --border-radius-md: 28px;
    --max-width: 90%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

html,
body {
    background-color: #000;
    overflow-x: hidden;
    width: 100%;
}

/* === Navigation (Centered Pill Design) === */
.nav1 {
    width: 100%;
    padding: 24px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav1.nav-hidden {
    transform: translateY(-100%);
}

.nav1 button {
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav1 button img {
    width: 40px;
    height: 40px;
}

.nav1 h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-left: 12px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
}

.nav2 {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    padding: 10px 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav2 button {
    background: transparent;
    border: none;
    color: #a1a1a6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 4px 0;
}

.nav2 button:hover,
.nav2 button#tapped {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn i {
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.trans-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
    margin-left: 20px;
}

.trans-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Legal Navigation Pill (Website Style) */
.legal-nav-pill {
    display: flex;
    gap: 20px;
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    padding: 8px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.legal-nav-pill.scrolled {
    top: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-nav-pill a {
    text-decoration: none;
    color: #a1a1a6;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 4px 12px;
    border-radius: 20px;
}

.legal-nav-pill a:hover {
    color: #fff;
}

.legal-nav-pill a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.parallax-pin-wrapper {
    height: 180vh;
    /* Shorter scroll track for tighter feel */
    position: relative;
    background: #000;
}

.hero-legal {
    text-align: center;
    padding: 0 24px;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)), url('../assets/background.png'), #000;
    background-size: cover;
    background-position: center bottom;
    background-attachment: scroll;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
    /* Let clicks pass through if needed, though usually not */
}

.hero-legal.active {
    opacity: 1;
    pointer-events: all;
}

.parallax-header-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
}

.hero-legal h1 {
    font-size: 88px;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.hero-legal h1 span {
    display: inline-block;
    min-width: 0.2em;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-legal h1 span.dot {
    font-family: Arial, sans-serif;
    transform: scale(1.2);
    margin-left: 2px;
}

.lock-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.lock-logo-container.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.lock-logo-container img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.hero-legal p {
    font-size: 24px;
    color: var(--text-secondary);
    position: relative;
    transition: opacity 0.5s ease;
    margin-top: 20px;
}

/* Brand Value Section */
.brand-value {
    padding: 180px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.brand-lock {
    margin-bottom: 60px;
}

.brand-lock img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.15));
}

.brand-value p {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #fff;
    margin: 0;
}

@media (max-width: 900px) {
    .brand-value p {
        font-size: 32px;
        letter-spacing: -1px;
    }
}

@media (max-width: 900px) {
    .brand-value p {
        font-size: 32px;
        letter-spacing: -1px;
    }
}

/* Intelligence Privacy Section */
.intelligence-privacy {
    padding: 120px 24px;
    background: #000;
}

.intel-header {
    text-align: left;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.gradient-text {
    display: inline-block;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #406BDF, #C32129, #31B786);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intel-header h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    max-width: 800px;
}

.intel-header p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 800px;
}

.intel-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 860px;
    /* Narrowed from 1100px for portrait look */
    margin: 0 auto;
}

.intelligence-privacy .promo-card {
    background: #1c1c1e;
    border-radius: 40px;
    padding: 50px 35px;
    position: relative;
    overflow: hidden;
    height: 620px;
    /* Fixed height for consistent portrait look */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intelligence-privacy .promo-card:hover {
    transform: scale(1.02);
}

.intelligence-privacy .promo-card .img-box {
    width: 100%;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    /* Push to bottom */
    margin-bottom: 20px;
}

.glowing-icon {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    position: relative;
}


.chip-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: url('../assets/glowing.png') no-repeat center;
    background-size: contain;
}

.cloud-icon {
    background: radial-gradient(circle at center, rgba(255, 45, 85, 0.2), transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: url('../assets/cloudflare.png') no-repeat center;
    background-size: contain;
}

.cloud-icon::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.4), transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
}

.intelligence-privacy .promo-card h3 {
    font-size: 26px;
    /* Slightly smaller for better fit in narrow card */
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-top: 0;
    text-align: left;
    margin-bottom: 20px;
}

.intelligence-privacy .promo-card h3 span {
    color: #8e8e93;
}

.intelligence-privacy .plus {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
}

.intelligence-privacy .plus:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.intelligence-privacy .card-detail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 22, 0.99);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 60px 40px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.intelligence-privacy .promo-card.active .card-detail {
    opacity: 1;
    pointer-events: all;
}

.intelligence-privacy .close-detail {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.intelligence-privacy .card-detail h4 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
}

.intelligence-privacy .card-detail p {
    font-size: 18px;
    line-height: 1.6;
    color: #a1a1a6;
}

.intel-footer {
    max-width: 860px;
    margin: 40px auto 0;
    text-align: left;
}

.intel-link {
    color: #007aff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.intel-link:hover {
    opacity: 0.8;
}

@media (max-width: 900px) {
    .intel-cards {
        grid-template-columns: 1fr;
    }

    .intel-header h1 {
        font-size: 40px;
    }

    .intelligence-privacy .promo-card {
        min-height: auto;
        padding: 40px 20px;
    }

    .intelligence-privacy .promo-card h3 {
        font-size: 24px;
    }
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 24px 160px;
    /* Reduced top padding for connectivity */
}

/* Standalone Page Content */
.legal-content-block {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-bottom: 80px;
}

.legal-content-block.active {
    opacity: 1;
    transform: translateY(0);
}

.legal-content-block h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 40px;
    line-height: 1.1;
}

.legal-content-block p,
.legal-content-block li {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.legal-content-block strong {
    color: #fff;
}

.legal-content-block ul {
    list-style: none;
    margin-bottom: 40px;
}

.legal-content-block code {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 16px;
    color: var(--accent-blue);
}

/* Landing Page Grid */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 120px;
}

.grid-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 44px;
    padding: 60px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.grid-item.active {
    opacity: 1;
    transform: translateY(0);
}

.grid-item h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.grid-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.grid-item .plus {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.grid-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.02);
}

.grid-item:hover .plus {
    background: #fff;
}

.grid-item:hover .plus i {
    color: #000;
}

/* Footer Sync */
.main-footer {
    padding: 100px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-legal h1 {
        font-size: 52px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .grid-item {
        padding: 40px;
    }

    .legal-nav-pill {
        top: 80px;
        bottom: auto;
        width: 100%;
        max-width: 100vw;
        justify-content: center;
        padding: 8px 15px;
        position: fixed;
        border-radius: 0;
        border-left: none;
        border-right: none;
        gap: 12px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .legal-nav-pill::-webkit-scrollbar {
        display: none;
    }

    .legal-nav-pill a {
        font-size: 11px;
        padding: 6px 10px;
        flex-shrink: 0;
    }

    /* Global Nav Mobile Refactor */
    .nav1 {
        padding: 15px 24px;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        position: fixed;
        /* Keep fixed for consistency */
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav1 h1 {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
    }

    .nav2 {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 30px;
        gap: 20px;
        z-index: 1999;
        border-bottom: 1px solid var(--card-border);
        transform: none;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        background-color: #000;
    }

    .nav2.active {
        display: flex;
    }

    .nav2 button {
        font-size: 18px;
        text-align: left;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: transparent;
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .trans-btn {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* === Horizontal Carousel (Apple Dark Redesign) === */
.carousel-container {
    padding: 20px 0 100px;
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 0 40px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-controls button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-controls button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.carousel-container .promo-card {
    min-width: 380px;
    height: 520px;
    background: #1c1c1e !important;
    border-radius: 44px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
    border: none !important;
}

.carousel-container .promo-card:hover {
    transform: scale(1.02);
}

.carousel-container .promo-card .top-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.carousel-container .promo-card .top-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 113, 255, 0.3));
}

.carousel-container .promo-card h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.carousel-container .promo-card h3 span.blue {
    color: #007aff !important;
}

.carousel-container .promo-card h3 span.white {
    color: #ffffff !important;
}

.carousel-container .promo-card .plus {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-container .promo-card .plus i {
    color: #ffffff !important;
    opacity: 0.8;
}

.carousel-container .promo-card .plus:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.1);
}

/* Full-Screen Modal Overlay (Transparency Style) */
.legal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 24px;
}

.legal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.legal-overlay .overlay-card {
    background: #111;
    width: 100%;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 44px;
    padding: 60px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.legal-overlay.open .overlay-card {
    transform: translateY(0);
}

.legal-overlay .close-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.legal-overlay .close-overlay:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.legal-overlay h2 {
    font-size: 44px;
    font-weight: 800;
    color: #007aff;
    margin-bottom: 24px;
    letter-spacing: -1.2px;
}

.legal-overlay p {
    font-size: 19px;
    color: #86868b;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .legal-overlay .overlay-card {
        padding: 40px 24px;
        border-radius: 32px;
    }

    .legal-overlay h2 {
        font-size: 32px;
    }
}

/* Ecosystem Two-Part Card Styles (Refined) */
.ecosystem-card {
    min-width: 360px;
    height: 520px;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
    border: none !important;
    background: #000;
    /* Fallback */
}

.ecosystem-card:hover {
    transform: scale(1.02);
}

.ecosystem-card .card-top {
    flex: 1.8;
    /* Larger top part */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Squircle Icon Container */
.ecosystem-card .squircle-icon {
    width: 100px;
    height: 100px;
    border-radius: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ecosystem-card .squircle-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25px;

}

.ecosystem-card .card-bottom {
    flex: 1;
    background: #1c1c1e;
    /* Classic Apple Dark Gray */
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ecosystem-card .card-bottom h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff !important;
    margin: 0;
    text-align: left;
    letter-spacing: -0.5px;
    display: block !important;
}

.ecosystem-card .plus {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.ecosystem-card .plus i {
    color: #fff !important;
}

.ecosystem-card .plus:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

/* Ecosystem Background Colors */
.bg-blue {
    background: #007aff;
}

.bg-pink {
    background: #ff2d55;
}

.bg-orange {
    background: #ff9500;
}

.bg-green {
    background: #34c759;
}

.bg-purple {
    background: #af52de;
}

.bg-cyan {
    background: #5ac8fa;
}

.bg-indigo {
    background: #5856d6;
}

.bg-red {
    background: #ff3b30;
}

@media (max-width: 900px) {
    .ecosystem-card {
        min-width: 300px;
        height: 460px;
    }

    .ecosystem-card .card-bottom h3 {
        font-size: 22px;
    }

    .ecosystem-card .squircle-icon {
        width: 80px;
        height: 80px;
    }
}

/* Features Page Specific Styles */
.legal-container.features-layout {
    max-width: 1000px;
    /* Wider container override */
}

.features-intro {
    padding-bottom: 80px;
    max-width: 1000px;
    margin: 100px auto 0;
    text-align: left;
}

.feature-full-img {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: 0 auto 80px;
    border-radius: 40px;
    height: auto;
}

.features-intro h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 30px;
    color: #fff;
}

.features-intro p {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 1000px;
    /* Keep text slightly readable/narrower than full width */
}

/* Feature Hero Card */
.feature-hero {
    background: #1c1c1e;
    border-radius: 40px;
    padding: 60px 40px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feature-hero-content {
    z-index: 2;
    max-width: 45%;
}

.feature-hero-text {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(90deg, #A8C0FF, #3f2b96);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    background: url('../assets/ainara.png') no-repeat center bottom;
    background-size: contain;
}

/* Text Block Below Hero */
.feature-mid-text {
    max-width: 1000px;
    margin: 0 auto 100px;
    text-align: left;
}

.feature-mid-text h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0;
}

/* Bottom Grid */
.feature-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.feature-detail-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.feature-detail-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .features-intro h1 {
        font-size: 42px;
    }

    .feature-hero {
        flex-direction: column;
        justify-content: flex-start;
        text-align: left;
        padding: 40px 24px;
        min-height: 500px;
    }

    .feature-hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .feature-hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        right: auto;
        bottom: auto;
    }

    .feature-mid-text h2 {
        font-size: 24px;
    }

    .feature-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Feature Rows (Two Column with Phone Images) */
.feature-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto 120px;
}

.feature-row-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content */
    text-align: left;
    /* Keep text left aligned inside container if desired, or center? Reference looks left-aligned text block */
}

/* Specific alignment for the reference look: Image centered, text block below left-aligned relative to itself but visually balanced */
.feature-row-item {
    text-align: left;
}

.feature-image-container {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optional: Add a subtle background or specific height if needed, but transparent images requested */
}

.feature-phone-img {
    width: 100%;
    max-width: 320px;
    /* Limit phone size to look realistic */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    /* Adds depth */
    transition: transform 0.5s ease;
}

.feature-phone-img:hover {
    transform: translateY(-10px);
}

.feature-text-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.1;
}

.feature-text-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .feature-rows {
        grid-template-columns: 1fr;
        gap: 80px;
    }

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

    .feature-text-content h3 {
        margin-top: 20px;
    }
}

/* Privacy Policy Page Specific Styles */
.privacy-intro {
    max-width: 800px;
    margin: 60px auto 100px;
    text-align: left;
}

.privacy-intro h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -1px;
}

.privacy-intro p {
    font-size: 21px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 400;
}

.privacy-intro .reduced-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.privacy-icon-container {
    margin: 60px 0;
}

.privacy-icon-container img {
    width: 60px;
    height: auto;
}

.privacy-links {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.privacy-links a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.privacy-links a:hover {
    text-decoration: underline;
}

.privacy-sublinks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 900px) {
    .privacy-intro h1 {
        font-size: 40px;
    }

    .privacy-intro p {
        font-size: 19px;
    }
}

/* Privacy Accordion */
.privacy-accordion {
    max-width: 800px;
    margin: 80px auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: -0.5px;
}

.icon-toggle {
    font-size: 24px;
    color: #86868b;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding-right: 20px;
}

.accordion-content p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.accordion-content p:last-child {
    margin-bottom: 40px;
}

.accordion-content p strong {
    color: #fff;
}

/* Expanded State */
.accordion-item.expanded .accordion-content {
    max-height: 1000px;
    /* Arbitrary large height */
    opacity: 1;
}

.accordion-item.expanded .icon-toggle i {
    /* We switch icon class via JS, but can also rotate */
    color: #fff;
}

@media (max-width: 900px) {
    .accordion-header h2 {
        font-size: 22px;
    }
}