:root {
    --bg-color: #ffffff;
    /* Bright White */
    --card-bg: rgba(255, 255, 255, 0.9);
    /* High opacity white */
    --card-border: rgba(226, 232, 240, 0.8);
    --primary-color: #2563eb;
    /* Royal Blue */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    /* Blue to Cyan Gradient */
    --secondary-color: #0891b2;
    /* Cyan-700 */
    --text-color: #475569;
    /* Slate-600 */
    --heading-color: #1e293b;
    /* Slate-800 */
    --accent-glow: rgba(37, 99, 235, 0.15);
    --border-color: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--heading-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-centered {
    text-align: center;
}

.hero-centered .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-portrait-centered {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--border-color);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 6px rgba(37, 99, 235, 0.06);
    margin-bottom: 2.5rem;
}

.hero-portrait-centered img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.greeting {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: block;
    line-height: 1.3;

    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (max-width: 768px) {
    .greeting {
        font-size: 1.8rem;
        /* Smaller on mobile to fit "as a whole" */
        white-space: nowrap;
        /* Attempt to force single line if it fits, or let it scroll? User asked to "combine as a whole" */
        /* Actually, purely nowrap might cause overflow.
           But 1.8rem * ~20 chars = ~360px. It fits TIGHTLY on iPhone 12/13/14 (390px).
           Safe bet: use nowrap but allow overflow scroll if absolutely needed, or just trust the scaling. */
    }
}

.highlight-text {
    /* Inherit parent's gradient text */
    color: inherit;
    -webkit-text-fill-color: inherit;
}

.headline {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    /* Larger headline */
    line-height: 1.1;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.tagline-container {
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    height: 1.8rem;
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.bio-snippet {
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.bio-snippet strong {
    color: var(--heading-color);
    font-weight: 600;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sidebar-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.sidebar-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.4;
}

/* Hero Stats Bubbles */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 100px;
    transition: transform 0.2s;
}

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

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Hero Portrait - Rounded Square */

/* Sections */
.section {
    padding: 7rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--primary-gradient);
    margin-top: 10px;
    border-radius: 10px;
}

/* Timeline */
.timeline {
    border-left: 3px solid #e2e8f0;
    margin-left: 1rem;
    padding-left: 2.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.15rem;
    /* Adjust for padding + border width */
    top: 6px;
    width: 1rem;
    height: 1rem;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.tech-stack-mini {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tech-stack-mini li {
    font-size: 0.85rem;
    background: rgba(37, 99, 235, 0.08);
    /* Light blue tint */
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    /* Ensure it fills the grid cell */
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: var(--transition-speed);
    position: relative;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.project-content .project-links {
    margin-top: auto;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.project-content {
    padding: 2.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.project-tags span {
    font-size: 0.8rem;
    background: white;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    font-weight: 500;
}

.link-btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-btn:hover {
    color: var(--heading-color);
}

.link-btn i {
    transition: transform 0.3s ease;
}

.link-btn:hover i {
    transform: translateX(4px);
}

/* Skills */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .skills-wrapper {
        grid-template-columns: 1fr;
    }
}

.skill-category h3 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 350px;
}

.skill-list span {
    background: white;
    border: 1px solid var(--card-border);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--heading-color);
    transition: var(--transition-speed);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.skill-list span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.15);
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(37, 99, 235, 0.03) 100%);
}

.footer h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.social-links {
    margin: 2.5rem 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--text-color);
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.15) rotate(5deg);
}

