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

/* Reset and Custom Customizations */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --bg-darker: #060913;
    --bg-dark: #0b0f19;
    --bg-card: rgba(13, 20, 38, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(59, 130, 246, 0.5);
    
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.12);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.12);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.12);
    --tag-color: #f59e0b;
    --tag-glow: rgba(245, 158, 11, 0.15);
    
    --text-primary: #f3f4f6;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Font Families */
    --font-sans: 'Outfit', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Animation Timings */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.3);
    --shadow-tag-glow: 0 0 25px rgba(245, 158, 11, 0.25);
}

/* Strict Viewport Containment */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
}

/* Grid & Ambient Glow Backgrounds for UIUX depth */
.grid-bg {
    position: absolute;
    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: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
}

body::after {
    content: '';
    position: absolute;
    top: 800px;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(120px);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Glassmorphic Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 9, 19, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

header.scrolled {
    background: rgba(6, 9, 19, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.025em;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo span {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.nav-links .btn-install-sm {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.nav-links .btn-install-sm:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle & Menu */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 99;
    list-style: none;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 90px;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 75px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 550px;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.75rem;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.9rem 2.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.55), var(--shadow-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    padding: 0.9rem 2.25rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* VS Code Mockups */
.vscode-mockup {
    background: #181824;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.window-header {
    height: 40px;
    background: #0f0f18;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    justify-content: space-between;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.window-space {
    width: 48px;
}

.vscode-body {
    display: flex;
    height: 380px;
    background: #13131f;
}

.vscode-sidebar {
    width: 220px;
    background: #181824;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.sidebar-title {
    padding: 0 1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-action-icons {
    display: flex;
    gap: 0.5rem;
}

.sidebar-action-icons svg {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.sidebar-action-icons svg:hover {
    color: var(--text-primary);
}

.git-files-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.5rem;
}

.git-section-header {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.git-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    cursor: pointer;
    margin-bottom: 3px;
    transition: var(--transition-fast);
}

.git-file-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.git-file-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.file-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.status-m { color: #e2c08d; } 
.status-d { color: #f85149; } 
.status-a { color: #569cd6; } 

.vscode-editor {
    flex: 1;
    background: #13131f;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.editor-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 1rem;
}

.editor-tab {
    padding: 0.5rem 1rem;
    background: #13131f;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    border-top: 2px solid var(--primary);
    color: var(--text-primary);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.editor-content {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #a9b2c3;
    overflow-y: auto;
    position: relative;
}

.ai-typing-effect {
    border-left: 2px solid var(--primary);
    padding-left: 10px;
    margin-top: 1rem;
    color: var(--accent);
    display: none;
    animation: pulseBorder 2s infinite;
}

/* VS Code Input Overlay Simulation */
.vscode-input-overlay {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: #1e1e2f;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    padding: 0.75rem;
    z-index: 10;
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.input-overlay-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.input-overlay-field {
    width: 100%;
    background: #0f0f18;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.4rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border-radius: 4px;
    outline: none;
}

.input-overlay-field:focus {
    border-color: var(--primary);
}

/* Features Section */
.section {
    padding: 90px 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 75px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(59, 130, 246, 0.08) 0%, transparent 45%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.15);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.05) rotate(3deg);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
    background: rgba(139, 92, 246, 0.06);
    color: var(--secondary);
    border-color: rgba(139, 92, 246, 0.15);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
    background: rgba(245, 158, 11, 0.06);
    color: var(--tag-color);
    border-color: rgba(245, 158, 11, 0.15);
}

.feature-card:nth-child(4) .feature-icon-wrapper {
    background: rgba(16, 185, 129, 0.06);
    color: var(--accent);
    border-color: rgba(16, 185, 129, 0.15);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Interactive Simulator Section */
.simulator-section {
    background: rgba(7, 10, 22, 0.8);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
    align-items: center;
}

.simulator-controller {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.sim-btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.sim-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-normal);
    text-align: left;
}

.sim-action-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateX(5px);
}

.sim-action-btn.active {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.sim-action-btn.btn-tag-action:hover {
    border-color: var(--tag-color);
}

.sim-action-btn.btn-tag-action.active {
    background: rgba(245, 158, 11, 0.08);
    border-color: var(--tag-color);
    color: var(--tag-color);
}

.sim-action-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Commands & Guide Section */
.tabs-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.tabs-headers {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-headers::-webkit-scrollbar {
    display: none;
}

.tab-trigger {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-trigger.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.command-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.command-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.command-table th, .command-table td {
    padding: 1.15rem;
    border-bottom: 1px solid var(--border-color);
}

.command-table th {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.01);
}

.command-table td code {
    font-family: var(--font-mono);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Terminal copy blocks */
.terminal-block {
    background: #0b0f19;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    position: relative;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.terminal-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.terminal-content {
    white-space: pre-wrap;
    word-break: break-all;
    padding-right: 3.5rem;
}

.btn-copy {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* Footer style */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-darker);
    padding: 5rem 0 2.5rem;
    position: relative;
    scroll-snap-align: end;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
}

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

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

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

.footer-copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2.5rem;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 15%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, 15%) scale(1); }
}

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

@keyframes pulseBorder {
    0% { border-left-color: var(--primary); }
    50% { border-left-color: var(--secondary); }
    100% { border-left-color: var(--primary); }
}

/* Media Queries & Responsive layout optimizations */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .badge-new {
        margin-left: auto;
        margin-right: auto;
    }
    
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .simulator-controller {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; 
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 140px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .vscode-body {
        flex-direction: column;
        height: auto;
    }
    
    .vscode-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        height: 180px;
    }
}

/* --- Section Navigation Indicators (Side Dots) --- */
.section-dots-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 90;
}

.dot-indicator-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    position: relative;
    height: 12px;
}

.dot-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.dot-indicator-item:hover .dot-circle {
    background: var(--primary);
    transform: scale(1.2);
}

.dot-indicator-item.active .dot-circle {
    background: transparent;
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

.dot-tooltip {
    position: absolute;
    right: 25px;
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-primary);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    white-space: nowrap;
    border: 1px solid var(--border-color);
}

.dot-indicator-item:hover .dot-tooltip {
    opacity: 1;
    transform: translateX(-5px);
}

/* --- Active State for Header Navigation --- */
.nav-links a.active {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* --- Section Animations on Visible --- */
.section-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Hide indicators on mobile screens */
@media (max-width: 768px) {
    .section-dots-indicator {
        display: none;
    }
}

@media (min-width: 992px) {
    section, .hero {
        min-height: calc(100vh - 75px);
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .hero {
        padding-top: 75px;
        padding-bottom: 0;
    }
    .section {
        padding: 0;
    }
}
