/* ==========================================
   CSS VARIABLE SYSTEM (Theme & Design Tokens)
   ========================================== */
:root {
    /* Tema 2: Modern Tech Dark Mode (Bento Grid Style) - Default */
    --primary: #6366f1; /* Muted Indigo */
    --primary-glow: rgba(99, 102, 241, 0.2);
    --secondary: #10b981; /* Muted Emerald Green */
    --secondary-glow: rgba(16, 185, 129, 0.2);
    
    --bg-main: #0f172a; /* Slate Gelap */
    --bg-surface: #1e293b;
    --bg-navbar: rgba(15, 23, 42, 0.85);
    --border-color: #334155;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-badge: rgba(99, 102, 241, 0.1);
    --accent-badge-text: #818cf8;
    
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --nav-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-speed: 0.3s;
    --border-radius: 16px; /* Rounded-xl bento grid */
}

[data-theme="light"] {
    /* Tema 1: Light Mode – Clean Editorial & Minimalist */
    --primary: #1e3a8a; /* Navy Blue */
    --primary-glow: rgba(30, 58, 138, 0.1);
    --secondary: #065f46; /* Forest Green */
    --secondary-glow: rgba(6, 95, 70, 0.1);
    
    --bg-main: #f9fafb; /* Off-White */
    --bg-surface: #ffffff;
    --bg-navbar: rgba(249, 250, 251, 0.9);
    --border-color: #e5e7eb;
    
    --text-primary: #2d3748;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --accent-badge: rgba(30, 58, 138, 0.08);
    --accent-badge-text: #1e3a8a;
    
    /* Extremely subtle shadow */
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
    --nav-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

button, input, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

/* ==========================================
   BACKGROUND BLOB EFFECTS
   ========================================== */
.blob-bg {
    display: none;
}

/* ==========================================
   GLASSMORPHISM BASE CLASS
   ========================================== */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow var(--transition-speed) ease, 
                border-color var(--transition-speed) ease,
                background-color var(--transition-speed) ease;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow), 0 0 10px var(--secondary-glow);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-badge);
    color: var(--accent-badge-text);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.navbar-container {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 30px;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: var(--nav-shadow);
    transition: all var(--transition-speed) ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

.nav-links {
    display: flex;
    gap: 30px;
    position: relative;
    padding: 6px 0;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

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

.nav-indicator {
    position: absolute;
    bottom: -2px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 10px var(--primary-glow), 0 0 5px var(--secondary-glow);
    z-index: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
}

.menu-toggle {
    display: none;
    background: transparent;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 20px 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    min-height: 90vh;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 20px 0;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
}

/* Hero Simulator Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    border-radius: 20px;
    border-left: 2px solid var(--primary);
}

.card-header-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.code-editor-sim {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.code-line {
    margin-bottom: 6px;
}

.code-line.indent {
    padding-left: 20px;
}

.keyword { color: #f43f5e; }
.string { color: #10b981; }
.boolean { color: #3b82f6; }
.comment { color: var(--text-muted); font-style: italic; }

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    padding: 30px;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   SECTION COMMON HEADER
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 10px;
    letter-spacing: -0.5px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-img-box {
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    position: relative;
    border-right: 2px solid var(--secondary);
}

.avatar-replacement {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 3s infinite ease-in-out;
}

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

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.info-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.info-tag i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

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

.skills-category-card {
    padding: 30px;
}

.skills-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
}

.skills-category-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-category-title i {
    color: var(--primary);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%; /* Populated dynamically or inline */
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.filter-container {
    display: inline-flex;
    justify-content: center;
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 50px;
    margin: 0 auto 45px;
    align-self: center;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color var(--transition-speed) ease;
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    color: #ffffff;
}

.filter-indicator {
    position: absolute;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    z-index: 1;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .project-card:hover {
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.project-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 52px;
    height: 52px;
    background: rgba(30, 58, 138, 0.04);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

[data-theme="dark"] .project-icon {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
}

.project-card:hover .project-icon {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.project-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .project-tag {
    color: var(--secondary);
    background: rgba(6, 95, 70, 0.06);
    border-color: rgba(6, 95, 70, 0.12);
}

.project-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.55;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
}

.project-tech span {
    font-size: 0.72rem;
    font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
}

[data-theme="dark"] .project-tech span {
    background: rgba(255, 255, 255, 0.03);
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.project-link:hover {
    color: var(--primary);
}

/* ==========================================
   TIMELINE SECTION
   ========================================== */
.timeline-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-main);
    border: 4px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: all var(--transition-speed) ease;
}

.timeline-item:hover::after {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -8px;
}

.timeline-content {
    padding: 24px;
    position: relative;
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-detail-item i {
    width: 45px;
    height: 45px;
    background: var(--accent-badge);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-detail-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.contact-detail-item p {
    font-weight: 600;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    padding: 40px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
}

[data-theme="light"] .form-group input, [data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.02);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.02);
    box-shadow: 0 0 8px var(--primary-glow);
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status.success {
    color: #10b981;
    display: block;
}

.form-status.error {
    color: #ef4444;
    display: block;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    border-top: 1px solid var(--border-color);
    background: rgba(11, 15, 25, 0.9);
    padding: 30px 20px;
    text-align: center;
}

[data-theme="light"] footer {
    background: #f1f5f9;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content i {
    color: #f43f5e;
}

/* ==========================================
   SCROLL REVEAL & ANIMATIONS
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* ==========================================
   MEDIA QUERIES (Responsive Web Design)
   ========================================== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
        gap: 60px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-desc {
        margin: 20px auto 35px;
    }
    .skills-container {
        grid-template-columns: 1fr 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        background: var(--bg-navbar);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform var(--transition-speed) ease;
        opacity: 0;
        pointer-events: none;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::after {
        left: 23px;
    }
    .right {
        left: 0%;
    }
    .right::after {
        left: 23px;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ==========================================
   TEMA 1 & TEMA 2 LAYOUT & STYLE OVERRIDES
   ========================================== */

/* Tema 2: Bento Grid Layout (Dark Mode Desktop) */
@media (min-width: 1025px) {
    [data-theme="dark"] .projects-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    [data-theme="dark"] .projects-grid .project-card:nth-child(1) {
        grid-column: span 2;
    }
    
    [data-theme="dark"] .projects-grid .project-card:nth-child(3) {
        grid-column: span 2;
    }
    
    [data-theme="dark"] .projects-grid .project-card:nth-child(7) {
        grid-column: span 3;
    }
    
    /* Bento Grid for Skills */
    [data-theme="dark"] .skills-container {
        display: grid;
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 24px;
    }
}

/* Tema 1: Light Mode Clean Editorial Flat styling */
[data-theme="light"] .nav-indicator {
    background: var(--primary);
    box-shadow: none;
}

[data-theme="light"] .filter-indicator {
    background: var(--primary);
    box-shadow: none;
}

[data-theme="light"] .btn-primary {
    background: var(--primary);
    box-shadow: none;
}

[data-theme="light"] .btn-primary:hover {
    background: #111827; /* Darker grey/black on hover for clean editorial look */
    box-shadow: none;
    transform: translateY(-2px);
}

[data-theme="light"] .project-card:hover {
    transform: translateY(-4px);
    border-color: #9ca3af;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .project-img-placeholder {
    background: #f3f4f6;
    color: var(--primary);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

[data-theme="light"] .avatar-replacement {
    background: #f3f4f6;
    color: var(--primary);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

[data-theme="light"] .logo span {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--primary);
}

[data-theme="light"] .highlight {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--primary);
}

/* ==========================================
   PRICING / SERVICES PACKAGES STYLES
   ========================================== */
.pricing-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

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

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .pricing-card.featured {
    box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.1);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 30px;
    background: var(--primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.pricing-header .price {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing-header .price span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.pricing-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--secondary);
    font-size: 1rem;
}

.pricing-btn {
    text-align: center;
    width: 100%;
}

/* Project Price styles */
.project-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.project-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.12);
}

[data-theme="light"] .project-price {
    background: rgba(6, 95, 70, 0.05);
    border-color: rgba(6, 95, 70, 0.1);
}

/* Responsiveness for pricing grid */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


