/* --- Brand Variables (Global) --- */
:root {
    --sw-alabaster: #F9F8F4;
    --sw-forest: #2D3A31;
    --sw-sage: #8C9A84;
    --sw-clay: #DCCFC2;
    --sw-terracotta: #C27B66;
    --sw-shadow: 0 10px 15px -3px rgba(45, 58, 49, 0.05);
    --sw-shadow-hover: 0 20px 40px -8px rgba(45, 58, 49, 0.1);
    --sw-radius: 24px;
    --sw-radius-arch: 50% 50% 0 0;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

/* ======== RESET & BASE ======== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-sans);
    background-color: var(--sw-alabaster);
    color: var(--sw-forest);
    direction: ltr;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ======== NOISE OVERLAY ======== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.015;
}
.noise-overlay svg {
    width: 100%;
    height: 100%;
}

/* ======== HEADER ======== */
.nexus-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    direction: ltr;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(249, 248, 244, 0.95) 0%, rgba(249, 248, 244, 0) 100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s ease, background 0.3s ease;
}
.nexus-header.scrolled {
    background: rgba(249, 248, 244, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 58, 49, 0.06);
}
.header-logo {
    display: flex;
    align-items: center;
    z-index: 10001;
}
.header-logo img {
    height: 42px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}
.menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
.menu-text {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--sw-forest);
    transition: color 0.3s;
}
.hamburger-lines {
    width: 28px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.line {
    width: 100%;
    height: 1.5px;
    background-color: var(--sw-forest);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 2px;
}
.menu-open .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--sw-alabaster);
}
.menu-open .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.menu-open .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: var(--sw-alabaster);
}
.menu-open .menu-text {
    color: var(--sw-alabaster);
}

/* ======== FULLSCREEN MENU ======== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--sw-forest);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    clip-path: circle(0% at 95% 5%);
    direction: ltr;
}
.menu-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(140, 154, 132, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.nav-item {
    margin: 18px 0;
    overflow: hidden;
}
.nav-link {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--sw-alabaster);
    text-decoration: none;
    transition: all 0.4s ease;
    transform: translateY(100%);
}
.nav-link:hover {
    color: var(--sw-sage);
    transform: translateX(10px);
}
.menu-footer {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 40px;
    color: rgba(249, 248, 244, 0.5);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    opacity: 0;
}
.menu-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.menu-footer a:hover {
    color: var(--sw-sage);
}

/* ======== SHARED COMPONENTS ======== */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sw-sage);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
}
.btn-primary {
    background-color: var(--sw-forest);
    color: var(--sw-alabaster);
    border: 1px solid var(--sw-forest);
}
.btn-primary:hover {
    background-color: var(--sw-terracotta);
    border-color: var(--sw-terracotta);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 123, 102, 0.25);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--sw-sage);
    color: var(--sw-forest);
}
.btn-outline:hover {
    border-color: var(--sw-forest);
    background: rgba(140, 154, 132, 0.08);
    transform: translateY(-2px);
}

/* ======== SECTION 1: HERO ======== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 60px 100px;
    background-color: var(--sw-alabaster);
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-content {
    max-width: 580px;
}
.hero-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sw-sage);
    font-weight: 600;
    display: block;
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--sw-forest);
    margin-bottom: 28px;
}
.hero-title em {
    font-style: italic;
    font-weight: 400;
}
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(45, 58, 49, 0.75);
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-arch-frame {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 3 / 4;
    border-radius: var(--sw-radius-arch);
    overflow: hidden;
    box-shadow: var(--sw-shadow);
}
.hero-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease-out;
}
.hero-arch-frame:hover img {
    transform: scale(1.03);
}

/* ======== SECTION 2: THE DEAL ======== */
.deal-section {
    padding: 120px 60px;
    background-color: var(--sw-alabaster);
    position: relative;
}
.deal-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.deal-card {
    padding: 48px;
    border-radius: var(--sw-radius);
    transition: transform 0.7s ease-out, box-shadow 0.7s ease-out;
}
.deal-card:hover {
    transform: scale(1.02);
    box-shadow: var(--sw-shadow-hover);
}
.deal-problem {
    background-color: var(--sw-clay);
}
.deal-opportunity {
    background-color: #fff;
    box-shadow: var(--sw-shadow);
    transform: translateY(48px);
}
.deal-opportunity:hover {
    transform: translateY(48px) scale(1.02);
}
.deal-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--sw-forest);
    margin-bottom: 20px;
}
.deal-heading em {
    font-weight: 400;
    font-style: italic;
}
.deal-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(45, 58, 49, 0.7);
    font-weight: 300;
    margin-bottom: 28px;
}
.deal-image-frame {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 12px;
}
.deal-image-frame img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}
.deal-card:hover .deal-image-frame img {
    transform: scale(1.05);
}
.deal-icon-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.deal-icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sw-sage);
}
.deal-icon-item svg {
    color: var(--sw-sage);
    flex-shrink: 0;
}

