/* ==========================================================================
   1. COLOR PALETTE THEMES & DESIGN TOKENS
   ========================================================================== */

/* Light Theme (Default Root) */
:root,
[data-theme="light"] {
    --canvas: #fbfbfd;
    --bg-image: url('https://www.rareworksllc.com/images/whitecork.png');
    --text-dark: #1d1d1f;
    --text-muted: #424246;
    --sf-blue: #0071e3;
    --panel-bg: #ffffff;
    --border-light: #d2d2d7;
    --border-color: #d2d2d7;
    --pill-bg: #e8e8ed;
    --callout-bg: #f2f2f7;
    --shadow: rgba(0, 0, 0, 0.04);
    --tag-apple: #000000;
    --tag-android: #34a853;
    --heading-color: #1d1d1f;
    --toggle-bg: #d2d2d7;
    --toggle-handle: #ffffff;
    --nav-bg: #ffffff;
    --nav-text: #1a1a1a;
    --nav-burger-color: #1a1a1a;
    --dropdown-bg: #f8fafc;
    --dropdown-border: #cbd5e1;
    --dropdown-hover-bg: #f1f5f9;
    --table-section-bg: #f2f2f7;
    --table-th-bg: #fafafa;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
    --canvas: #111112;
    --bg-image: url('https://www.rareworksllc.com/images/blackcork.png');
    --text-dark: #f0f6fc;
    --text-muted: #aaabae;
    --sf-blue: #2997ff;
    --panel-bg: #16161a;
    --border-light: rgba(255, 255, 255, 0.12);
    --border-color: #30363d;
    --nav-bg: rgba(18, 18, 22, 0.9);
    --pill-bg: rgba(255, 255, 255, 0.08);
    --callout-bg: rgba(255, 255, 255, 0.04);
    --shadow: rgba(0, 0, 0, 0.6);
    --tag-apple: #ffffff;
    --tag-android: #34a853;
    --heading-color: #ffffff;
    --toggle-bg: #3a3a3c;
    --toggle-handle: #ffffff;
    --nav-text: #ffffff;
    --nav-burger-color: #ffffff;
    --dropdown-bg: #1a1a1a;
    --dropdown-border: #333333;
    --dropdown-hover-bg: #262626;
    --table-section-bg: #161b22;
    --table-th-bg: #21262d;
}

/* Fallback Media Query for Dark Mode System Preferences */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --canvas: #111112;
        --bg-image: url('https://www.rareworksllc.com/images/blackcork.png');
        --text-dark: #f0f6fc;
        --text-muted: #aaabae;
        --sf-blue: #2997ff;
        --panel-bg: #16161a;
        --border-light: rgba(255, 255, 255, 0.12);
        --border-color: #30363d;
        --nav-bg: rgba(18, 18, 22, 0.9);
        --pill-bg: rgba(255, 255, 255, 0.08);
        --callout-bg: rgba(255, 255, 255, 0.04);
        --shadow: rgba(0, 0, 0, 0.6);
        --tag-apple: #ffffff;
        --tag-android: #34a853;
        --heading-color: #ffffff;
        --toggle-bg: #3a3a3c;
        --toggle-handle: #ffffff;
        --nav-text: #ffffff;
        --nav-burger-color: #ffffff;
        --dropdown-bg: #1a1a1a;
        --dropdown-border: #333333;
        --dropdown-hover-bg: #262626;
        --table-section-bg: #161b22;
        --table-th-bg: #21262d;
    }
}

/* ==========================================================================
   2. GLOBAL BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--canvas);
    color: var(--text-dark);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Fixed background layer, decoupled from body's background-attachment.
   iOS WebKit is unreliable about painting background-attachment:fixed
   directly on body on first load (it can appear blank until a scroll
   or repaint forces it in) — a fixed-position pseudo-element avoids
   that bug while giving the same visual result. */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-repeat: repeat;
    background-position: top left;
    z-index: -1;
}

main {
    flex: 1 0 auto;
}

