/* ==========================================================================
   RFTAA Luxury Web Demo Stylesheet
   Theme: Matte Black (#050505), Gold (#D4AF37), Magenta (#E61E78), Silver (#F5F5F5)
   ========================================================================== */

:root {
    --bg-color: #050505;
    --bg-card: rgba(15, 15, 15, 0.75);
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.2);
    --magenta: #E61E78;
    --magenta-glow: rgba(230, 30, 120, 0.2);
    --text-white: #F5F5F5;
    --text-muted: #A0A0A0;
    --text-dark: #121212;
    --glass-border: rgba(212, 175, 55, 0.15);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Background Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Utility Classes */
.gold-text {
    color: var(--gold);
    background: linear-gradient(135deg, #FFF 0%, var(--gold) 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.magenta-text {
    color: var(--magenta);
    background: linear-gradient(135deg, #FFF 0%, var(--magenta) 50%, #8b0046 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 0 0 rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

/* Floating Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

.main-header.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--gold) 0%, var(--magenta) 100%);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--magenta));
    transition: var(--transition-smooth);
}

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

.nav-link.highlight-btn {
    border: 1px solid var(--magenta);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--text-white);
    box-shadow: 0 0 10px rgba(230, 30, 120, 0.15);
}

.nav-link.highlight-btn:hover {
    background: var(--magenta);
    box-shadow: 0 0 20px rgba(230, 30, 120, 0.4);
    color: var(--text-white);
}

.nav-link.highlight-btn::after {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    background-image: linear-gradient(180deg, rgba(5,5,5,0.4) 0%, rgba(5,5,5,0.9) 100%), url('assets/hero_phoenix.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(230, 30, 120, 0.03) 0%, rgba(5, 5, 5, 0.9) 80%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 10;
}

.hero-academy-tag {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.hero-title span {
    display: block;
}

/* Horizontal Ticker */
.focus-scroll-ticker {
    margin: 20px auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    max-width: 800px;
}

.ticker-item {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ticker-dot {
    color: var(--magenta);
    font-size: 1.2rem;
}

.hero-manifesto-badge {
    background: rgba(15, 15, 15, 0.7);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.manifesto-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    z-index: 10;
}

.mouse-scroll {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse-scroll::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 2px;
    animation: mouseScrollAnim 1.5s infinite;
}

.scroll-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: arrowScrollAnim 1.5s infinite;
}

/* Animations */
@keyframes mouseScrollAnim {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

@keyframes arrowScrollAnim {
    0% { opacity: 0; transform: rotate(45deg) translate(-2px, -2px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(2px, 2px); }
}

/* Section Common Styling */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Interactive Ecosystem Section */
.ecosystem-section {
    background: radial-gradient(circle at bottom, rgba(230, 30, 120, 0.02) 0%, rgba(5,5,5,1) 80%);
}

.ecosystem-interactive-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.ecosystem-diagram-container {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ecosystem-center-hub {
    width: 100px;
    height: 100px;
    background: var(--bg-color);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: 0 0 30px var(--gold-glow);
}

.hub-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

.hub-sublabel {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ecosystem-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

.ecosystem-node {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Standard trick to position nodes in a circle */
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(175px) rotate(calc(-1 * var(--angle)));
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    transition: var(--transition-smooth);
}

.node-icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.node-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-muted);
    transition: var(--transition-smooth);
}

.node-name {
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition-smooth);
    background: rgba(5, 5, 5, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Hover and Active Node States */
.ecosystem-node:hover .node-icon-wrapper {
    border-color: var(--magenta);
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--magenta-glow);
}

.ecosystem-node:hover .node-icon {
    fill: var(--magenta);
}

.ecosystem-node:hover .node-name {
    color: var(--text-white);
}

.ecosystem-node.active .node-icon-wrapper {
    background: linear-gradient(135deg, var(--gold) 0%, var(--magenta) 100%);
    border-color: transparent;
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.ecosystem-node.active .node-icon {
    fill: var(--text-dark);
}

.ecosystem-node.active .node-name {
    color: var(--gold);
    font-weight: 700;
}

/* Details Panel styling */
.ecosystem-details-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 520px;
}

.details-image-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.details-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s ease;
}

.ecosystem-details-panel:hover .details-image {
    transform: scale(1.05);
}

.image-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, var(--bg-color) 0%, rgba(5,5,5,0) 100%);
}

.details-content-wrapper {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(180deg, rgba(15,15,15,0) 0%, rgba(10,10,10,0.8) 100%);
}

.details-phase {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.details-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.details-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.details-bullets {
    list-style: none;
}

.details-bullets li {
    font-size: 0.85rem;
    color: var(--text-white);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.details-bullets li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Pillars Section styling */
.pillars-section {
    background-color: var(--bg-color);
}

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

.pillar-card {
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.pillar-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--gold-glow) 0%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.pillar-card:hover .pillar-glow {
    opacity: 1;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.pillar-svg-icon {
    width: 24px;
    height: 24px;
    fill: var(--gold);
}

.pillar-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.pillar-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Showcase Section */
.showcase-section {
    background-color: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.showcase-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 600px;
}

.showcase-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-pane.text-pane {
    padding: 80px 10%;
}

.showcase-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.showcase-headline {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
}

.showcase-paragraph {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.showcase-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 8px;
}

.showcase-pane.visual-pane {
    position: relative;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pane-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #020202 0%, rgba(5,5,5,0) 40%, rgba(5,5,5,0) 100%);
}

/* Manifesto Section */
.manifesto-section {
    background: radial-gradient(circle at center, rgba(230, 30, 120, 0.03) 0%, rgba(5,5,5,1) 80%);
}

.manifesto-wrapper {
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.manifesto-header {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 32px;
}

.manifesto-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
}

.manifesto-author {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.manifesto-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.circle-1 {
    width: 250px;
    height: 250px;
    background: var(--gold-glow);
    top: -50px;
    left: -50px;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: var(--magenta-glow);
    bottom: -50px;
    right: -50px;
}

/* Apply Section styling */
.apply-section {
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.02) 0%, rgba(5,5,5,1) 80%);
}

.apply-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.apply-info-pane {
    position: sticky;
    top: 120px;
}

.apply-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 16px;
    display: block;
}

.apply-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 24px;
}

.apply-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.info-header {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.info-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.apply-form-pane {
    padding: 48px;
}

/* Step Tracker */
.step-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.step-indicator span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.step-indicator.active {
    color: var(--gold);
}

.step-indicator.active span {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

.step-indicator.completed {
    color: var(--magenta);
}

.step-indicator.completed span {
    border-color: var(--magenta);
    background: var(--magenta);
    color: var(--text-white);
    box-shadow: 0 0 15px var(--magenta-glow);
}

.step-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    flex-grow: 1;
    margin: 0 16px;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.step-line.completed {
    background: linear-gradient(90deg, var(--gold), var(--magenta));
}

/* Forms styling */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: formFadeIn 0.5s ease forwards;
}

@keyframes formFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 12px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    background: rgba(15, 15, 15, 0.9);
}

.form-group select option {
    background: #0d0d0d;
    color: var(--text-white);
}

.error-msg {
    font-size: 0.75rem;
    color: var(--magenta);
    display: none;
    margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--magenta);
    box-shadow: 0 0 10px var(--magenta-glow);
}

.form-group.has-error .error-msg {
    display: block;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-white);
    cursor: pointer;
}