/* ======== SECTION 3: MARKET & VISION ======== */
.market-section {
    padding: 140px 60px;
    background-color: var(--sw-alabaster);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.market-container {
    max-width: 1100px;
    margin: 0 auto;
}
.market-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sw-forest);
    margin-bottom: 64px;
}
.market-title em {
    font-weight: 400;
    font-style: italic;
}
.market-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 80px;
}
.market-audience-card {
    background: #fff;
    border-radius: var(--sw-radius);
    padding: 36px 28px;
    box-shadow: var(--sw-shadow);
    text-align: left;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.market-audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sw-shadow-hover);
}
.market-audience-card svg {
    color: var(--sw-sage);
    margin-bottom: 18px;
}
.market-audience-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--sw-forest);
}
.market-audience-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(45, 58, 49, 0.65);
    font-weight: 300;
}

/* SVG Vine Line */
.vine-line {
    width: 100%;
    height: 60px;
    display: block;
}
.vine-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

/* ======== SECTION 4: VALUE PROPOSITION ======== */
.value-section {
    padding: 120px 60px 160px;
    background-color: var(--sw-alabaster);
    text-align: center;
}
.value-container {
    max-width: 1100px;
    margin: 0 auto;
}
.value-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sw-forest);
    margin-bottom: 64px;
}
.value-title em {
    font-weight: 400;
    font-style: italic;
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.value-card {
    background: #fff;
    border-radius: var(--sw-radius);
    padding: 44px 28px 36px;
    box-shadow: var(--sw-shadow);
    text-align: left;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}
.value-card-offset {
    transform: translateY(48px);
}
.value-card:hover {
    box-shadow: var(--sw-shadow-hover);
}
.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(140, 154, 132, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.value-icon svg {
    color: var(--sw-sage);
}
.value-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sw-forest);
    margin-bottom: 12px;
}
.value-card-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(45, 58, 49, 0.65);
    font-weight: 300;
}

/* ======== SECTION 5: DASHBOARD ======== */
.dashboard-section {
    padding: 120px 60px;
    background-color: var(--sw-alabaster);
    text-align: center;
}
.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
}
.dashboard-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sw-forest);
    margin-bottom: 16px;
}
.dashboard-title em {
    font-weight: 400;
    font-style: italic;
}
.dashboard-subtitle {
    font-size: 1.1rem;
    color: rgba(45, 58, 49, 0.65);
    font-weight: 300;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.dashboard-frame {
    background-color: var(--sw-clay);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
    text-align: left;
    box-shadow: var(--sw-shadow);
    min-height: 520px;
}

/* Dashboard Sidebar */
.dash-sidebar {
    padding: 36px 24px;
    border-right: 1px solid rgba(45, 58, 49, 0.06);
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.dash-sidebar-logo {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(45, 58, 49, 0.08);
}
.dash-logo-img {
    height: 28px;
    width: auto;
    opacity: 0.7;
}
.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dash-nav-item {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(45, 58, 49, 0.55);
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: default;
}
.dash-nav-item.active {
    border-left: 2px solid var(--sw-sage);
    color: var(--sw-forest);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.4);
}
.dash-nav-item.active .dash-nav-text {
    font-family: var(--font-serif);
    font-style: italic;
}

/* Dashboard Main */
.dash-main {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.dash-header {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sw-forest);
}

/* Dashboard Widgets */
.dash-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.dash-widget {
    background: #fff;
    border-radius: var(--sw-radius);
    padding: 24px;
    box-shadow: var(--sw-shadow);
}
.dash-widget-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(45, 58, 49, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}
.dash-widget-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sw-forest);
    line-height: 1;
}
.dash-widget-unit {
    display: block;
    font-size: 0.8rem;
    color: var(--sw-sage);
    margin-top: 4px;
    margin-bottom: 14px;
}
.dash-widget-bar {
    width: 100%;
    height: 4px;
    background: rgba(140, 154, 132, 0.15);
    border-radius: 4px;
    overflow: hidden;
}
.dash-widget-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sw-sage), rgba(140, 154, 132, 0.3));
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease-out;
}

