/* ===================================
   The System - Premium Design System
   =================================== */

:root {
    /* Brand Colors */
    --coral: #F96F6E;
    --teal: #2ED3C6;
    --ink: #FFFFFF;
    --ink-dim: rgba(255, 255, 255, 0.85);
    --ink-muted: rgba(255, 255, 255, 0.6);
    
    /* Background */
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 60px;
    --container-max: 1400px;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    max-width: 65ch;
    margin-bottom: 1.5rem;
    color: var(--ink-dim);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
}

/* Text Colors */
.text-coral {
    color: var(--coral);
}

.text-teal {
    color: var(--teal);
}

.text-gradient {
    background: linear-gradient(90deg, var(--coral), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Glass Morphism Cards
   =================================== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Navigation
   =================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--coral);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

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

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--section-padding) 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(249, 111, 110, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 211, 198, 0.1) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
}

.hero-title {
    margin-bottom: 3rem;
    line-height: 1;
}

.hero-subtitle {
    margin-bottom: 4rem;
}

.subtitle-line {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--ink-dim);
    margin-bottom: 0.5rem;
}

.hub-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.the-word {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--ink-muted);
}

.hub-word {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--ink);
    position: relative;
    display: inline-block;
}

.hub-word::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--coral);
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    color: var(--ink-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--ink-muted);
    font-size: 0.9rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--ink-muted);
    border-bottom: 2px solid var(--ink-muted);
    transform: rotate(45deg);
}

/* ===================================
   Animation Classes
   =================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* ===================================
   Section Layouts
   =================================== */

section {
    padding: var(--section-padding) 2rem;
    position: relative;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    text-align: center;
}

/* ===================================
   Why Section
   =================================== */

.why-section {
    background: var(--bg-darker);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    align-items: start;
}

.quote-card {
    padding: 3rem;
}

.quote-card blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--ink);
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===================================
   Arm Sections
   =================================== */

.arm-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.arm-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.arm-section:nth-child(even) {
    background: var(--bg-darker);
}

.arm-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.arm-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
}

.arm-icon-wrapper {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.arm-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2) saturate(1.1) drop-shadow(0 0 40px rgba(249, 111, 110, 0.3));
    animation: float-icon 8s ease-in-out infinite;
    opacity: 1;
    mix-blend-mode: screen;
}

@keyframes float-icon {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: brightness(1.2) saturate(1.1) drop-shadow(0 0 40px rgba(249, 111, 110, 0.3));
    }
    50% { 
        transform: translateY(-20px) rotate(5deg);
        filter: brightness(1.3) saturate(1.2) drop-shadow(0 0 60px rgba(249, 111, 110, 0.4));
    }
}

.arm-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink-muted);
    font-weight: 300;
}

.arm-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-main {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
}

.title-sub {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
}

.arm-content-wrapper {
    max-width: 900px;
}

.arm-glass-card {
    padding: 4rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.best-for {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: baseline;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.best-for .label {
    font-weight: 700;
    font-size: 1.1rem;
}

.best-for .value {
    color: var(--ink-dim);
}

/* ===================================
   Ecosystem Section
   =================================== */

.ecosystem-section {
    background: var(--bg-darker);
}

.ecosystem-intro {
    text-align: center;
    font-size: 1.25rem;
    margin: 0 auto 4rem;
    max-width: 800px;
}

.ecosystem-diagram {
    margin: 4rem 0;
}

.ecosystem-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    text-align: center;
}

.flow-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.flow-icon-img {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    position: relative;
}

.flow-icon-img::before,
.flow-icon-img::after {
    display: none;
}

.flow-icon-dual {
    width: 140px;
    gap: 12px;
}

.flow-icon-dual .flow-icon-small {
    width: 60px;
    height: 60px;
}

.flow-icon-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    background: transparent !important;
    mix-blend-mode: lighten;
    opacity: 0.95;
}

.flow-item:hover .flow-icon-small {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.3) drop-shadow(0 0 20px rgba(249, 111, 110, 0.5));
}

.flow-icon-dual .flow-icon-small:first-child {
    animation-delay: 0s;
}

.flow-icon-dual .flow-icon-small:last-child {
    animation-delay: 0.15s;
}

.flow-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.flow-item p {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin: 0;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: "Segoe UI Symbol", "Noto Sans Symbols", "Apple Symbols", system-ui, sans-serif;
}