.form-actions-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
}

.form-actions-split {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--magenta) 0%, #8b0046 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px var(--magenta-glow);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 30, 120, 0.4);
}

.review-panel {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.review-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.review-row:last-child {
    border-bottom: none;
}

.review-label {
    color: var(--text-muted);
}

.review-val {
    font-weight: 600;
    color: var(--gold);
}

/* Success Screen styling */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}

.form-success.active {
    display: flex;
    animation: formFadeIn 0.6s ease forwards;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 0 30px var(--gold-glow);
}

.success-svg {
    width: 40px;
    height: 40px;
    fill: var(--gold);
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 32px;
}

/* Footer Section */
.footer-section {
    background-color: #030303;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-about {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-white);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link-item {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-link-item:hover {
    color: var(--magenta);
    padding-left: 4px;
}

.footer-contact {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--gold-glow);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .ecosystem-interactive-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-split {
        grid-template-columns: 1fr;
    }
    
    .showcase-pane.text-pane {
        padding: 60px 40px;
    }
    
    .showcase-pane.visual-pane {
        height: 400px;
    }
    
    .pane-overlay {
        background: linear-gradient(180deg, #020202 0%, rgba(5,5,5,0) 30%);
    }
    
    .apply-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .apply-info-pane {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(212, 175, 55, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .ecosystem-diagram-container {
        width: 320px;
        height: 320px;
    }

    .ecosystem-node {
        transform: translate(-50%, -50%) rotate(var(--angle)) translate(120px) rotate(calc(-1 * var(--angle)));
    }

    .node-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .node-icon {
        width: 20px;
        height: 20px;
    }

    .node-name {
        font-size: 0.6rem;
    }

    .ecosystem-details-panel {
        height: auto;
    }
    
    .details-image-container {
        height: 180px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .manifesto-wrapper {
        padding: 40px 20px;
    }
    
    .apply-form-pane {
        padding: 24px;
    }
    
    .step-tracker {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .step-indicator {
        font-size: 0.65rem;
    }
    
    .step-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