/* Dashboard Map */
.dash-map {
    background: #fff;
    border-radius: var(--sw-radius);
    padding: 32px;
    box-shadow: var(--sw-shadow);
    min-height: 160px;
}
.dash-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(45, 58, 49, 0.3);
    font-size: 0.9rem;
    height: 100%;
}
.dash-map-placeholder svg {
    opacity: 0.3;
}
.dash-map-dots {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}
.map-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-active {
    background-color: var(--sw-sage);
    box-shadow: 0 0 8px rgba(140, 154, 132, 0.5);
    animation: dotPulse 2.5s ease-in-out infinite;
}
.dot-charging {
    background-color: var(--sw-terracotta);
    box-shadow: 0 0 8px rgba(194, 123, 102, 0.5);
    animation: dotPulse 2s ease-in-out infinite 0.5s;
}
.dot-maintenance {
    background-color: var(--sw-terracotta);
    opacity: 0.6;
}

/* Dashboard Health */
.dash-health {
    background: #fff;
    border-radius: var(--sw-radius);
    padding: 28px;
    box-shadow: var(--sw-shadow);
}
.dash-health-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--sw-forest);
    margin-bottom: 18px;
}
.dash-health-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45, 58, 49, 0.04);
    font-size: 0.88rem;
}
.dash-health-item:last-child {
    border-bottom: none;
}
.health-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.health-ok {
    background-color: var(--sw-sage);
}
.health-alert {
    background-color: var(--sw-terracotta);
}
.health-name {
    flex: 1;
    color: var(--sw-forest);
    font-weight: 400;
}
.health-status {
    color: rgba(45, 58, 49, 0.45);
    font-weight: 300;
    font-size: 0.82rem;
}

/* ======== SECTION 6: VALIDATION ======== */
.validation-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 120px 60px;
}
.validation-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.validation-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(3px);
}
.validation-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(249, 248, 244, 0.75) 0%, rgba(249, 248, 244, 0.92) 80%);
    z-index: 2;
}
.validation-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}
.validation-quote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    color: var(--sw-forest);
}
.validation-quote em {
    font-weight: 700;
    font-style: italic;
}

/* ======== SECTION 7: TEAM & CONNECT ======== */
.team-section {
    padding: 120px 60px 140px;
    background-color: var(--sw-alabaster);
}
.team-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.team-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
    text-align: left;
    margin-top: 56px;
}

/* Portrait */
.team-portrait {
    text-align: center;
}
.portrait-arch {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: var(--sw-radius-arch);
    overflow: hidden;
    margin: 0 auto 24px;
    box-shadow: var(--sw-shadow);
}
.portrait-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.team-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sw-forest);
    margin-bottom: 4px;
}
.team-role {
    font-size: 0.9rem;
    color: var(--sw-sage);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Connect */
.connect-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sw-forest);
    margin-bottom: 36px;
}
.connect-title em {
    font-weight: 400;
    font-style: italic;
}
.connect-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.connect-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.connect-label {
    font-size: 0.75rem;
    color: rgba(45, 58, 49, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.connect-value {
    font-size: 1.1rem;
    color: var(--sw-forest);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}
.animated-underline {
    position: relative;
    display: inline-block;
}
.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--sw-sage);
    transition: width 0.6s ease;
}
.animated-underline:hover::after {
    width: 100%;
}
.animated-underline:hover {
    color: var(--sw-sage);
}
.btn-connect {
    margin-bottom: 0;
}

