@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07090e;
    --bg-card: rgba(17, 24, 39, 0.55);
    --bg-card-hover: rgba(26, 36, 56, 0.75);
    --accent-cyan: #00e5ff;
    --accent-cyan-glow: rgba(0, 229, 255, 0.15);
    --accent-gold: #ffd700;
    --accent-gold-dark: #c5a018;
    --accent-gold-glow: rgba(255, 215, 0, 0.15);
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #4b5563;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 255, 0.3);
    --border-gold-hover: rgba(255, 215, 0, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    --gold-glow-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
    --bg-header: rgba(7, 9, 14, 0.7);
    --bg-header-scrolled: rgba(7, 9, 14, 0.85);
}

body.light-theme {
    --bg-dark: #f3f4f6;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --accent-cyan: #008ba3;
    --accent-cyan-glow: rgba(0, 139, 163, 0.15);
    --accent-gold: #a67c00;
    --accent-gold-dark: #7a5c00;
    --accent-gold-glow: rgba(166, 124, 0, 0.15);
    --text-primary: #111827;
    --text-muted: #4b5563;
    --text-dark: #6b7280;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 139, 163, 0.3);
    --border-gold-hover: rgba(166, 124, 0, 0.3);
    --glow-shadow: 0 4px 20px rgba(0, 139, 163, 0.15);
    --gold-glow-shadow: 0 4px 20px rgba(166, 124, 0, 0.15);
    --bg-header: rgba(243, 244, 246, 0.7);
    --bg-header-scrolled: rgba(243, 244, 246, 0.85);
}

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

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
    transition: background 0.3s ease;
}
body.light-theme ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}
body.light-theme ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Pulse indicator for live assistant */
.pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #00ff66;
    border-radius: 50%;
    margin-right: 4px;
    box-shadow: 0 0 8px #00ff66;
    animation: pulseActive 1.8s infinite ease-in-out;
    vertical-align: middle;
}
@keyframes pulseActive {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #00ff66; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Abstract Background Animations */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.bg-radial-glow {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

.bg-radial-glow-2 {
    position: fixed;
    bottom: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 20s infinite alternate-reverse ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(5%, 5%); }
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

.gradient-text-both {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #ffffff 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 14px 8%;
    background: var(--bg-header-scrolled);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-fast);
}

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

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

.nav-links a.active {
    color: var(--accent-cyan);
}

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

.btn-header {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--accent-cyan);
    background: transparent;
    color: var(--accent-cyan);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-header:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: var(--glow-shadow);
}

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

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

/* Sections Common */
section {
    padding: 120px 8%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.section-tag.gold {
    color: var(--accent-gold);
    border-color: rgba(255, 215, 0, 0.2);
}

.section-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 50px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    padding-top: 160px;
    padding-bottom: 80px;
}

.hero-content {
    display: flex;
    flex-direction: flex-start;
    flex-direction: column;
}

.hero-pretitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-pretitle span {
    width: 30px;
    height: 1px;
    background: var(--accent-cyan);
    display: inline-block;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

/* Typing Carousel */
.typing-container {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--accent-gold);
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.typed-text {
    border-right: 2px solid var(--accent-gold);
    padding-right: 4px;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-gold); }
}

.hero-desc {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #00b0ff 100%);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
}

/* Trust Badges / Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

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

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-number span {
    color: var(--accent-cyan);
}

.stat-number.gold span {
    color: var(--accent-gold);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Portrait Image Column */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    width: 100%;
    max-width: 420px;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #0f172a;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: var(--transition-smooth);
}

.hero-image-container:hover img {
    transform: scale(1.05);
}

/* Graphic Overlay Lines representing trading & AI charts */
.hero-graphic-overlay {
    position: absolute;
    inset: -20px;
    border-radius: 30px;
    border: 1px dashed rgba(0, 229, 255, 0.15);
    pointer-events: none;
    z-index: -1;
}

.hero-graphic-overlay::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 28px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.glow-point-1 {
    position: absolute;
    top: 15%;
    left: -10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    animation: float1 4s infinite ease-in-out;
}

.glow-point-2 {
    position: absolute;
    bottom: 20%;
    right: -10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 15px var(--accent-gold);
    animation: float2 5s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.2); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(15px) scale(1.1); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-left {
    display: flex;
    flex-direction: column;
}

