/* ===== App Development Page ===== */
/* Accent: Violet Purple #8b5cf6 / #7c3aed */

:root {
    --ad-accent: #8b5cf6;
    --ad-accent-dark: #7c3aed;
    --ad-accent-glow: rgba(139, 92, 246, 0.25);
    --ad-accent-soft: rgba(139, 92, 246, 0.08);
    --ad-accent-border: rgba(139, 92, 246, 0.15);
    --ad-gradient: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Override global accent on this page */
.app-dev-page .highlight {
    background: var(--ad-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== HERO ===== */
.ad-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 120px 5vw 80px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ad-accent-glow) 0%, transparent 70%);
    top: 20%;
    left: -10%;
    pointer-events: none;
    animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--ad-accent-soft);
    border: 1px solid var(--ad-accent-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ad-accent);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-badge.pulse {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--ad-accent-glow);
    }

    50% {
        box-shadow: 0 0 20px 4px var(--ad-accent-glow);
    }
}

.badge-icon {
    display: flex;
    color: var(--ad-accent);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
}

.feature-check {
    color: var(--ad-accent);
    font-weight: 700;
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Hero Visual: Phone Mockup ===== */
.hero-visual {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.phone-preview {
    perspective: 1200px;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 40px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    padding: 12px;
    position: relative;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--ad-accent-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateY(-5deg); }
    50% { transform: translateY(-15px) rotateY(5deg); }
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #0a0a1a;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #1e293b;
    border-radius: 50%;
    position: absolute;
    right: 30px;
    top: 8px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 28px);
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a3e 100%);
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* -- Status Bar -- */
.screen-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 4px;
}

.screen-time {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

.screen-icons {
    display: flex;
    gap: 5px;
    align-items: center;
    color: rgba(255,255,255,0.8);
}

/* -- App Bar -- */
.screen-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px 10px;
}

.app-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--ad-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.app-avatar span {
    font-size: 0.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.app-bar-text {
    display: flex;
    flex-direction: column;
}

.app-greeting {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.5);
}

.app-username {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
}

.app-notification-bell {
    position: relative;
    color: rgba(255,255,255,0.7);
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid #0f0f23;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* -- Search -- */
.screen-search {
    margin: 0 14px 10px;
    padding: 7px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.3);
    font-size: 0.6rem;
}

/* -- Stat Cards -- */
.screen-stats {
    display: flex;
    gap: 8px;
    padding: 0 14px 8px;
    animation: statsSlideUp 0.8s ease both 0.3s;
}

@keyframes statsSlideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-card {
    flex: 1;
    border-radius: 12px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    opacity: 0.08;
}

.stat-purple {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-blue {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-trend {
    font-size: 0.5rem;
    font-weight: 600;
    margin-top: 4px;
}

.stat-trend.up {
    color: #22c55e;
}

/* -- Chart -- */
.screen-chart {
    margin: 0 14px 8px;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    animation: statsSlideUp 0.8s ease both 0.5s;
}

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

.chart-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
}

.chart-period {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.chart-bar {
    flex: 1;
    height: var(--h, 50%);
    background: rgba(139, 92, 246, 0.25);
    border-radius: 3px 3px 0 0;
    transition: height 0.6s ease;
    animation: barGrow 1s ease both;
    animation-delay: calc(var(--h, 50%) * 0.01);
}

.chart-bar.active {
    background: var(--ad-gradient);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

@keyframes barGrow {
    from { height: 0; }
}

/* -- List Items -- */
.screen-list {
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    animation: statsSlideUp 0.8s ease both 0.7s;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}

.list-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.li-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.li-yellow {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.list-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.list-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-sub {
    font-size: 0.48rem;
    color: rgba(255,255,255,0.4);
}

.list-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.45rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.list-badge.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.list-badge.pending {
    background: rgba(139, 92, 246, 0.15);
    color: var(--ad-accent);
}

/* -- Bottom Navigation -- */
.screen-bottomnav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 8px;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(10px);
}

.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255,255,255,0.3);
    position: relative;
}

.bnav-item span {
    font-size: 0.42rem;
    font-weight: 500;
}

.bnav-item.active {
    color: var(--ad-accent);
}

.bnav-item.active::before {
    content: '';
    position: absolute;
    top: -6px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--ad-accent);
}

.bnav-fab {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--ad-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    margin-top: -12px;
}

.bnav-fab span {
    display: none;
}


/* ===== SECTIONS SHARED ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--ad-accent-soft);
    border: 1px solid var(--ad-accent-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ad-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ===== TOOLS/TECH STACK ===== */
.tools-section {
    padding: 80px 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.tool-card:hover {
    border-color: var(--ad-accent-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.tool-icon-swift {
    background: rgba(248, 113, 46, 0.12);
    color: #f8712e;
}

.tool-icon-kotlin {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.tool-icon-react {
    background: rgba(97, 218, 251, 0.12);
    color: #61dafb;
}

.tool-icon-flutter {
    background: rgba(66, 165, 245, 0.12);
    color: #42a5f5;
}

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 0.88rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
    margin-bottom: 12px;
}

.tool-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--ad-accent-soft);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ad-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FEATURES BENTO ===== */
.features-showcase {
    padding: 80px 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

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

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.bento-card:hover {
    border-color: var(--ad-accent-border);
    transform: translateY(-2px);
}

.bento-large {
    grid-column: span 2;
}

.bento-wide {
    grid-column: span 3;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ad-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--ad-accent);
}

.bento-icon svg {
    width: 22px;
    height: 22px;
}

.bento-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
}

.bento-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.format-tag {
    padding: 6px 14px;
    background: var(--ad-accent-soft);
    border: 1px solid var(--ad-accent-border);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ad-accent);
}

