/* ========================================
   TealCode - Personal Tech Blog & Product Styles
   ======================================== */

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

:root {
    --teal: #2dd4bf;
    --teal-dark: #14b8a6;
    --teal-light: #5eead4;
    --primary: #818cf8;
    --primary-dark: #6366f1;
    --primary-light: #a5b4fc;
    --purple: #a78bfa;
    --bg: #0f172a;
    --bg-secondary: #1e293b;
    --bg-dark: #020617;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --border: #334155;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.5), 0 4px 6px -4px rgba(0,0,0,0.3);
    --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.6);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.5s; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--primary));
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.4);
}

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

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(45, 212, 191, 0.05);
    transform: translateY(-2px);
}

.btn-nav {
    background: linear-gradient(135deg, var(--teal), var(--primary));
    color: #0f172a;
    padding: 8px 20px;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-nav:hover {
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.35);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Gradient Text --- */
.gradient-text {
    background: linear-gradient(135deg, var(--teal), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #99f6e4, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--teal);
}

.nav-links a:not(.btn).active {
    color: var(--teal);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
}

/* ========================================
   Section Common
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* ========================================
   Blog Hero
   ======================================== */
.blog-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, rgba(129,140,248,0.06) 50%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45,212,191,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,212,191,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

.blog-hero-content {
    text-align: center;
    position: relative;
}

.blog-avatar {
    margin-bottom: 28px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.25);
}

.avatar-circle svg {
    width: 80px;
    height: 80px;
}

.blog-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.blog-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.blog-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(45, 212, 191, 0.15);
}

/* ========================================
   Blog Articles
   ======================================== */
.blog-articles {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.articles-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.article-category {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.cat-ios { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.cat-frontend { background: rgba(217,119,6,0.15); color: #fbbf24; }
.cat-backend { background: rgba(34,197,94,0.15); color: #4ade80; }
.cat-mobile { background: rgba(2,132,199,0.15); color: #38bdf8; }
.cat-devops { background: rgba(236,72,153,0.15); color: #f472b6; }

.article-meta time {
    font-size: 0.82rem;
    color: var(--text-light);
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
}

.article-excerpt {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   Blog Projects
   ======================================== */
.blog-projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.project-card:hover .project-arrow {
    color: var(--teal);
    transform: translate(2px, -2px);
}

.project-card-placeholder {
    background: var(--bg-secondary);
    border-style: dashed;
}

.project-card-placeholder:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

.project-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.project-icon {
    width: 48px;
    height: 48px;
}

.project-icon img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
}

.project-icon-fallback {
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.project-icon-fallback svg {
    width: 48px;
    height: 48px;
}

.project-arrow {
    color: var(--text-light);
    transition: var(--transition);
}

.project-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.project-tags {
    display: flex;
    gap: 8px;
}

/* ========================================
   Blog About
   ======================================== */
.blog-about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 760px;
    margin: 0 auto;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    margin-top: 8px;
}

.about-email:hover {
    color: var(--teal-light);
}

.about-skills h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.skill-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--teal), var(--primary));
    border-radius: 3px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   Footer (Blog - simple style)
   ======================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 0 24px;
}

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

.footer-brand-simple .logo {
    color: #fff;
}

.footer-nav-simple {
    display: flex;
    gap: 24px;
}

.footer-nav-simple a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-nav-simple a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer shared bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer (Product page - full style) */
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Product Page - Hero
   ======================================== */
.product-hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.breadcrumb:hover {
    color: var(--teal);
}

.product-intro {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-intro-text {
    flex: 1;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.product-name {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.product-slogan {
    font-size: 1.1rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 16px;
}

.product-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-intro-phone {
    flex: 0 0 auto;
}

/* ========================================
   Features Section (Product Page)
   ======================================== */
.features-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Phone Mockup
   ======================================== */
.phone-mockup {
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateX(2deg); }
    50% { transform: translateY(-15px) rotateX(0deg); }
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    padding: 40px 16px 16px;
}

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

.screen-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
}

.screen-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.screen-action {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 300;
}

.screen-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.search-icon {
    font-size: 0.7rem;
}

.screen-card {
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    animation: card-slide 0.5s ease-out both;
}

.card-1 { animation-delay: 0.8s; }
.card-2 { animation-delay: 1s; }
.card-3 { animation-delay: 1.2s; }

@keyframes card-slide {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.card-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.tag-work { background: #eef2ff; color: #6366f1; }
.tag-idea { background: #fef3c7; color: #d97706; }
.tag-life { background: #f0fdf4; color: #22c55e; }

.card-title {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.card-text {
    font-size: 0.65rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-date {
    font-size: 0.6rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* ========================================
   Screenshots Carousel
   ======================================== */
.screenshots-section {
    padding: 100px 0;
}

.screenshots-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px 0;
}

.screenshot-item {
    flex: 0 0 auto;
    text-align: center;
}

.screenshot-phone {
    display: flex;
    justify-content: center;
}

.sp-frame {
    width: 220px;
    height: 440px;
    background: #1a1a2e;
    border-radius: 30px;
    padding: 10px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
}

.screenshot-item:hover .sp-frame {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.sp-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #1a1a2e;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

.sp-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sp-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-light);
}

.sp-content {
    flex: 1;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.sp-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.sp-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.sp-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sp-bar {
    height: 8px;
    border-radius: 4px;
}

.sp-mock-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-mock-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sp-mock-line {
    height: 6px;
    border-radius: 3px;
}

.sp-tab-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 16px;
    border-top: 1px solid #f1f5f9;
}

.sp-tab {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-tab-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #e2e8f0;
}

.sp-tab.active .sp-tab-icon {
    background: var(--tab-color, var(--primary));
    opacity: 0.7;
}

.screenshot-label {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(45, 212, 191, 0.1);
}

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

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--teal);
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   Download Section (Product Page)
   ======================================== */
.download-section {
    padding: 0 0 100px;
}

.download-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45,212,191,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.download-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.download-card > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
    position: relative;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn-text .small {
    font-size: 0.65rem;
    opacity: 0.7;
    font-weight: 400;
}

.download-btn-text .big {
    font-size: 0.95rem;
    font-weight: 600;
}

.download-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
}

/* ========================================
   Contact Section (Product Page)
   ======================================== */
.contact {
    position: relative;
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45,212,191,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.tag-light {
    background: rgba(45, 212, 191, 0.1);
    color: var(--teal);
}

.contact-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    margin-top: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 460px;
    margin: 0 auto 40px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-intro {
        gap: 40px;
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .blog-hero {
        padding-top: 110px;
    }

    .blog-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .product-intro {
        flex-direction: column;
        text-align: center;
    }

    .product-actions {
        justify-content: center;
    }

    .product-hero {
        padding-top: 100px;
    }

    .breadcrumb {
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .carousel-track {
        gap: 20px;
    }

    .sp-frame {
        width: 180px;
        height: 360px;
    }

    .footer-simple {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .download-card {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .blog-hero {
        padding-top: 90px;
    }

    .blog-articles,
    .blog-projects,
    .blog-about,
    .features-section,
    .screenshots-section,
    .contact {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .product-hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .sp-frame {
        width: 160px;
        height: 320px;
    }

    .article-card {
        padding: 20px;
    }
}