.about-journey {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-philosophies {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.about-philosophies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-gold);
}

.philosophy-title {
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.philosophy-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Academic Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 4px;
    width: 2px;
    height: calc(100% - 24px);
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-gold));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-cyan);
    border: 3px solid var(--bg-dark);
    transition: var(--transition-fast);
}

.timeline-item.gold .timeline-marker {
    background: var(--accent-gold);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-item.gold:hover .timeline-marker {
    box-shadow: 0 0 10px var(--accent-gold);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.05);
    padding: 3px 10px;
    border-radius: 30px;
}

.timeline-item.gold .timeline-year {
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.05);
}

.timeline-role {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-location {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-content {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.cv-download-wrapper {
    margin-top: 40px;
}

/* Expertise & Business Pillars */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expertise-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.expertise-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-shadow);
}

.expertise-card.gold-hover:hover {
    border-color: var(--border-gold-hover);
    box-shadow: var(--gold-glow-shadow);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 24px;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.expertise-card.gold-hover .expertise-icon {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.15);
    color: var(--accent-gold);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

.expertise-card.gold-hover:hover .expertise-icon {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.expertise-title {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.expertise-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.7;
}

.expertise-problem {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border-left: 2.5px solid var(--accent-cyan);
    font-size: 14px;
}

.expertise-card.gold-hover .expertise-problem {
    border-left-color: var(--accent-gold);
}

.expertise-problem span {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.expertise-problem p {
    color: var(--text-muted);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 30px;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    z-index: 1;
}

.process-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.process-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--accent-cyan);
}

.process-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: var(--transition-fast);
}

.process-card:hover .process-step {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: var(--glow-shadow);
}

.process-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.process-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Blog & Thoughts Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-readtime {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-title {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.35;
    font-weight: 700;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-title {
    color: var(--accent-cyan);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 14px;
}

.blog-arrow svg {
    transition: var(--transition-fast);
}

.blog-card:hover .blog-arrow svg {
    transform: translateX(5px);
}

/* Connect / Contact Section */
.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.connect-left {
    display: flex;
    flex-direction: column;
}

.contact-info-list {
    list-style: none;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 20px;
}

.contact-text-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-text-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a.contact-text-value:hover {
    color: var(--accent-cyan);
}

/* Smart Form Styling */
.smart-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--glow-shadow);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.conditional-fields {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.conditional-fields.active {
    max-height: 300px;
    opacity: 1;
}

.btn-form {
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Custom Calendar Mockup / Booking Widget */
.calendar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.calendar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.calendar-day-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.calendar-day {
    padding: 10px 0;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(255,255,255,0.01);
    border: 1px solid transparent;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
    pointer-events: none;
}

.calendar-day.available {
    color: var(--accent-cyan);
    font-weight: 700;
    border-color: rgba(0, 229, 255, 0.15);
}

.calendar-day.available:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: var(--glow-shadow);
}

.calendar-day.selected {
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: var(--gold-glow-shadow);
}

.calendar-slots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.calendar-slots.active {
    max-height: 120px;
    opacity: 1;
    margin-top: 10px;
}

.time-slot {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.time-slot:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.time-slot.selected {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border-color: var(--accent-cyan);
}

/* Modal Popup Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border-color: var(--accent-cyan);
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
}

.modal-title {
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.25;
}

.modal-body {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-body blockquote {
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    margin: 30px 0;
    color: var(--text-primary);
    font-style: italic;
}

/* Success notification toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    border: 1px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1100;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--accent-cyan);
    font-size: 20px;
}

.toast-text {
    font-size: 14px;
    font-weight: 600;
}

/* Footer Section */
footer {
    background: #040609;
    padding: 60px 8% 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-2px);
}

.footer-copy {
    text-align: center;
    color: var(--text-dark);
    font-size: 14px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.02);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    section {
        padding: 80px 6%;
    }
    header {
        padding: 20px 6%;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 120px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-pretitle {
        justify-content: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .about-grid, .connect-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
    }
    .expertise-card {
        padding: 24px;
    }
    .risk-calc-container, .roi-calc-container {
        padding: 15px;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .process-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links.active + .btn-header {
        display: none;
    }
    .expertise-grid, .process-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 40px;
    }
    .section-title {
        font-size: 32px;
    }
    .modal-content {
        padding: 30px;
    }
    .modal-title {
        font-size: 24px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

/* ==========================================================================
   PREMIUM INTERACTIVE FEATURES STYLING
   ========================================================================== */

/* Header Right & Theme Toggle */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 16px;
}
.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-shadow);
}
body.light-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}
body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* Adizes Visualizer (about.html) */
.adizes-container {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.adizes-container:hover {
    border-color: var(--border-gold-hover);
}
.adizes-svg-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}
.adizes-svg {
    width: 100%;
    height: auto;
    display: block;
}
.adizes-curve {
    fill: none;
    stroke: var(--text-dark);
    stroke-width: 3;
    stroke-linecap: round;
}
.adizes-point {
    cursor: pointer;
    transition: var(--transition-fast);
}
.adizes-point circle {
    fill: var(--bg-dark);
    stroke: var(--text-muted);
    stroke-width: 2.5;
    transition: var(--transition-fast);
}
.adizes-point text {
    fill: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    pointer-events: none;
    transition: var(--transition-fast);
}
.adizes-point:hover circle, .adizes-point.active circle {
    fill: var(--accent-gold);
    stroke: var(--accent-gold);
    r: 7;
}
.adizes-point:hover text, .adizes-point.active text {
    fill: var(--text-primary);
    font-weight: 700;
}
.adizes-point.prime-point circle {
    stroke: var(--accent-cyan);
}
.adizes-point.prime-point:hover circle, .adizes-point.prime-point.active circle {
    fill: var(--accent-cyan);
    stroke: var(--accent-cyan);
}
.adizes-detail-panel {
    background: rgba(7, 9, 14, 0.4);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    min-height: 120px;
    transition: var(--transition-fast);
}
body.light-theme .adizes-detail-panel {
    background: rgba(255, 255, 255, 0.5);
}
.adizes-detail-title {
    color: var(--accent-gold);
    font-size: 18px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}
.adizes-detail-desc {
    font-size: 14px;
    color: var(--text-primary);
}

/* n8n Flowchart (expertise.html) */
.n8n-flow-container {
    margin-top: 25px;
    background: rgba(7, 9, 14, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}
body.light-theme .n8n-flow-container {
    background: rgba(255, 255, 255, 0.3);
}
.n8n-flow-title {
    font-size: 14px;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.n8n-nodes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}
.n8n-node {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition-fast);
}
.n8n-node:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}
.n8n-node-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-cyan);
    font-size: 14px;
}
.n8n-node:nth-child(even) .n8n-node-icon {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
}
.n8n-node-info {
    flex-grow: 1;
}
.n8n-node-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.n8n-node-desc {
    font-size: 11px;
    color: var(--text-muted);
}
.n8n-node-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dark);
}
.n8n-node.active .n8n-node-status {
    background: #00ff66;
    box-shadow: 0 0 8px #00ff66;
}
.n8n-connector {
    height: 15px;
    width: 2px;
    background: var(--border-color);
    margin-left: 31px;
    position: relative;
}
.n8n-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--border-color);
}
.n8n-connector.active {
    background: var(--accent-cyan);
}
.n8n-connector.active::after {
    border-top-color: var(--accent-cyan);
}