a {
    color: var(--sf-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

p, .subtitle, .card p {
    text-align: left;
}

.container {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   3. STICKY ACCESSIBLE NAVIGATION & DROPDOWNS
   ========================================================================== */

.nav-utility {
    border-bottom: 1px solid var(--border-light);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-area span {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.nav-interactive-zone {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Modern CSS Dropdowns */
.dropdown {
    position: relative;
    width: 100%;
}

.dropbtn {
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    color: var(--nav-text);
    transition: color 0.3s ease;
}

.dropdown-content {
    display: none;
    position: static;
    padding-left: 15px;
    box-shadow: none;
    border-radius: 4px;
    background-color: var(--dropdown-hover-bg);
    overflow: hidden;
}

.dropdown-content a {
    color: var(--nav-text) !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    opacity: 0.85;
}

.dropdown-content a:hover {
    opacity: 1;
    text-decoration: underline;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hamburger Drawer Container */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--nav-burger-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    background-color: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-menu-wrapper.active {
    display: block;
}

.nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   4. TOGGLE SWITCH COMPONENT
   ========================================================================== */

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

.theme-switch {
    display: inline-block;
    height: 26px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--toggle-bg);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .3s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    font-size: 0.75rem;
    user-select: none;
}

.slider:before {
    background-color: var(--toggle-handle);
    bottom: 3px;
    content: "";
    height: 20px;
    left: 3px;
    position: absolute;
    transition: .3s;
    width: 20px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

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

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

/* ==========================================================================
   5. HERO & STUDIO SECTIONS
   ========================================================================== */

.hero {
    text-align: center;
    padding: 30px 0;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    max-width: 90%;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 16px auto;
    color: var(--text-dark);
}

.hero .subtitle, 
.hero .subtitle-left {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 680px;
    width: 90%;
    margin: 0 auto 32px;
    line-height: 1.3;
    font-weight: 400;
}

.hero-studio {
    text-align: center;
    padding: 70px 0 50px;
    border-bottom: 1px solid var(--border-light);
}

.hero-studio h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    color: var(--heading-color);
}

.hero-studio p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 1.5;
}

.cta-group a {
    display: inline-block;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.cta-primary {
    background-color: var(--sf-blue);
    color: white !important;
    padding: 12px 28px;
    border-radius: 24px;
    transition: opacity 0.2s;
}

.cta-primary:hover {
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(180deg, #2ea44f 0%, #22863a 100%);
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(34, 134, 58, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 134, 58, 0.4);
}

/* ==========================================================================
   6. CARDS & PRODUCT CATALOGS
   ========================================================================== */

.section-header {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 50px 0 24px;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
    color: var(--heading-color);
}

/* Privacy Grid Layout */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 30px auto 0 auto;
    max-width: 85%;
    box-sizing: border-box;
    align-items: stretch;
}

.privacy-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-dark);
    box-shadow: 0 4px 12px var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
}

.privacy-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-align: left;
}

.privacy-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Inline Code Wrapping Utility */
.code-inline {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.85em;
    background: var(--callout-bg);
    padding: 2px 4px;
    border-radius: 2px;
    word-break: break-all;
    overflow-wrap: break-word;
}

/* Unified Card Grid System */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px auto 0 auto;
    max-width: 85%;
    box-sizing: border-box;
}

.card-item {
    background: var(--panel-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-dark);
    box-shadow: 0 4px 12px var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
}

.card-item h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-align: left;
}

.card-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.card-item img,
.card-item a {
    margin-top: auto;
}

/* Product Matrix Layout */
.product-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    justify-items: center;
}