/* Desktop: Single arrows point horizontally */
.flow-arrow:not(.dual-arrows) {
    font-size: 0; /* Hide original arrow content */
}

.flow-arrow:not(.dual-arrows)::before {
    content: "→";
    display: block;
    font-size: 2rem;
    color: var(--ink-muted);
}

/* Dual arrows for the first flow arrow */
.flow-arrow.dual-arrows {
    gap: 1rem;
    position: relative;
    flex-direction: column; /* stack vertically on desktop */
}

.flow-arrow.dual-arrows .arrow-left,
.flow-arrow.dual-arrows .arrow-right {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.flow-arrow.dual-arrows .arrow-left {
    transform: translateX(-0.5rem);
}

.flow-arrow.dual-arrows .arrow-right {
    transform: translateX(0.5rem);
}

/* Default: Combined card visible, split cards hidden */
.combined-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    contain: layout style;
}

.split-cards-container {
    display: none;
}

/* Split cards layout - Desktop only (above 1024px) */
@media (min-width: 1025px) {
    .split-cards-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .split-card {
        min-height: auto;
        padding: 1.5rem;
        text-align: center;
    }

    .split-card h3 {
        font-size: 1.1rem;
        margin: 0.5rem 0 0 0;
    }

    .combined-card {
        display: none;
    }
}

/* Combined card layout - Tablet and Mobile (1024px and below) */
@media (max-width: 1024px) {
    .split-cards-container {
        display: none;
    }
    
    .combined-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .combined-card .card-icon {
        margin-bottom: 1rem;
    }
    
    .combined-card h3 {
        margin: 0.5rem 0;
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
    }
    
    .combined-card p {
        margin: 0;
        text-align: center;
        width: 100%;
    }
}

.ecosystem-conclusion {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 4rem auto 0;
    max-width: 800px;
}

/* ===================================
   Principles Section
   =================================== */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    padding: 3rem;
}

.principle-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.principle-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.principle-card li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--ink-dim);
}

.principle-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--coral);
}

.signature-phrases {
    grid-column: span 2;
}

.phrase-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.phrase {
    font-size: 1.5rem;
    font-style: italic;
    font-family: var(--font-display);
    color: var(--ink);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 4px solid var(--coral);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: var(--bg-darker);
    padding: var(--section-padding) 2rem;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--ink-dim);
    margin-bottom: 3rem;
}

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