/* Trader Risk Calculator (expertise.html) */
.risk-calc-container {
    margin-top: 25px;
    background: rgba(7, 9, 14, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}
body.light-theme .risk-calc-container {
    background: rgba(255, 255, 255, 0.3);
}
.risk-calc-title {
    font-size: 14px;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}
.calc-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.calc-group label {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calc-group input, .calc-group select {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: var(--font-body);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.calc-group input:focus, .calc-group select:focus {
    border-color: var(--accent-gold);
    outline: none;
}
.calc-result-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.calc-result-label {
    font-size: 12px;
    color: var(--text-muted);
}
.calc-result-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

/* Daşınmaz Əmlak ROI Kalkulyatoru (expertise.html) */
.roi-calc-container {
    margin-top: 25px;
    background: rgba(7, 9, 14, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}
body.light-theme .roi-calc-container {
    background: rgba(255, 255, 255, 0.3);
}
.roi-calc-title {
    font-size: 14px;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.roi-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 15px;
}
.roi-result-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    min-width: 0;
}
.roi-result-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
}
.roi-result-num {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
}

/* n8n Webhook Settings Panel (contact.html) */
.webhook-settings-toggle {
    margin: 20px auto 0 auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-fast);
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}
.webhook-settings-toggle:hover {
    color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
}
.webhook-settings-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg-card);
    border-radius: 8px;
    margin-top: 10px;
}
.webhook-settings-panel.active {
    max-height: 200px;
    border: 1px solid var(--border-color);
    padding: 15px;
}
.webhook-input-group {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.webhook-input {
    flex-grow: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
}
.webhook-input:focus {
    border-color: var(--accent-cyan);
    outline: none;
}
.btn-save-webhook {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-save-webhook:hover {
    box-shadow: var(--glow-shadow);
    transform: translateY(-1px);
}

/* AI Chatbot Widget (Bütün Səhifələrdə) */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-body);
}
.chatbot-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-gold) 100%);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: #07090e;
    font-size: 22px;
}
.chatbot-bubble:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.4);
}
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform-origin: bottom right;
}
.chatbot-window.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
body.light-theme .chatbot-window {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.chatbot-header {
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.1), rgba(255, 215, 0, 0.1));
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chatbot-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}
.chatbot-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.chatbot-status {
    font-size: 10px;
    color: #00ff66;
    display: flex;
    align-items: center;
    gap: 4px;
}
.chatbot-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00ff66;
    border-radius: 50%;
}
.chatbot-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-fast);
}
.chatbot-close:hover {
    color: var(--text-primary);
}
.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chatbot-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}
.chatbot-msg.bot {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}
body.light-theme .chatbot-msg.bot {
    background: rgba(0, 0, 0, 0.05);
}
.chatbot-msg.user {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    font-weight: 500;
}
body.light-theme .chatbot-msg.user {
    background: var(--accent-cyan);
    color: #ffffff;
}
.chatbot-quick-replies {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border-color);
}
.quick-reply-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.quick-reply-btn:hover {
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}
body.light-theme .quick-reply-btn {
    background: rgba(0, 0, 0, 0.02);
}
.chatbot-input-area {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}
.chatbot-input {
    flex-grow: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
}
.chatbot-input:focus {
    border-color: var(--accent-cyan);
    outline: none;
}
.chatbot-send {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}
.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-shadow);
}

