/* 
  UptownPortal - Custom Premium Dark Futuristic Styles
  No Frameworks. Pure CSS.
*/

:root {
    --bg-color: #020308;
    --bg-darker: #000000;
    --text-color: #f0f0f5;
    --text-muted: #848da0;
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.2);
    --accent-violet: #7c3aed;
    --accent-blue: #2563eb;
    --surface: rgba(8, 10, 20, 0.7);
    --surface-border: rgba(0, 242, 255, 0.15);
    --glass-blur: blur(20px);
    --font-main: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-strength: 15px;
}

@keyframes flux {
    0% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(45deg) brightness(1.2); }
    100% { filter: hue-rotate(0deg) brightness(1); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: crosshair; /* Custom feel */
}

body, button, a, input, select, textarea {
    cursor: crosshair;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.15rem;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 242, 255, 0.05) 0%, transparent 50%),
        linear-gradient(var(--surface-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--surface-border) 1px, transparent 1px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
    background-attachment: fixed;
}

/* --- Premium Scanline & Noise Overlay --- */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3 %3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 100% 3px, 150px 150px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.15;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit_scrollbar-thumb {
    background: var(--primary);
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
}

@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    header { padding: 0 1.2rem !important; }
}

section {
    padding: 80px 0;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

@media (max-width: 768px) {
    h1 br, h2 br { display: none; }
}

.display-text {
    font-size: clamp(2.8rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #ffffff 20%, var(--primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Glass/Premium Elements --- */
.glass {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--surface-border);
    border-radius: 0px; 
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.5;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
    padding: 0 6rem;
    pointer-events: none;
}

header * {
    pointer-events: auto;
}

header.scrolled {
    height: 80px;
    background: rgba(2, 3, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    transition: var(--transition-fast);
}

.nav-links a:hover { color: var(--primary); }

.btn {
    padding: 1rem 2.5rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    font-size: 0.8rem;
    border-radius: 0;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    background: none;
    color: white;
    border: 1px solid var(--surface-border);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-darker);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #fff;
    color: #000;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.4);
    border-color: #fff;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 1; 
    transform: none;
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-content { 
        text-align: center; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
}

.hero-meta {
    font-size: 0.7rem;
    letter-spacing: 0.4rem;
    color: var(--primary);
    display: block;
    margin-bottom: 2rem;
    font-weight: 800;
    opacity: 0.8;
    position: relative;
}

.hero-meta::before {
    content: "[ ARCHIVE_v2.01 ]";
    position: absolute;
    right: 0;
    top: -40px;
    font-family: var(--font-mono, monospace);
    font-size: 0.55rem;
    letter-spacing: 0.1rem;
    opacity: 0.3;
}

.hero-meta::after {
    content: "LAT: 40.7128 N / LON: 74.0060 W";
    position: absolute;
    left: 0;
    top: -40px;
    font-family: var(--font-mono, monospace);
    font-size: 0.5rem;
    letter-spacing: 0.05rem;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .hero-meta { font-size: 0.6rem; letter-spacing: 0.2rem; }
    .hero-meta::before, .hero-meta::after { display: none; }
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

.hero-btns {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .hero-btns { flex-direction: column; gap: 1rem; width: 100%; }
    .hero-btns .btn { width: 100%; justify-content: center; }
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    transition: var(--transition-fast);
}

.hero h1:hover {
    text-shadow: 
        2px 0 var(--primary),
        -2px 0 var(--accent-violet);
    filter: brightness(1.2);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 3.5rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01rem;
}

@media (max-width: 768px) {
    .hero-content p { font-size: 1.1rem; margin-bottom: 3rem; }
}

.flux-portal {
    position: absolute;
    right: -15vw;
    top: 50%;
    transform: translateY(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
    border-radius: 50%;
    filter: url(#flux-filter);
    animation: flux 15s infinite alternate;
    z-index: -1;
    opacity: 0.5;
}

/* --- Grid Systems --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--surface-border);
    border: 1px solid var(--surface-border);
}

@media (max-width: 1024px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .solutions-grid { grid-template-columns: 1fr; }
}

.solution-card {
    padding: 6rem 4rem;
    background: var(--bg-color);
    transition: var(--transition-slow);
}

@media (max-width: 768px) {
    .solution-card { padding: 4rem 2rem; }
}

.solution-card:hover {
    background: rgba(0, 242, 255, 0.02);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: inset 0 0 40px rgba(0, 242, 255, 0.03);
}

.icon-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    display: block;
    font-weight: 700;
}

.solution-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.vision-lead {
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    font-weight: 300;
    max-width: 1000px;
    color: var(--text-color);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .vision-grid { margin-top: 2rem; }
}

/* --- Iframe Portal --- */
.iframe-portal-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8rem;
    align-items: start;
}

.portal-description {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.crm-iframe-placeholder {
    width: 100%;
    min-height: 600px;
    background: #000;
    border: 1px solid var(--surface-border);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ingestion-marker {
    background: #07080a;
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.1); }
}

.placeholder-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem;
}

.placeholder-content p {
    font-size: 0.85rem;
    letter-spacing: 0.4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-content small {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

@media (max-width: 1024px) {
    .iframe-portal-container { grid-template-columns: 1fr; gap: 4rem; }
}

/* --- Signal Form (Old styles kept for reference/fallback but mostly unused now) --- */
.form-container {
    background: #04050c;
    border: 1px solid rgba(0, 229, 255, 0.45);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.05rem;
}

.input-signal {
    background: #000;
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 0;
    padding: 1.25rem 1.75rem;
    width: 100%;
    font-size: 1.15rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.input-signal:focus {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.15);
    background: rgba(0, 242, 255, 0.05);
    outline: none;
}

.input-signal::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea.input-signal {
    min-height: 140px;
    line-height: 1.6;
    resize: vertical;
}

.btn-transmit {
    width: 100%;
    padding: 1.25rem;
    background: #00e5ff;
    color: #02070a;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
    margin-top: 1rem;
}

.btn-transmit:hover {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
    transform: translateY(-2px);
}

.btn-transmit:active {
    transform: translateY(0);
}

.btn-transmit:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.form-message {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.2em;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #00ff88;
}

.form-message.error {
    color: #ff6b6b;
}

/* Validation States */
.form-group.has-error .input-signal {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
    }
}

/* --- Animations --- */
.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
    font-weight: 600;
}

@media (max-width: 768px) {
    .section-label { letter-spacing: 0.2rem; }
}

/* --- FAQ Upgrade --- */
.faq-item {
    border-bottom: 1px solid var(--surface-border);
    padding: 3rem 0;
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question span {
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 2rem;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
    color: var(--primary);
}

@media (max-width: 768px) {
    .faq-question { font-size: 1.4rem; }
}

/* --- Performance & Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    section {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Final Visual Polish --- */
::selection {
    background: var(--primary);
    color: var(--bg-darker);
}

.logo span {
    text-shadow: 0 0 15px var(--primary-glow);
}

.flux-portal {
    mix-blend-mode: screen;
}

/* --- Portal Interface --- */
.portal-interactive {
    height: 800px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
}

.central-node {
    width: 20rem;
    height: 20rem;
    background: #000;
    border: 1px solid var(--primary);
    box-shadow: 0 0 100px var(--primary-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.core-svg {
    filter: drop-shadow(0 0 15px var(--primary));
    animation: pulse-core 4s ease-in-out infinite;
    z-index: 2;
}

.core-status {
    position: absolute;
    bottom: 2.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.35rem;
    color: var(--primary);
    font-weight: 800;
    z-index: 2;
    text-shadow: 0 0 10px var(--primary);
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 242, 255, 0.15) 10%, transparent 20%);
    transform: translate(-50%, -50%);
    animation: rotate 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes pulse-core {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    box-shadow: 0 0 25px var(--primary);
    animation: scan 3s linear infinite;
    opacity: 0.7;
    z-index: 3;
}

@keyframes scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 242, 255, 0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Allow interaction with nodes only */
}

.orbit-node {
    pointer-events: auto; /* Re-enable for nodes */
}

.orbit-1 { width: 450px; height: 450px; animation: orbit-rotate-1 30s linear infinite; }
.orbit-2 { width: 750px; height: 750px; animation: orbit-rotate-2 50s linear infinite reverse; }
.orbit-3 { width: 1050px; height: 1050px; animation: orbit-rotate-3 90s linear infinite; }

@keyframes orbit-rotate-1 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-rotate-2 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes orbit-rotate-3 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-node {
    position: absolute;
    padding: 1.2rem 2.2rem;
    background: #000;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 800;
    box-shadow: 0 0 35px rgba(0, 242, 255, 0.15);
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: crosshair;
}

.orbit-node:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 60px var(--primary);
    z-index: 100;
    letter-spacing: 0.4em;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Footer --- */
footer {
    padding: 120px 0 60px;
    background: var(--bg-darker);
    border-top: 1px solid var(--surface-border);
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-nav { flex-direction: column; align-items: center; text-align: center; margin-bottom: 60px; }
    .footer-links { flex-direction: column; gap: 2rem; margin-top: 3rem; }
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 4rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    transition: var(--transition-fast);
}

.footer-links a:hover { color: white; }

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Comprehensive Responsive Overrides --- */

/* Tablet & Smaller Desktop */
@media (max-width: 1100px) {
    header, .container { padding: 0 2rem; }
    .nav-links { gap: 2rem; }
}

/* Mobile & Small Tablets - HIDE NAV */
@media (max-width: 960px) {
    header { height: 75px; padding: 0 1.5rem !important; }
    header .nav-links, .nav-links, header .btn { 
        display: none !important; 
        visibility: hidden !important; 
        opacity: 0 !important;
        pointer-events: none !important; 
    }
    header nav { 
        display: flex !important;
        justify-content: center !important; 
        width: 100% !important;
    }
    .logo { 
        font-size: 1.1rem !important; 
        letter-spacing: 0.2em !important; 
        text-align: center !important; 
        margin: 0 auto !important;
    }
}

/* Phones */
@media (max-width: 768px) {
    section { padding: 80px 0; }
    
    .display-text { 
        font-size: 2.2rem; 
        text-align: center; 
        line-height: 1.1; 
        margin-bottom: 2rem;
    }
    
    .section-label { 
        text-align: center !important; 
        width: 100%; 
        letter-spacing: 0.2rem; 
        font-size: 0.65rem; 
        margin-bottom: 1.5rem;
    }

    /* Hero Optimization */
    .hero { 
        height: auto; 
        min-height: 100vh; 
        padding-top: 120px; 
        padding-bottom: 60px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .hero h1 { font-size: 2.5rem !important; text-align: center !important; margin-bottom: 1.5rem !important; }
    .hero-meta { text-align: center; letter-spacing: 0.2rem; margin-bottom: 1rem; }
    .hero-content { 
        display: flex !important; 
        flex-direction: column !important; 
        align-items: center !important; 
        width: 100% !important; 
        max-width: 100% !important;
    }
    .hero-content p { text-align: center !important; margin: 0 auto 3rem !important; font-size: 1.1rem; line-height: 1.5; }
    .hero-btns { flex-direction: column !important; width: 100% !important; gap: 1rem !important; }
    .hero-btns .btn { width: 100% !important; justify-content: center !important; padding: 1.2rem; }

    /* Portal Animation Mobile Premium */
    .portal-interactive { 
        height: 480px; 
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: scale(0.9);
        background: radial-gradient(circle at center, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    }
    
    .central-node { 
        width: 140px; 
        height: 140px; 
    }
    .central-node .core-svg { width: 30px; height: 30px; }
    .core-status { font-size: 0.45rem; letter-spacing: 0.15rem; bottom: 1.2rem; }
    
    .orbit-1 { width: 220px; height: 220px; }
    .orbit-2 { width: 360px; height: 360px; }
    .orbit-3 { display: none !important; } 
    
    .orbit-node { 
        padding: 0.5rem 1rem; 
        font-size: 0.55rem; 
        letter-spacing: 0.1rem; 
    }

    /* Grid Fixes */
    .solutions-grid { grid-template-columns: 1fr !important; }
    .solution-card { padding: 4rem 2rem !important; text-align: center !important; }
    .solution-card h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
    
    .vision-lead { font-size: 1.6rem; text-align: center; line-height: 1.3; }
    .vision-grid { margin-top: 2rem; }

    .footer-nav { flex-direction: column; align-items: center; text-align: center; gap: 4rem; }
    .footer-links { flex-direction: column; gap: 2rem; padding: 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem !important; }
    header { padding: 0 1rem !important; }
    .display-text { font-size: 2.5rem; }
    .hero h1 { font-size: 2.8rem !important; }
    .portal-interactive { transform: scale(0.75); height: 400px; }
}