/* ==========================================================================
   NEXSHE ACADEMY - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Google Fonts Entegrasyonu --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Tasarım Sistemi Değişkenleri (Themes) --- */
:root {
    /* Varsayılan Tema: Cyber Cyan (Neon Turkuaz) */
    --bg-primary: #05070f;
    --bg-secondary: #0a0e1a;
    --bg-tertiary: #101626;
    
    --accent: #00f2fe;
    --accent-rgb: 0, 242, 254;
    --accent-secondary: #09f1d5;
    --accent-secondary-rgb: 9, 241, 213;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --border-color: rgba(0, 242, 254, 0.15);
    --border-hover: rgba(0, 242, 254, 0.35);
    --card-bg: rgba(10, 14, 26, 0.65);
    
    --glow-primary: rgba(0, 242, 254, 0.25);
    --glow-secondary: rgba(9, 241, 213, 0.15);
    --glow-button: 0 0 15px rgba(0, 242, 254, 0.4);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-sub: 'Inter', sans-serif;
    
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-in-out;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* --- Rose Gold Teması (Branding Alternatifi) --- */
[data-theme="rose-gold"] {
    --bg-primary: #0a0807;
    --bg-secondary: #14110f;
    --bg-tertiary: #1f1a17;
    
    --accent: #e5a982;
    --accent-rgb: 229, 169, 130;
    --accent-secondary: #cca078;
    --accent-secondary-rgb: 204, 160, 120;
    
    --text-main: #fafaf9;
    --text-muted: #a8a29e;
    --text-dark: #1c1917;
    
    --border-color: rgba(229, 169, 130, 0.18);
    --border-hover: rgba(229, 169, 130, 0.4);
    --card-bg: rgba(20, 17, 15, 0.65);
    
    --glow-primary: rgba(229, 169, 130, 0.22);
    --glow-secondary: rgba(204, 160, 120, 0.12);
    --glow-button: 0 0 15px rgba(229, 169, 130, 0.35);
}

/* --- Global Reset & Scrollbar --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-slow);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Yardımcı Sınıflar (Utilities) --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-padding {
    padding: 8rem 0;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section-padding { padding: 5rem 0; }
}

/* Glassmorphism Base */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
}

.glass:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px 0 var(--glow-primary);
    transform: translateY(-5px);
}

/* --- Navigasyon Barı (Header) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 1.5rem 0;
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(var(--bg-primary) == #05070f ? 5 : 10, var(--bg-primary) == #05070f ? 7 : 8, var(--bg-primary) == #05070f ? 15 : 7, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Nav Logo SVG Animation */
.nav-logo-svg {
    height: 40px;
    width: 141px;
    overflow: visible;
    transition: var(--transition-normal);
}

.nav-logo-svg .accent-color {
    fill: url(#cyanGrad);
    transition: var(--transition-slow);
}

[data-theme="rose-gold"] .nav-logo-svg .accent-color {
    fill: url(#goldGrad);
}

.nav-logo-svg .text-color {
    fill: none;
    color: var(--text-main);
    transition: var(--transition-normal);
}

.nav-logo-svg:hover .wing-left {
    transform: rotate(-3deg) translateX(-1px);
    transform-origin: center;
}

.nav-logo-svg:hover .wing-right {
    transform: rotate(3deg) translateX(1px);
    transform-origin: center;
}

/* Nav Links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-sub);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

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

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

/* Action Controls (Theme Toggle & CTA) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Switcher */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--glow-primary);
    transform: rotate(15deg);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition-normal);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: var(--text-dark);
    box-shadow: var(--glow-button);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--glow-primary);
    background: rgba(var(--accent-rgb), 0.05);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-main);
    transition: var(--transition-normal);
}

@media (max-width: 900px) {
    .mobile-menu-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: auto;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 6rem 2rem 3rem 2rem;
        gap: 1.5rem;
        transition: var(--transition-slow);
        z-index: 999;
    }
    
    .nav-menu.open {
        top: 0;
    }
    
    .hamburger-bar.active:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger-bar.active:nth-child(2) {
        opacity: 0;
    }
    .hamburger-bar.active:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-actions {
        margin-right: 3rem;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    overflow: hidden;
}

/* Ambient glow particles */
.ambient-glow-1, .ambient-glow-2 {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(120px);
    opacity: 0.22;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-slow);
}

.ambient-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -100px;
    right: -100px;
}

.ambient-glow-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -150px;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    text-align: center;
}

/* Giant SVG Logo in Hero */
.hero-logo-container {
    margin-bottom: 2rem;
    perspective: 1000px;
    filter: drop-shadow(0 0 25px var(--glow-primary));
    animation: float 6s ease-in-out infinite;
}

.hero-logo-svg {
    width: 100%;
    max-width: 650px;
    height: auto;
    overflow: visible;
}

.hero-logo-svg .accent-color {
    fill: url(#heroCyanGrad);
    transition: var(--transition-slow);
}

[data-theme="rose-gold"] .hero-logo-svg .accent-color {
    fill: url(#heroGoldGrad);
}

.hero-logo-svg .text-color {
    fill: none;
    color: var(--text-main);
    transition: var(--transition-normal);
}

/* Circuit lines glowing pulse animation */
.circuit-node {
    filter: drop-shadow(0 0 4px var(--accent));
    animation: nodePulse 3s infinite alternate;
}

.circuit-path {
    stroke-dasharray: 100;
    animation: dash 4s linear infinite;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.6em;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    text-indent: 0.6em; /* To offset the last letter spacing */
    opacity: 0.9;
    animation: fadeIn 2s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 650px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-slogan { font-size: 0.95rem; letter-spacing: 0.4em; }
    .hero-title { font-size: 1.85rem; }
    .hero-description { font-size: 1rem; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 320px; }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 10;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--accent);
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0 auto;
}

/* --- Marka Temelleri (Brand Pillars) --- */
.pillars-grid {
    position: relative;
    z-index: 10;
}

.pillar-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pillar-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    color: var(--accent);
    transition: var(--transition-normal);
}