/* ===== WORKFLOW / TIMELINE ===== */
.workflow-section {
    padding: 80px 5vw;
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ad-accent), transparent);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ad-accent-soft);
    border: 2px solid var(--ad-accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ad-accent);
    flex-shrink: 0;
    position: absolute;
    left: -40px;
}

.timeline-icon svg {
    width: 14px;
    height: 14px;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-section {
    padding: 80px 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-explanation {
    color: var(--text-secondary, #94a3b8);
    font-size: 1rem;
    margin-top: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--ad-accent-border);
}

.pricing-card.featured {
    border-color: var(--ad-accent);
    background: rgba(139, 92, 246, 0.04);
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--ad-accent-glow);
    top: -100px;
    right: -100px;
    pointer-events: none;
    opacity: 0.3;
}

.featured-glow {
    opacity: 0.5;
}

.featured-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--ad-gradient);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ad-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ad-accent);
    margin-bottom: 12px;
}

.pricing-icon svg {
    width: 22px;
    height: 22px;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary, #94a3b8);
    margin-top: 4px;
}

.price-block {
    margin-bottom: 24px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ad-accent);
}

.amount {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.price-sub {
    font-size: 0.8rem;
    color: var(--text-secondary, #94a3b8);
    margin-top: 4px;
}

.custom-price {
    flex-direction: column;
}

.custom-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ad-accent);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.pricing-features .check {
    color: var(--ad-accent);
    font-weight: 700;
    font-size: 1rem;
}

/* ===== COMPARE TABLE ===== */
.compare-toggle-wrapper {
    text-align: center;
    margin-top: 32px;
}

.compare-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-secondary, #94a3b8);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.compare-toggle:hover {
    border-color: var(--ad-accent-border);
    color: var(--ad-accent);
}

.compare-toggle.active {
    color: var(--ad-accent);
    border-color: var(--ad-accent-border);
}

.compare-table-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 24px;
}

.compare-table-wrapper.visible {
    max-height: 800px;
}

.compare-table {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.compare-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th {
    font-weight: 600;
    color: var(--ad-accent);
    font-size: 0.85rem;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.featured-col {
    background: rgba(139, 92, 246, 0.04);
}

.table-check {
    color: var(--ad-accent);
    font-weight: 700;
}

.table-x {
    color: rgba(255, 255, 255, 0.2);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 5vw;
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--ad-accent-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    color: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--ad-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

.faq-answer div {
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
}

/* ===== CTA ===== */
.ad-cta-section {
    text-align: center;
    padding: 80px 5vw;
    max-width: 700px;
    margin: 0 auto;
}

.ad-cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.ad-cta-section p {
    color: var(--text-secondary, #94a3b8);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ANIMATIONS ===== */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger cards */
.tool-card.animate-target {
    transition-delay: calc(var(--i, 0) * 0.1s);
}

.bento-card.animate-target {
    transition-delay: calc(var(--i, 0) * 0.1s);
}

.pricing-card.animate-target {
    transition-delay: calc(var(--i, 0) * 0.1s);
}

.timeline-item.animate-target {
    transition-delay: calc(var(--i, 0) * 0.15s);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ad-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-features {
        justify-content: center;
    }

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

    .features-bento {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

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

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== PORTFOLIO SHOWCASE ===== */
.showcase-section {
    padding: 80px 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-subtitle {
    color: var(--text-secondary, #94a3b8);
    font-size: 1rem;
    margin-top: 8px;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.showcase-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-secondary, #94a3b8);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
}

.showcase-tab:hover {
    border-color: var(--ad-accent-border);
    color: #fff;
}

.showcase-tab.active {
    background: var(--ad-accent-soft);
    border-color: var(--ad-accent);
    color: var(--ad-accent);
}

.showcase-tab svg {
    opacity: 0.7;
}

.showcase-tab.active svg {
    opacity: 1;
}

/* Phone Frame */
.showcase-phone-frame {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.phone-frame-outer {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 44px;
    border: 3px solid rgba(139, 92, 246, 0.25);
    padding: 10px;
    position: relative;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: showcasePhoneFloat 6s ease-in-out infinite;
}

@keyframes showcasePhoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.phone-frame-notch {
    width: 120px;
    height: 28px;
    background: #0a0a1a;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 0;
    position: relative;
    z-index: 3;
}

.phone-frame-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #1e293b;
    border-radius: 50%;
    position: absolute;
    right: 30px;
    top: 8px;
}

.phone-frame-screen {
    width: 100%;
    height: calc(100% - 48px);
    border-radius: 0 0 34px 34px;
    overflow: hidden;
    background: #0f0f23;
    transition: opacity 0.3s ease;
}

.phone-frame-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 34px 34px;
}

.phone-frame-homebar {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin: 8px auto 0;
}

/* Showcase Info / CTA */
.showcase-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-tag {
    font-size: 0.82rem;
    color: var(--text-secondary, #94a3b8);
    font-style: italic;
}

.showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .phone-frame-outer {
        width: 280px;
        height: 560px;
    }

    .showcase-tabs {
        gap: 6px;
    }

    .showcase-tab {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .showcase-info {
        flex-direction: column;
        text-align: center;
    }
}