.btn {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-coral {
    background: var(--coral);
    color: white;
}

.btn-coral:hover {
    background: transparent;
    border-color: var(--coral);
    color: var(--coral);
}

.btn-teal {
    background: var(--teal);
    color: var(--bg-dark);
}

.btn-teal:hover {
    background: transparent;
    border-color: var(--teal);
    color: var(--teal);
}

/* ===================================
   Admin Toggle & Content
   =================================== */

.admin-toggle-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--ink-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.admin-toggle-btn:hover {
    background: var(--glass-hover);
    border-color: var(--coral);
    color: var(--coral);
    transform: scale(1.1);
}

.admin-toggle-btn.active {
    background: var(--coral);
    color: white;
    border-color: var(--coral);
}

.admin-content {
    margin-top: 2rem;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-section {
    background: rgba(249, 111, 110, 0.05);
    border-color: var(--coral);
    padding: 2rem;
    margin-top: 2rem;
}

.admin-header {
    font-size: 1.25rem;
    color: var(--coral);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.messaging-examples {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.context-label {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.message-item p {
    margin: 0;
    padding-left: 1rem;
    border-left: 2px solid var(--glass-border);
    font-style: italic;
    color: var(--ink-dim);
}

/* ===================================
   The Hub Footer
   =================================== */

.hub-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: start;
}

/* Brand Section */
.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 0 0 0.5rem;
    color: var(--ink);
}

.footer-tagline {
    color: var(--ink-dim);
    font-size: 0.95rem;
    margin: 0;
    max-width: 300px;
    line-height: 1.5;
}

.footer-copyright {
    color: var(--ink-muted);
    font-size: 0.85rem;
    margin: 1rem 0 0;
}

/* Footer Navigation - Three Key Items */
.footer-nav-section {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink-dim);
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    min-width: 120px;
}

.footer-link:hover {
    background: var(--glass-hover);
    border-color: rgba(249, 111, 110, 0.5);
    color: var(--coral);
    transform: translateY(-4px);
}

.footer-link:hover .footer-icon {
    color: var(--coral);
    transform: scale(1.1);
}

.footer-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    transition: all 0.3s ease;
}

.footer-link span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Social Links */
.footer-social-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.footer-social-section a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-social-section a:hover {
    color: var(--coral);
}

/* ===================================
   Responsive Design
   =================================== */

/* Desktop: Ensure arrows point horizontally */
@media (min-width: 1025px) {
    .flow-arrow:not(.dual-arrows)::before {
        content: "→";
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
    
    .ecosystem-flow {
        flex-direction: column;
    }
    
    /* Single arrows point downward on mobile */
    .flow-arrow:not(.dual-arrows) {
        transform: none;
    }
    
    .flow-arrow:not(.dual-arrows)::before {
        content: "↓";
        display: block;
    }
    
    /* Hide the original arrow content on mobile */
    .flow-arrow:not(.dual-arrows) {
        font-size: 0;
    }
    
    .flow-arrow:not(.dual-arrows)::before {
        font-size: 2rem;
        color: var(--ink-muted);
    }
    
    /* Dual arrows point downward on mobile */
    .flow-arrow.dual-arrows {
        flex-direction: row;
        gap: 0.8rem;
        align-items: center;
        justify-content: center;
    }
    
    .flow-arrow.dual-arrows .arrow-left,
    .flow-arrow.dual-arrows .arrow-right {
        transform: none;
        font-size: 1.5rem;
    }
    
    /* Keep dual arrows in their original diagonal orientation on mobile */
    .flow-arrow.dual-arrows .arrow-left,
    .flow-arrow.dual-arrows .arrow-right {
        font-size: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-nav-section {
        justify-content: center;
    }

    .footer-social-section {
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .glass-card {
        padding: 2rem;
    }
    
    .arm-glass-card {
        padding: 2.5rem;
    }
    
    .arm-icon-wrapper {
        width: 400px;
        height: 400px;
        right: 5%;
        opacity: 0.1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-nav-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .footer-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }

    .footer-link span {
        text-align: left;
    }
    
    .footer-social-section {
        align-items: center;
    }
    
    .signature-phrases {
        grid-column: span 1;
    }
}

/* Password Modal Styles */
.password-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.password-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.password-modal-content { position: relative; width: 100%; max-width: 420px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 2.5rem 2rem; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.password-modal .lock-icon { width: 48px; height: 48px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #F96F6E 0%, #2ED3C6 100%); border-radius: 16px; }
.password-modal .lock-icon svg { width: 24px; height: 24px; color: white; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 600; color: #ffffff; text-align: center; margin-bottom: 0.5rem; }
.modal-subtitle { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; text-align: center; margin-bottom: 2rem; }
.input-wrapper { position: relative; margin-bottom: 1.5rem; }
.modal-input-field { width: 100%; padding: 1rem 3rem 1rem 1.25rem; background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.15); border-radius: 12px; color: #ffffff; font-size: 1rem; font-family: 'Inter', sans-serif; transition: all 0.3s ease; }
.modal-input-field:focus { outline: none; background: rgba(255, 255, 255, 0.08); border-color: #F96F6E; box-shadow: 0 0 0 3px rgba(249, 111, 110, 0.1); }
.modal-input-field::placeholder { color: rgba(255, 255, 255, 0.3); }
.modal-toggle-password { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255, 255, 255, 0.4); cursor: pointer; padding: 0.5rem; transition: color 0.3s ease; }
.modal-toggle-password:hover { color: rgba(255, 255, 255, 0.7); }
.modal-toggle-password svg { width: 20px; height: 20px; }
.modal-submit-btn { width: 100%; padding: 1rem; background: linear-gradient(135deg, #F96F6E 0%, #2ED3C6 100%); border: none; border-radius: 12px; color: white; font-size: 1rem; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.3s ease; margin-bottom: 0.75rem; }
.modal-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249, 111, 110, 0.4); }
.modal-cancel-btn { width: 100%; padding: 1rem; background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.15); border-radius: 12px; color: rgba(255, 255, 255, 0.7); font-size: 1rem; font-weight: 500; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.3s ease; }
.modal-cancel-btn:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); color: #ffffff; }
.modal-error-message { margin-top: 1rem; padding: 0.875rem; background: rgba(249, 111, 110, 0.1); border: 1px solid rgba(249, 111, 110, 0.3); border-radius: 10px; color: #F96F6E; font-size: 0.9rem; text-align: center; animation: shake 0.5s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }