/* =============================================
   DESIGN SYSTEM & VARIABLES
   ============================================= */

:root {
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Accent */
    --accent-1: #8b5cf6;
    --accent-2: #3b82f6;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

/* Dark Theme (default) */
[data-theme="dark"] {
    --bg-primary: #06060f;
    --bg-secondary: #0d0d1f;
    --bg-tertiary: #141428;
    --bg-card: rgba(20, 20, 40, 0.6);
    --bg-card-hover: rgba(30, 30, 55, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-border: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted: #5a5a7a;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);

    --nav-bg: rgba(6, 6, 15, 0.8);
    --code-bg: #0a0a1a;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #fafafe;
    --bg-secondary: #f0f0f8;
    --bg-tertiary: #e8e8f0;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.5);
    --bg-glass-border: rgba(0, 0, 0, 0.06);

    --text-primary: #1a1a2e;
    --text-secondary: #5a5a7a;
    --text-muted: #9898b0;

    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.08);

    --nav-bg: rgba(250, 250, 254, 0.85);
    --code-bg: #1a1a2e;
}

/* =============================================
   RESET & BASE
   ============================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* =============================================
   NAVIGATION
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 101;
}

.logo-icon {
    font-size: 1.4rem;
}

.logo-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link-external svg {
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.nav-link-external:hover svg {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 1.2rem;
    position: absolute;
    transition: all var(--transition-base);
}

[data-theme="dark"] .theme-icon.sun {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 0;
    transform: translateY(20px) rotate(-90deg);
}

[data-theme="light"] .theme-icon.sun {
    opacity: 0;
    transform: translateY(-20px) rotate(90deg);
}

[data-theme="light"] .theme-icon.moon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px var(--space-xl) var(--space-4xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

[data-theme="light"] .hero-orb {
    opacity: 0.2;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    bottom: -50px;
    left: -100px;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
    opacity: 0.2;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.btn-ghost {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border-color);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--accent-gradient);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -20px;
    }

    100% {
        top: 40px;
    }
}

/* =============================================
   SECTION COMMON
   ============================================= */

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-1);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* =============================================
   APPS SECTION
   ============================================= */

.apps-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

/* App Card */
.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.app-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* App Visuals */
.app-card-visual {
    padding: var(--space-xl) var(--space-xl) 0;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 340px;
}

.recipe-visual {
    background: linear-gradient(135deg, #ff6b3520, #f59e0b15);
}

.news-visual {
    background: linear-gradient(135deg, #3b82f620, #06b6d415);
}

.price-visual {
    background: linear-gradient(135deg, #22c55e20, #10b98115);
}

.weather-visual {
    background: linear-gradient(135deg, #8b5cf620, #6366f115);
}

.finance-visual {
    background: linear-gradient(135deg, #10b98120, #05966915);
}

.diary-visual {
    background: linear-gradient(135deg, #f472b620, #db277715);
}

.movie-visual {
    background: linear-gradient(135deg, #ef444420, #b91c1c15);
}

.minweather-visual {
    background: linear-gradient(135deg, #0ea5e920, #0284c715);
}

.portfolio-visual {
    background: linear-gradient(135deg, #6366f120, #4f46e515);
}

/* Phone Mockup */
.app-mockup {
    width: 220px;
    background: #1a1a2e;
    border-radius: 24px 24px 0 0;
    padding: 8px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.app-card:hover .app-mockup {
    transform: translateY(0);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    font-size: 0.65rem;
    color: #9898b0;
}

.mockup-notch {
    width: 60px;
    height: 5px;
    background: #2a2a40;
    border-radius: 10px;
}

.mockup-icons {
    display: flex;
    gap: 4px;
    font-size: 0.55rem;
}

.mockup-content {
    padding: 8px;
    border-radius: 16px;
    min-height: 240px;
}

/* Recipe Mockup */
.recipe-mockup-content {
    background: linear-gradient(180deg, #1f1510, #1a1a2e);
}

.mockup-search {
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.65rem;
    color: #9898b0;
    margin-bottom: 10px;
}

.mockup-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.mockup-categories span {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.55rem;
    color: #9898b0;
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.mockup-categories .mc-active {
    background: linear-gradient(135deg, #ff6b35, #f59e0b);
    color: white;
}

.mockup-recipe-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin-bottom: 8px;
}

.mrc-img {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mrc-info strong {
    display: block;
    font-size: 0.65rem;
    color: #f0f0f5;
}

.mrc-info small {
    font-size: 0.55rem;
    color: #9898b0;
}

/* News Mockup */
.news-mockup-content {
    background: linear-gradient(180deg, #0d1520, #1a1a2e);
}

.mockup-news-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f0f0f5;
    margin-bottom: 10px;
    padding: 0 4px;
}

.mockup-news-item {
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    margin-bottom: 6px;
}

.news-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.mockup-news-item.breaking .news-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.news-badge.blue {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.news-badge.green {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.mockup-news-item strong {
    display: block;
    font-size: 0.6rem;
    color: #f0f0f5;
    margin-bottom: 2px;
}

.mockup-news-item small {
    font-size: 0.5rem;
    color: #9898b0;
}

/* Price Mockup */
.price-mockup-content {
    background: linear-gradient(180deg, #0d1a10, #1a1a2e);
}

.mockup-price-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f0f0f5;
    margin-bottom: 10px;
    padding: 0 4px;
}

.mockup-price-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    margin-bottom: 6px;
}

.price-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.price-info {
    flex: 1;
}

.price-info strong {
    display: block;
    font-size: 0.6rem;
    color: #f0f0f5;
}

.price-info small {
    font-size: 0.5rem;
    color: #9898b0;
}

.price-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #22c55e;
}

/* Weather Mockup */
.weather-mockup-content {
    background: linear-gradient(180deg, #1a0d2e, #1a1a2e);
    text-align: center;
}

/* Weather Mockup Content */
.mockup-weather-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    justify-content: center;
    height: 100%;
}

.weather-temp {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.weather-condition {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.weather-forecast {
    display: flex;
    gap: var(--space-md);
    width: 100%;
    justify-content: center;
}

.wf-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: var(--radius-md);
}

/* Finance Mockup */
.mockup-finance-content {
    padding: var(--space-md);
    color: var(--text-primary);
}

.mockup-finance-header {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.mockup-finance-balance {
    margin-bottom: var(--space-lg);
}

.mockup-finance-balance small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mockup-finance-balance strong {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.mockup-finance-row {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.mf-item {
    flex: 1;
    background: var(--bg-card);
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.mf-item small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 4px 0 2px;
}

.mf-item strong {
    display: block;
    font-size: 0.85rem;
}

.mf-item.income strong {
    color: #10b981;
}

.mf-item.expense strong {
    color: #ef4444;
}

.mockup-finance-tx {
    display: flex;
    align-items: center;
    gap: var(--space-sd);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
}

.mockup-finance-tx>div {
    flex: 1;
    margin-left: 8px;
}

.mockup-finance-tx strong {
    display: block;
}

.mockup-finance-tx small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.tx-amount {
    font-weight: 600;
}

.tx-amount.positive {
    color: #10b981;
}

/* Diary Mockup */
.mockup-diary-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mockup-diary-header {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.mockup-diary-entry {
    background: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-lg);
}

.diary-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.diary-text {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
}

.mockup-diary-calendar {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.dc-day {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border-radius: 50%;
    color: var(--text-muted);
}

.dc-day.filled {
    background: var(--primary-color);
    color: white;
    opacity: 0.5;
}

.dc-day.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.mockup-diary-streak {
    text-align: center;
    font-size: 0.8rem;
    color: #f59e0b;
    font-weight: 600;
}

/* Movie Mockup */
.mockup-movie-content {
    padding: var(--space-md);
}

.mockup-movie-header {
    text-align: center;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.mockup-mood-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.mood-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.8rem;
    cursor: pointer;
}

.mood-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mockup-movie-roulette {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    padding: 10px;
    border-radius: var(--radius-full);
    text-align: center;
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.mockup-movie-result {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-movie-result strong {
    font-size: 0.9rem;
}

.mockup-movie-result small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Minimal Weather Mockup */
.minweather-mockup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-primary);
}

.minw-location {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.minw-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-xs);
}

.minw-temp {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.minw-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.minw-details {
    display: flex;
    gap: var(--space-xl);
    font-size: 0.9rem;
}

.minw-details div {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Portfolio Mockup */
.portfolio-mockup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    height: 100%;
}

.mockup-portfolio-header {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    width: 100%;
    text-align: center;
}

.mockup-portfolio-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mockup-portfolio-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.mockup-portfolio-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.mockup-portfolio-skills {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-xl);
}

.mockup-portfolio-skills span {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
}

.mockup-portfolio-stats {
    display: flex;
    gap: var(--space-xl);
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-md);
}

.mockup-portfolio-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mockup-portfolio-stats strong {
    font-size: 1.1rem;
}

.mockup-portfolio-stats small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.pixel-font {
    font-family: 'Courier New', monospace !important;
}

.weather-city {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f0f0f5;
    margin-bottom: 4px;
}

.weather-temp {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f0f0f5;
    margin-bottom: 2px;
    line-height: 1;
}

.weather-desc {
    font-size: 0.6rem;
    color: #9898b0;
    margin-bottom: 12px;
}

.weather-details {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.wd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.wd-item span {
    font-size: 0.9rem;
}

.wd-item small {
    font-size: 0.55rem;
    color: #9898b0;
}

.weather-forecast {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.wf-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.9rem;
}

.wf-day small {
    font-size: 0.5rem;
    color: #9898b0;
}

/* App Card Info */
.app-card-info {
    padding: var(--space-xl);
}

.app-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.app-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.app-emoji {
    font-size: 1.5rem;
}

.app-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.tag {
    padding: 4px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.app-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.app-link:hover {
    border-color: var(--accent-1);
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-1);
    transform: translateY(-1px);
}

.app-star {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Download Buttons */
.app-downloads {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
}

.download-btn.android {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

.download-btn.android:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35);
}

.download-btn.ios.disabled {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: default;
    opacity: 0.7;
}

.download-btn.ios.disabled svg {
    opacity: 0.5;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about-section {
    padding: var(--space-4xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.about-tech {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.tech-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.tech-icon {
    font-size: 1.5rem;
}

.tech-item strong {
    display: block;
    font-size: 0.9rem;
}

.tech-item small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.about-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.social-link.github:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-1);
}

.social-link.email:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-2);
}

.social-link.web:hover {
    background: rgba(236, 72, 153, 0.1);
    border-color: #ec4899;
}

/* Code Window */
.code-window {
    background: var(--code-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ef4444;
}

.code-dot.yellow {
    background: #f59e0b;
}

.code-dot.green {
    background: #22c55e;
}

.code-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #9898b0;
    font-family: 'Courier New', monospace;
}

.code-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
    color: #e0e0e0;
}

.code-keyword {
    color: #c792ea;
}

.code-class {
    color: #82aaff;
}

.code-string {
    color: #c3e88d;
}

.code-type {
    color: #ffcb6b;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: var(--accent-gradient);
    margin: 0 auto var(--space-lg);
    border-radius: 2px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
        z-index: 100;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links .nav-link {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px var(--space-md) var(--space-3xl);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stats {
        gap: var(--space-lg);
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .app-card-visual {
        height: 300px;
    }

    .app-mockup {
        width: 200px;
    }

    .about-tech {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .about-links {
        flex-direction: column;
    }

    .social-link {
        justify-content: center;
    }
}