@media (max-width: 480px) {
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
    .chatbot-window {
        width: calc(100vw - 30px);
        height: 420px;
        bottom: 70px;
    }
    .expertise-card {
        padding: 20px 16px;
    }
    .risk-calc-container, .roi-calc-container {
        padding: 12px;
    }
    .calendar-widget {
        padding: 15px;
    }
}

/* ==========================================================================
   EVALUATION.AZ SAAS SHOWCASE STYLING
   ========================================================================== */
.saas-showcase-section {
    margin-top: 80px;
    padding: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}
.saas-showcase-section:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-shadow);
}
body.light-theme .saas-showcase-section {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.saas-showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.saas-showcase-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.saas-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.saas-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}
.saas-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Tabs */
.saas-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.saas-tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.saas-tabs-nav::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
}
.saas-tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-fast);
    white-space: nowrap;
}
.saas-tab-btn:hover {
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.04);
}
.saas-tab-btn.active {
    color: var(--bg-dark);
    background: var(--accent-cyan);
    box-shadow: var(--glow-shadow);
}
body.light-theme .saas-tab-btn.active {
    color: #ffffff;
}

.saas-tab-pane {
    display: none;
    animation: saasFadeIn 0.4s ease;
}
.saas-tab-pane.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@keyframes saasFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.saas-pane-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}
.saas-pane-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
}
@media (max-width: 580px) {
    .saas-pane-list {
        grid-template-columns: 1fr;
    }
}
.saas-pane-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.light-theme .saas-pane-item {
    background: rgba(0,0,0,0.02);
}
.saas-pane-item i {
    color: var(--accent-cyan);
    font-size: 14px;
}
.saas-pane-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Mockup PC App Dashboard */
.saas-mockup-wrapper {
    position: relative;
    border-radius: 20px;
    background: #0d121f;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
}
body.light-theme .saas-mockup-wrapper {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.saas-mockup-header {
    height: 38px;
    background: #090c15;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    justify-content: space-between;
}
body.light-theme .saas-mockup-header {
    background: #f3f4f6;
    border-bottom-color: rgba(0,0,0,0.05);
}
.saas-mockup-dots {
    display: flex;
    gap: 6px;
}
.saas-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.saas-mockup-dot.red { background: #ff5f56; }
.saas-mockup-dot.yellow { background: #ffbd2e; }
.saas-mockup-dot.green { background: #27c93f; }

.saas-mockup-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}
.saas-mockup-container {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}
.saas-mockup-sidebar {
    width: 70px;
    background: #090c15;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}
body.light-theme .saas-mockup-sidebar {
    background: #f3f4f6;
    border-right-color: rgba(0,0,0,0.05);
}
.saas-sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition-fast);
}
.saas-sidebar-item.active, .saas-sidebar-item:hover {
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.08);
}
.saas-mockup-main {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}
.saas-main-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.saas-main-title {
    font-size: 14px;
    font-weight: 700;
}
.saas-status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(0, 255, 102, 0.1);
    color: #00ff66;
    border: 1px solid rgba(0, 255, 102, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}
.saas-status-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00ff66;
    border-radius: 50%;
}
.saas-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.saas-stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px 12px;
}
body.light-theme .saas-stat-card {
    background: rgba(0,0,0,0.01);
    border-color: rgba(0,0,0,0.05);
}
.saas-stat-lbl {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}
.saas-stat-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-cyan);
}
.saas-stat-num.gold {
    color: var(--accent-gold);
}
.saas-chart-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}
body.light-theme .saas-chart-box {
    background: rgba(0,0,0,0.01);
    border-color: rgba(0,0,0,0.05);
}
.saas-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.saas-chart-lbl {
    font-size: 11px;
    font-weight: 600;
}
.saas-chart-legend {
    display: flex;
    gap: 10px;
    font-size: 9px;
    color: var(--text-muted);
}
.saas-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.saas-legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.saas-legend-dot.cyan { background: var(--accent-cyan); }
.saas-legend-dot.gold { background: var(--accent-gold); }