.pillar-card:hover .pillar-icon-wrapper {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: 0 0 20px var(--glow-primary);
    transform: scale(1.1) rotate(5deg);
}

.pillar-card svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.5;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

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

/* --- NexShe Akademi (Academy Section) --- */
.academy-grid {
    position: relative;
    z-index: 10;
}

.academy-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-banner {
    height: 8px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
}

.card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.07);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.academy-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.academy-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.academy-details {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.academy-details li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.academy-details li span:last-child {
    color: var(--text-main);
    font-weight: 500;
}

/* --- Topluluk Paneli Önizlemesi (Community Hub Preview) --- */
.community-preview {
    position: relative;
    z-index: 10;
}

.dashboard-mockup {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.dash-header {
    background: rgba(var(--bg-tertiary), 0.8);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.dash-dot:nth-child(1) { background-color: #ff5f56; }
.dash-dot:nth-child(2) { background-color: #ffbd2e; }
.dash-dot:nth-child(3) { background-color: #27c93f; }

.dash-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.dash-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    min-height: 420px;
}

@media (max-width: 900px) {
    .dash-body { grid-template-columns: 1fr; }
}

/* Dash Stats Left Side */
.dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat-box {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.stat-box:hover {
    border-color: var(--border-color);
    background: rgba(var(--accent-rgb), 0.02);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.35rem;
}

/* Dash Main Content: Activity Feed */
.dash-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feed-item {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.avatar-gold {
    background: linear-gradient(135deg, #cca078 0%, #e5a982 100%);
}

.feed-details {
    flex-grow: 1;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.35rem;
}

.feed-user {
    font-weight: 600;
    font-size: 0.95rem;
}

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

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

.feed-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    margin-top: 0.6rem;
}

/* --- Etkinlik Takvimi --- */
.events-section {
    position: relative;
    z-index: 10;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.event-row {
    display: grid;
    grid-template-columns: 120px 1fr 180px;
    align-items: center;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .event-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
        text-align: center;
    }
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .event-date {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 1rem;
    }
}

.date-day {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.date-month {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.event-info {
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .event-info { padding: 0; }
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .event-meta { justify-content: center; flex-wrap: wrap; }
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.event-action {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .event-action { justify-content: center; }
}

/* --- Başarı Hikayeleri (Carousel) --- */
.testimonials {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .carousel-container { padding: 0 1rem; }
}

.carousel-track-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

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

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 1.5rem;
    left: 2.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
    width: 100%;
    word-wrap: break-word;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-img-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 5px 15px var(--glow-primary);
}

.user-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(var(--bg-tertiary), 0.7);
    border: 1px solid var(--border-color);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 50;
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--glow-primary);
    border-color: var(--accent);
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

@media (max-width: 768px) {
    .carousel-btn { display: none; }
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-normal);
}

.indicator.active {
    background: var(--accent);
    width: 24px;
    box-shadow: 0 0 10px var(--glow-primary);
}

/* --- Footer --- */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-svg {
    height: 45px;
    width: 158.6px;
    overflow: visible;
    align-self: flex-start;
}

.footer-logo-svg .accent-color {
    fill: url(#footerCyanGrad);
    transition: var(--transition-slow);
}

[data-theme="rose-gold"] .footer-logo-svg .accent-color {
    fill: url(#footerGoldGrad);
}

.footer-logo-svg .text-color {
    fill: none;
    color: var(--text-main);
}

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

.footer-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
    display: inline-block;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--text-dark);
    background: var(--accent);
    box-shadow: 0 0 12px var(--glow-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.footer-copy span {
    color: var(--accent);
}

/* --- Modals & Forms --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
    transform: translateY(0);
}

.modal-header {
    background: var(--bg-tertiary);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent);
}

.modal-body {
    padding: 2.5rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-control option, select option {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-main) !important;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.02);
    box-shadow: 0 0 10px var(--glow-primary);
}

textarea.form-control {
    resize: none;
    min-height: 100px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300f2fe'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

[data-theme="rose-gold"] .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e5a982'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
}

/* Success State Inside Modals */
.form-success-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-icon-box {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid #27c93f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27c93f;
    margin-bottom: 1.5rem;
}

.success-icon-box svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.success-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Keyframe Animations --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes nodePulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Mobile Performance Optimizations --- */
@media (max-width: 768px) {
    /* Disable dynamic animated drop shadows and transform shifts on mobile to prevent repaint lag */
    .hero-logo-container {
        animation: none !important;
        filter: drop-shadow(0 0 10px var(--glow-primary)) !important; /* Smaller, static shadow */
        transform: none !important;
    }
    
    .circuit-node {
        animation: none !important; /* Disable pulsing circuit glow on mobile */
        filter: none !important;
        opacity: 0.8 !important;
    }
    
    /* Optimize glass containers on mobile to reduce GPU load */
    .glass {
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        background: rgba(10, 15, 30, 0.8) !important;
    }
    
    /* Limit animated elements */
    .circuit-path {
        animation: none !important; /* Disable dashed line moving animation on mobile */
        stroke-dasharray: none !important;
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

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