/* ======== FOOTER ======== */
.sofia-footer-section {
    background-color: var(--sw-forest);
    color: var(--sw-alabaster);
    direction: ltr;
    padding: 80px 60px 0 60px;
    border-top: none;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    align-items: start;
}
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.footer-col h4 {
    color: var(--sw-sage);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0;
    border-bottom: 1px solid rgba(140, 154, 132, 0.2);
    padding-bottom: 10px;
    width: fit-content;
}
.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}
.footer-desc {
    color: rgba(249, 248, 244, 0.6);
    line-height: 1.8;
    max-width: 280px;
    font-weight: 300;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(249, 248, 244, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 300;
    display: block;
}
.footer-links a:hover {
    color: var(--sw-sage);
    padding-left: 5px;
}
.footer-contact-item {
    margin-bottom: 15px;
    font-style: normal;
}
.footer-contact-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(249, 248, 244, 0.35);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-contact-value {
    color: var(--sw-alabaster);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.footer-contact-value:hover {
    color: var(--sw-sage);
}
.footer-bottom {
    border-top: 1px solid rgba(249, 248, 244, 0.06);
    padding: 25px 0;
    text-align: center;
    color: rgba(249, 248, 244, 0.25);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.footer-bottom-links a {
    color: rgba(249, 248, 244, 0.25);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}
.footer-bottom-links a:hover {
    color: var(--sw-alabaster);
}

/* ======== KEYFRAMES ======== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* ======== RESPONSIVE: MOBILE (max 768px) ======== */
@media (max-width: 768px) {
    .nexus-header {
        padding: 16px 20px;
    }
    .header-logo img {
        height: 32px;
    }
    .menu-text {
        display: none;
    }
    .nav-link {
        font-size: 2rem;
    }
    .menu-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        bottom: 30px;
    }

    /* Hero */
    .hero-section {
        padding: 120px 24px 80px;
        min-height: auto;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-arch-frame {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Deal */
    .deal-section {
        padding: 80px 24px;
    }
    .deal-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .deal-opportunity {
        transform: none;
    }
    .deal-opportunity:hover {
        transform: scale(1.02);
    }
    .deal-card {
        padding: 32px 24px;
    }
    .deal-icon-row {
        flex-direction: column;
        gap: 16px;
    }

    /* Market */
    .market-section {
        padding: 80px 24px;
    }
    .market-audience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Value */
    .value-section {
        padding: 80px 24px 100px;
    }
    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .value-card-offset {
        transform: none;
    }

    /* Dashboard */
    .dashboard-section {
        padding: 80px 24px;
    }
    .dashboard-frame {
        grid-template-columns: 1fr;
        border-radius: var(--sw-radius);
    }
    .dash-sidebar {
        display: none;
    }
    .dash-main {
        padding: 28px 20px;
    }
    .dash-widgets {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .dash-header {
        font-size: 1.2rem;
    }

    /* Validation */
    .validation-section {
        padding: 80px 24px;
        min-height: 50vh;
    }
    .validation-quote {
        font-size: 1.6rem;
    }

    /* Team */
    .team-section {
        padding: 80px 24px 100px;
    }
    .team-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .team-connect {
        text-align: center;
    }
    .connect-links {
        align-items: center;
    }
    .connect-item {
        align-items: center;
    }
    .btn-connect {
        width: 100%;
    }
    .demo-form {
        text-align: left;
    }

    /* Footer */
    .sofia-footer-section {
        padding: 60px 24px 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-col {
        align-items: center;
        text-align: center;
    }
    .footer-col h4 {
        margin: 0 auto 20px auto;
    }
    .footer-desc {
        max-width: 100%;
    }
    .footer-links a:hover {
        padding-left: 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* ======== RESPONSIVE: TABLET (769px – 1024px) ======== */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        gap: 48px;
    }
    .hero-section {
        padding: 140px 40px 80px;
    }
    .deal-section,
    .market-section,
    .value-section,
    .dashboard-section,
    .team-section {
        padding-left: 40px;
        padding-right: 40px;
    }
    .market-audience-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .value-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dashboard-frame {
        grid-template-columns: 180px 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}