.saas-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 70px;
    padding-top: 10px;
}
.saas-bar-group {
    display: flex;
    gap: 4px;
    align-items: flex-end;
}
.saas-bar {
    width: 8px;
    border-radius: 4px 4px 0 0;
    height: 20px;
    transition: height 0.6s ease;
}
.saas-bar.cyan { background: var(--accent-cyan); }
.saas-bar.gold { background: var(--accent-gold); }

/* Double border visual upgrade style */
.double-border-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}
.double-border-card::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    pointer-events: none;
}
body.light-theme .double-border-card::after {
    border-color: rgba(0, 0, 0, 0.03);
}

/* Tab Layout for Calculators */
.calc-tab-nav {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 15px;
}
body.light-theme .calc-tab-nav {
    background: rgba(0, 0, 0, 0.05);
}
.calc-tab-btn {
    flex-grow: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
}
.calc-tab-btn.active {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}
body.light-theme .calc-tab-btn.active {
    color: #ffffff;
}
.calc-tab-btn.gold-theme.active {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.calc-tab-pane {
    display: none;
}
.calc-tab-pane.active {
    display: block;
}

/* Dynamic Pip Explanation Panel */
.pip-info-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    border-left: 2px solid var(--accent-gold);
    overflow-wrap: break-word;
    word-break: break-word;
}
.pip-info-panel code {
    background: rgba(255,255,255,0.06);
    padding: 1px 4px;
    border-radius: 4px;
    color: var(--accent-gold);
}
body.light-theme .pip-info-panel code {
    background: rgba(0,0,0,0.04);
}
.pip-info-list {
    margin: 6px 0 0 0;
    padding-left: 15px;
    list-style-type: disc;
}
.pip-info-list li {
    margin-bottom: 6px;
}
.pip-info-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .saas-showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .saas-showcase-section {
        padding: 30px;
        border-radius: 24px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