.copyright {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .headline {
        font-size: 3rem;
    }

    .navbar {
        padding: 1rem 2rem;
    }

    .hero {
        padding: 7rem 2rem 3rem;
        min-height: auto;
    }

    .hero-portrait-centered {
        width: 140px;
        height: 140px;
    }

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

    .about-sidebar {
        border-left: none;
        border-top: 2px solid var(--border-color);
        padding-left: 0;
        padding-top: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

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

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        width: 100%;
        padding: 2rem;
        animation: slideDown 0.3s ease forwards;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* JS Animation Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Project Subpage Styles */
/* Project Subpage Styles */
/* Project Subpage Styles */
.project-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.project-header-content .cta-group {
    justify-content: center;
}

.project-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.project-header-content .headline {
    margin-bottom: 2rem;
}

.project-tagline {
    font-size: 1.15rem;
    color: var(--text-color);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.huge-tags {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 2.5rem;
    gap: 0.5rem;
}

.huge-tags span {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: none;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.project-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list i {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.feature-list h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.feature-list p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.tech-card h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.tech-card i {
    color: var(--secondary-color);
}

.architecture-diagram {
    margin-top: 3rem;
    text-align: center;
}

.architecture-diagram h3 {
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* Fix alignment in project details grid */
.project-details-grid .section-title {
    min-height: 3em;
    /* Sufficient space for 2 lines + underline */
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align content to bottom */
    align-items: flex-start;
    /* Align text left */
}

/* Interest Tags in Hero */
.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.interest-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--heading-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.interest-tags span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.interest-tags span i {
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* ========================================
   Demo CTA Section (on project page)
   ======================================== */
.demo-cta-section {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, rgba(6, 182, 212, 0.04) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.demo-cta-section .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.demo-subtitle {
    font-size: 1.15rem;
    color: var(--text-color);
    max-width: 700px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

/* ========================================
   Phone Mockup (shared)
   ======================================== */
.phone-mockup {
    background: #1a1a2e;
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    width: 260px;
    flex-shrink: 0;
    position: relative;
}

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

.phone-screen {
    border-radius: 30px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.phone-screen img {
    width: 100%;
    display: block;
}

/* ========================================
   Demo Page - Dual Phone Layout
   ======================================== */
.demo-page-section {
    padding-top: 4rem;
}

.demo-row {
    margin-bottom: 6rem;
}

.demo-row:last-child {
    margin-bottom: 0;
}

.demo-row-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.row-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    background: rgba(8, 145, 178, 0.08);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
}

/* Dual phone row: Phone | Desc Left | Divider | Desc Right | Phone */
.dual-phone-row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    justify-content: center;
}

.dual-descriptions {
    flex: 1;
    max-width: 440px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.desc-left,
.desc-right {
    flex: 1;
}

.desc-left h3,
.desc-right h3 {
    font-size: 1.15rem;
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.desc-left p,
.desc-right p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-color);
}

.desc-divider {
    width: 1px;
    align-self: stretch;
    background: var(--border-color);
    flex-shrink: 0;
}

/* Single phone row (last step) */
.single-phone-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: center;
}

.single-desc {
    max-width: 380px;
}

.single-desc h3 {
    font-size: 1.3rem;
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.single-desc p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ========================================
   Screenshot Placeholder
   ======================================== */
.screenshot-placeholder-section {
    text-align: center;
}

.screenshot-placeholder {
    padding: 5rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.02);
    color: var(--text-color);
}

.screenshot-placeholder i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 1rem;
    display: block;
}

.screenshot-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================================
   Web Screenshot Demo Rows
   ======================================== */
.screenshot-row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.screenshot-row-reverse {
    flex-direction: row-reverse;
}

.screenshot-desc {
    flex: 0 0 280px;
}

.screenshot-desc h3 {
    font-size: 1.3rem;
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.screenshot-desc p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color);
}

.screenshot-frame {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.screenshot-frame img {
    width: 100%;
    display: block;
}

@media (max-width: 900px) {
    .screenshot-row,
    .screenshot-row-reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .screenshot-desc {
        flex: none;
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   Responsive - Demo & Interest Tags
   ======================================== */
@media (max-width: 900px) {
    .dual-phone-row {
        flex-direction: column;
        gap: 2rem;
    }

    .dual-descriptions {
        flex-direction: column;
        max-width: 100%;
        text-align: center;
    }

    .desc-divider {
        width: 80%;
        height: 1px;
        align-self: center;
    }

    .single-phone-row {
        flex-direction: column;
        text-align: center;
    }

    .phone-mockup {
        width: 240px;
    }

    .demo-subtitle {
        max-width: 100%;
    }

    .interest-tags {
        justify-content: center;
    }
}