.product-card {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    background: var(--panel-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px var(--shadow);
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 16px;
    align-items: start;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.product-card img {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    grid-column: 1;
    grid-row: 1;
}

.product-header-area {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-info h3 a {
    text-decoration: none;
    color: var(--text-dark);
}

.product-info h3 a:hover {
    color: var(--sf-blue);
}

.product-description-area {
    grid-column: 1 / span 2;
    grid-row: 2;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

/* Multi-Column Feature Row */
.matrix-section {
    padding: 10px 0;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.matrix-item {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    background: var(--panel-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 32px;
}

.matrix-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.matrix-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.matrix-item > a {
    margin-top: auto;
}

/* Alternating Spotlight Sections */
.spotlight {
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}

.spotlight-wrapper {
    display: flex;
    align-items: center;
    gap: 64px;
}

.spotlight-content {
    flex: 1;
}

.spotlight-content p {
    margin-left: 10px;
    margin-right: 10px;
}

.spotlight-media {
    flex: 1.2;
    text-align: center;
}

.spotlight-media img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
}

.spotlight-media2 {
    flex: 1.2;
    text-align: center;
}

.spotlight-media2 img {
    max-width: 50%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
}

.eyebrow {
    color: var(--sf-blue);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.spotlight h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.spotlight p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Generic Cards Grid Structure */
.card {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 16px;
    align-items: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px var(--shadow);
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 10px 20px var(--shadow);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    flex-shrink: 0;
    object-fit: cover;
    grid-column: 1;
    grid-row: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card-header-area {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-info {
    grid-column: 1 / span 2;
    grid-row: 2;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--heading-color);
}

.card-info p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.card-img {
    width: 90%;
    min-width: 200px;
    max-width: 400px;
    height: auto;
    vertical-align: top;
    padding-bottom: 10px;
}

.dd-img {
    width: 18%;
    min-width: 130px;
    max-width: 200px;
    height: auto;
    vertical-align: top;
    padding-bottom: 10px;
}

#overview-dd-img {
    width: 22%;
    min-width: 200px;
    max-width: 400px;
    height: auto;
    vertical-align: top;
}

.centeredwidedetail {
    display: block;
    margin: auto;
    text-align: center;
    width: 90%;
}

.notification-dd-img {
    width: 50%;
    min-width: 200px;
    max-width: 400px;
    height: auto;
    vertical-align: top;
    padding-bottom: 10px;
}

/* ==========================================================================
   7. BADGES, TAGS, & GEO SECTION
   ========================================================================== */

.policy-badge {
    display: inline-block;
    padding: 6px 16px;
    max-width: 90%;
    background: var(--callout-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.privacy-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    width: fit-content;
}

.tag-green { background-color: rgba(46, 125, 50, 0.15); color: #2e7d32; }
.tag-blue { background-color: rgba(21, 101, 192, 0.15); color: #1565c0; }
.tag-purple { background-color: rgba(106, 27, 154, 0.15); color: #6a1b9a; }

.platform-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
    width: fit-content;
    display: inline-block;
}

.platform-tags-container {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.tag-mac {
    background: var(--pill-bg);
    color: var(--tag-apple);
}

.tag-ios {
    background: rgba(0, 113, 227, 0.12);
    color: var(--sf-blue);
}

.tag-droid {
    background: rgba(52, 168, 83, 0.12);
    color: var(--tag-android);
}

.tag-widget {
    background: rgba(106, 27, 154, 0.12);
    color: var(--heading-color);
}

/* Enhanced GEO / FAQ Section */
.geo-section {
    width: 85%;
    max-width: 85%;
    margin: 40px auto 0 auto;
    padding: 32px;
    background: var(--panel-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px var(--shadow);
}

.geo-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--heading-color);
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.geo-section > div {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.geo-section > div:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.geo-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--sf-blue);
}

.geo-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   8. NEWS / CHRONOLOGY & LIGHTBOX
   ========================================================================== */

.news-year-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 50px 0 20px;
    color: var(--heading-color);
    border-left: 4px solid var(--sf-blue);
    padding-left: 12px;
}

.news-date {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sf-blue);
    font-weight: 700;
    margin-bottom: 4px;
}

.news-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.chart-flex img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.expandable-image {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.expandable-image:hover {
    opacity: 0.9;
}

.expandable-fs-image {
    cursor: pointer;
    transition: opacity 0.2s ease;
    width: 45%;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    vertical-align: top;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
}

.expandable-fs-image:hover {
    opacity: 0.9;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.25s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================================================
   9. FOOTER & CONSOLIDATED RESPONSIVE BREAKPOINTS
   ========================================================================== */

footer {
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid var(--border-light);
    background: var(--canvas);
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
}

footer p {
    margin: 0;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

footer a {
    display: inline-flex;
    align-items: center;
}

/* Tablet Breakpoint (769px to 900px) */
@media (max-width: 900px) and (min-width: 769px) {
    .privacy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Breakpoint (Up to 768px) */
@media screen and (max-width: 768px) {
    footer {
        flex-direction: column;
        gap: 12px;
    }

    .hero h1 {
        font-size: 1.8rem !important;
    }

    .hero .subtitle {
        font-size: 0.95rem !important;
    }

    .geo-section {
        width: 85% !important;
        max-width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        margin-top: 24px !important;
    }

    .privacy-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 20px;
        gap: 16px;
    }

    .privacy-card {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 20px !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .card-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 20px;
        gap: 16px;
    }

    .card-item {
        width: 85% !important;
        max-width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   10. PAGE-SPECIFIC UTILITIES & OVERRIDES
   ========================================================================== */

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.no-underline {
    text-decoration: none !important;
}

.flex-col-stretch {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Image Utilities */
.img-hero-logo {
    max-width: 75%;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.img-store-badge {
    height: 60px;
    width: auto;
}

.img-store-badge-mac {
    height: 60px;
    width: auto;
    margin-left: 10px;
}

.img-card-centered {
    width: 50%;
    margin: 0 auto;
    display: inline-block;
}

.img-gallery-thumb {
    width: 22%;
    min-width: 180px;
}

.img-gallery-fs {
    width: 22%;
}

.img-chart-responsive {
    max-width: 320px;
    margin: auto;
    display: block;
}

/* Layout Utilities */
.cta-group-apple {
    text-align: center;
    margin-top: 30px;
}

.gallery-row {
    text-align: center;
    margin-top: 20px;
    margin-left: 2px;
    margin-right: 2px;
}

.spotlight-dark-bg {
    background-color: var(--canvas);
    padding: 50px 0;
}

.spotlight-narrow-container {
    max-width: 800px;
    text-align: center;
}

.spotlight-lead-text {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    text-align: left;
}

/* GEO / FAQ Section Rules */
.faq-capsule {
    margin: 20px auto 40px auto;
    padding: 28px;
    width: 85%;
    max-width: 884px;
    background: var(--panel-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
}

.faq-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    text-align: center;
}

.faq-item {
    margin-bottom: 16px;
}

.faq-question {
    font-size: 1.05rem;
    color: var(--sf-blue);
    margin-bottom: 6px;
}

.faq-answer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Footer Section */
.site-footer {
    margin-top: 60px;
    padding: 40px 16px;
    border-top: 1px solid var(--border-light);
    background-color: var(--panel-bg);
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-privacy-btn {
    display: inline-block;
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    background-color: var(--sf-blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: opacity 0.2s ease;
}

.footer-copy-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}
