/* Stock Pathshala Case Study Page Styles */

/* Hero Section */
.hero-section {
    background: #fff4f1;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    height: 673px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff4f1;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(255, 198, 179, 1) 0%, rgba(244, 98, 49, 1) 100%); */
    opacity: 0.15;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.case-study-badge {
    color: #f46231;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.project-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 40px;
    height: 40px;
    background: #5f6a8a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.project-icon i {
    font-size: 28px;
    color: white;
}

.project-title h1 {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: #000000;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 491px;
}

/* Key Metrics */
.key-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.metric-card {
    background: #f46231;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-card i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.metric-card p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.metric-card h4 {
    margin: 5px 0 0 0;
    font-size: 18px;
    font-weight: 600;
}

/* Hero Image */
.hero-image {
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    display: inline-block;
    width: 385px;
}

.hero-app-image {
    width: 385px;
    height: 555px;
    object-fit: cover;
    z-index: 3;
    position: relative;
    border-radius: 45px;
    display: block;
    margin: 0 auto;
}

.purple-overlay {
    position: absolute;
    top: 0px;
    right: -80px;
    width: 556px;
    height: 556px;
    background: #1c2a61;
    border-radius: 50%;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #fff4f1;
    z-index: 2;
    border-radius: 45px;
}

/* Utility and shared section styles extracted from inline */
.section-pad-lg { padding: 35px 0; }
.section-white { background: #ffffff; }
.section-gray { background: #f8f9fa; }
.section-dark { background: #2c3e50; position: relative; }

.heading-xl { font-size: 36px; font-weight: 700; color: #2c3e50; }
.heading-white { color: #ffffff; }
.mb-0 { margin-bottom: 0; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.m-0 { margin: 0; }

.paragraph-lg { font-size: 18px; color: #6c757d; line-height: 1.8; }
/* Compact variant inside result section */
.result-section .paragraph-lg { font-size: 16px; line-height: 1.6; }

.icon-orange { color: #ff6b35; font-size: 22px; margin-right: 15px; }
.with-icon { display: flex; align-items: center; }

.image-with-badge { position: relative; text-align: center; }
.image-inner { position: relative; display: inline-block; }
.img-rounded { border-radius: 20px; }
.shadow-xl { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.badge-orange-circle { position: absolute; top: -30px; right: -30px; width: 150px; height: 150px; background: linear-gradient(135deg, #ff6b35, #ff8c42); border-radius: 50%; opacity: 0.2; z-index: -1; }

/* Project Overview composite (matches Figma Group 5) */
.overview-composite { position: relative; width: 585px; height: 488px; margin: 0 auto; }
.overview-circle { position: absolute; right: -60px; top: 95px; width: 393px; height: 393px; background: #fde9e2; border-radius: 50%; z-index: 1; }
.overview-main { position: absolute; left: 0; top: 0; width: 467px; height: 449px; border-radius: 20px; overflow: hidden; z-index: 2; }
.overview-main img { width: 100%; height: 100%; object-fit: cover; }
.overview-side { position: absolute; width: 223px; height: 191px; border-radius: 20px; overflow: hidden; z-index: 3; }
.overview-side img { width: 100%; height: 100%; object-fit: cover; }
.overview-side-top { right: -30px; top: 138px; }
.overview-side-bottom { right: -60px; top: 95px; width: 161px; height: 222px; border-radius: 20px; }

/* Allow single full image variant */
.overview-full { width: 100%; height: auto; display: block; }
.no-white-bg { background: transparent !important; }

/* Overview panel (no-image version) */
.overview-panel { background: #fff4f1; border: 1px solid #eedad5; border-radius: 16px; padding: 32px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); }

@media (max-width: 992px) {
  .overview-composite { transform: scale(0.9); transform-origin: top left; }
}

@media (max-width: 576px) {
  .overview-composite { transform: scale(0.8); }
}

.list-check { list-style: none; padding: 0; }
.list-check li { margin-bottom: 15px; display: flex; align-items: flex-start; }
.list-check li span { color: #2c3e50; font-size: 16px; }
.list-check .icon-orange { margin-top: 5px; }
/* Tighter list spacing in result section */
.result-section .list-check li { margin-bottom: 10px; }
.result-section .list-check li span { font-size: 15px; line-height: 1.5; }

/* Variant with small orange square bullets to match Figma vectors */
.list-square { list-style: none; padding: 0; }
.list-square li { position: relative; padding-left: 26px; margin-bottom: 14px; }
.list-square li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; background: #ff6b35; border-radius: 2px; }
.list-square li span { color: #2c3e50; font-size: 16px; display: block; }

/* Two column divider */
.two-col-divider { position: relative; }
@media (min-width: 992px) {
  .two-col-divider::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #b3aead; transform: translateX(-0.5px); }
}

/* Section horizontal divider line */
.section-divider-top { position: relative; }
.section-divider-top::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 1px; background: #bbb0ad; }

/* App screenshots */
.gallery-gradient { position: relative; padding: 30px; border-radius: 30px; overflow: hidden; }
.gallery-gradient::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: linear-gradient(135deg, #0b0c5e 0%, #6758e9 100%); border-radius: 30px; z-index: 0; }
.gallery-gradient > .row { position: relative; z-index: 1; }
.tall-image-wrap { background: #ffffff; border-radius: 20px; padding: 8px; height: 100%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.18); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tall-image { width: 100%; height: 486px; object-fit: cover; border-radius: 16px; }
.tall-image-wrap:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.22); }

/* Feature pills area (Group 60 style) */
.features-pill-section { background: #ffffff; }
.feature-pill { background: #ffffff; border: 1px solid #bbb0ad; border-radius: 170px; min-height: 100px; display: flex; align-items: center; padding: 14px 18px; gap: 12px; }
.feature-pill { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.feature-pill:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,0.15); border-color: #dcd6d2; }
.pill-icon { width: 50px; height: 50px; background: #ff6b35; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; flex: 0 0 50px; }
.pill-icon { transition: transform 0.25s ease, background-color 0.25s ease; }
.feature-pill:hover .pill-icon { transform: scale(1.06); background-color: #ff7e52; }
.pill-icon i { font-size: 22px; }
.pill-text { color: #000000; font-size: 16px; font-weight: 500; }

@media (max-width: 992px) {
  .feature-pill { min-height: 88px; padding: 12px 16px; }
  .pill-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .pill-icon i { font-size: 20px; }
  .pill-text { font-size: 15px; }
}

/* Features */
.feature-card { background: #ffffff; border-radius: 25px; padding: 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); height: 100%; }
.feature-card--orange { background: #ff6b35; }
.feature-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.gradient-orange { background: linear-gradient(135deg, #ff6b35, #ff8c42); }
.icon-white { background: #ffffff; }
.icon-white i { color: #ff6b35; }
.feature-icon i { font-size: 24px; color: #ffffff; }
.feature-text { color: #2c3e50; font-size: 16px; font-weight: 500; margin: 0; }
.feature-text--white { color: #ffffff;}

/* Result */
.conclusion-box { background: #ffffff; border-radius: 16px; padding: 32px; border-left: 7px solid #ff6b35; box-shadow: 0 10px 24px rgba(0,0,0,0.06); }

/* Soft peach backdrop for result group */
.section-soft { background: #fff6f3; }

/* Video */
.video-container { position: relative; max-width: 800px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.video-inner { background: #1a1a1a; padding: 60px; text-align: center; border-radius: 20px; }
.play-button { width: 100px; height: 100px; background: #ff6b35; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; cursor: pointer; transition: all 0.3s ease; }
.play-button i { font-size: 32px; color: #ffffff; margin-left: 5px; }
.video-caption { color: #ffffff; font-size: 18px; margin: 0; }

/* CTA band */
.cta-band { background: #fff6f3; }
.cta-wrap { background: #ff6b35; border-radius: 12px; padding: 26px; display: flex; align-items: center; gap: 16px; color: #ffffff; }
.cta-icon { width: 90px; height: 90px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ff6b35; font-size: 36px; }
.cta-text { flex: 1; }
.cta-title { margin: 0 0 6px 0; font-size: 28px; font-weight: 700; }
.cta-subtitle { margin: 0; opacity: 0.95; }
.cta-btn { background: #ffffff; color: #ff6b35; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
.cta-btn:hover { background: #f8f9fa; color: #ff6b35; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cta-button-wrapper { flex-shrink: 0; }

/* Related case studies */
.related-section { padding-top: 20px; }
.related-card { background: #ffffff; border: 1px solid #c3b9b4; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 18px rgba(0,0,0,0.05); }
.related-header { height: 290px; position: relative; display: flex; align-items: center; justify-content: center; }
.gradient-orange-1 { background: linear-gradient(180deg, #f14336 0%, #ff8a6e 100%); }
.gradient-orange-2 { background: linear-gradient(180deg, #ffa111 0%, #0b0c5e 100%); }
.gradient-orange-3 { background: linear-gradient(180deg, #f1418a 0%, #26043c 100%); }
.phone-stack { position: relative; width: 260px; height: 250px; }
.phone-img { position: absolute; width: 160px; height: 300px; object-fit: cover; border-radius: 20px; border: 3px solid #ffffff; box-shadow: 0 12px 24px rgba(0,0,0,0.25); }
.phone-img.left { right: 35px; transform: rotate(-5deg); }
.phone-img.right { left: 35px; transform: rotate(5deg); }
.related-body { padding: 18px; }
.related-title { margin: 0 0 10px 0; color: #000000; font-weight: 700; font-size: 18px; }
.related-tags { display: flex; align-items: center; gap: 10px; }
.tag { display: inline-block; padding: 6px 10px; border-radius: 6px; font-size: 13px; }
.tag-outline { background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.4); color: #000; }
.tag-accent { background: #ffffff; border: 1px solid rgba(255,107,53,0.4); color: #ff6b35; }
.arrow-circle { width: 28px; height: 28px; background: #ff6b35; color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: auto; }

/* Metrics band after hero (Figma Group 39) */
.metrics-band { position: relative; padding: 30px 0 40px; background: rgba(244,98,49,0.2); }
.metrics-divider { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #dfd1ce; }
.metric-pill { background: #f46231; border-radius: 13px; padding: 16px 18px; display: flex; align-items: center; color: #ffffff; }
.metric-pill { transition: transform 0.25s ease, box-shadow 0.25s ease; box-shadow: 0 0 0 rgba(0,0,0,0); }
.metric-pill .icon-circle { width: 47px; height: 47px; background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 16px; }
.metric-pill .icon-circle { transition: transform 0.25s ease; }
.metric-pill .icon-circle i { color: #f46231; font-size: 22px; }
.metric-text { display: flex; flex-direction: column; line-height: 1.15; }
.metric-title { font-size: 13px; opacity: 0.95; }
.metric-value { font-size: 18px; font-weight: 600; }

.metric-pill:hover { transform: translateY(-6px); box-shadow: 0 10px 20px rgba(244,98,49,0.3); }
.metric-pill:hover .icon-circle { transform: scale(1.08); }

/* Generic hover animations for cards */
.screenshot-card,
.feature-card,
.video-container,
.img-rounded,
.metric-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }

.screenshot-card:hover { transform: translateY(-8px); box-shadow: 0 25px 45px rgba(0,0,0,0.25); }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(0,0,0,0.18); }
.metric-card:hover { transform: translateY(-6px); box-shadow: 0 16px 28px rgba(244,98,49,0.25); }
.img-rounded:hover { transform: translateY(-6px); box-shadow: 0 26px 46px rgba(0,0,0,0.18); }

/* Play button pulse */
.play-button { position: relative; }
.play-button::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(244,98,49,0.6); animation: none; }
.play-button:hover { transform: scale(1.05); }
.play-button:hover::after { animation: pulse-ring 1.2s ease-out infinite; }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(244,98,49,0.55); }
  70% { box-shadow: 0 0 0 18px rgba(244,98,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,98,49,0); }
}

/* Home link hover animation (apply class="hover-home" to any Home link) */
.hover-home { position: relative; display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.hover-home::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; opacity: 0.85; }
.hover-home i { transition: transform 0.25s ease, color 0.2s ease; }
.hover-home:hover { color: #f46231; transform: translateY(-2px); }
.hover-home:hover::after { transform: scaleX(1); }
.hover-home:hover i { transform: translateX(3px) scale(1.06); color: #f46231; }

/* Enhanced Mobile Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .hero-section {
        padding: 100px 0 70px;
        height: auto;
    }
    
    .hero-subtitle {
        font-size: 42px;
    }
    
    .overview-composite {
        transform: scale(0.9);
        transform-origin: center;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0 60px;
        height: auto;
    }
    
    .hero-subtitle {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 17px;
        max-width: 100%;
    }
    
    .overview-composite {
        transform: scale(0.8);
        transform-origin: center;
        margin: 20px auto;
    }
    
    .heading-xl {
        font-size: 30px;
    }
    
    .paragraph-lg {
        font-size: 16px;
    }
    
    .feature-pill {
        min-height: 80px;
        padding: 12px 16px;
    }
    
    .pill-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    
    .pill-text {
        font-size: 14px;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
        height: auto;
    }
    
    .project-title h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-image-container { 
        width: 280px; 
        margin: 0 auto;
    }
    
    .hero-app-image { 
        width: 280px; 
        height: 420px; 
    }
    
    .purple-overlay {
        width: 350px;
        height: 350px;
        top: 35px;
        right: -150px;
    }
    
    .metrics-band {
        padding: 20px 0 30px;
    }
    
    .metric-pill {
        padding: 12px 14px;
        margin-bottom: 10px;
    }
    
    .metric-pill .icon-circle {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .metric-pill .icon-circle i {
        font-size: 18px;
    }
    
    .metric-title {
        font-size: 12px;
    }
    
    .metric-value {
        font-size: 16px;
    }
    
    .heading-xl {
        font-size: 28px;
    }
    
    .paragraph-lg {
        font-size: 15px;
    }
    
    .section-pad-lg {
        padding: 25px 0;
    }
    
    .gallery-gradient {
        padding: 20px;
    }
    
    .tall-image {
        height: 350px;
    }
    
    .feature-pill {
        min-height: 70px;
        padding: 10px 14px;
        margin-bottom: 10px;
    }
    
    .pill-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }
    
    .pill-icon i {
        font-size: 16px;
    }
    
    .pill-text {
        font-size: 13px;
    }
    
    .cta-wrap {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .cta-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .cta-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .cta-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .cta-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .related-header {
        height: 200px;
    }
    
    .phone-stack {
        width: 200px;
        height: 180px;
    }
    
    .phone-img {
        width: 150px;
        height: 200px;
    }
    
    .related-title {
        font-size: 16px;
    }
    
    .tag {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0 30px;
    }
    
    .project-title {
        flex-direction: column;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .project-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .project-title h1 {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 24px;
        text-align: center;
    }
    
    .hero-description {
        font-size: 15px;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .hero-image-container { 
        width: 220px; 
    }
    
    .hero-app-image { 
        width: 220px; 
        height: 330px; 
    }
    
    .purple-overlay {
        width: 280px;
        height: 280px;
        top: 25px;
        right: -100px;
    }
    
    .case-study-badge {
        font-size: 14px;
        text-align: center;
        display: block;
        margin-bottom: 15px;
    }
    
    .metrics-band {
        padding: 15px 0 25px;
    }
    
    .metric-pill {
        padding: 10px 12px;
        margin-bottom: 8px;
    }
    
    .metric-pill .icon-circle {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .metric-pill .icon-circle i {
        font-size: 16px;
    }
    
    .metric-title {
        font-size: 11px;
    }
    
    .metric-value {
        font-size: 14px;
    }
    
    .heading-xl {
        font-size: 24px;
        text-align: center;
    }
    
    .paragraph-lg {
        font-size: 14px;
        text-align: center;
    }
    
    .section-pad-lg {
        padding: 20px 0;
    }
    
    .overview-composite {
        transform: scale(0.7);
        margin: 15px auto;
    }
    
    .gallery-gradient {
        padding: 15px;
    }
    
    .tall-image {
        height: 280px;
    }
    
    .feature-pill {
        min-height: 60px;
        padding: 8px 12px;
        margin-bottom: 8px;
        border-radius: 30px;
    }
    
    .pill-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
    
    .pill-icon i {
        font-size: 14px;
    }
    
    .pill-text {
        font-size: 12px;
    }
    
    .cta-wrap {
        padding: 15px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .cta-subtitle {
        font-size: 13px;
    }
    
    .cta-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .related-header {
        height: 150px;
    }
    
    .phone-stack {
        width: 150px;
        height: 140px;
    }
    
    .phone-img {
        width: 150px;
        height: 160px;
    }
    
    .related-title {
        font-size: 14px;
    }
    
    .tag {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .arrow-circle {
        width: 24px;
        height: 24px;
    }
    
    .arrow-circle i {
        font-size: 12px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0 20px;
    }
    
    .project-title h1 {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-image-container { 
        width: 180px; 
    }
    
    .hero-app-image { 
        width: 180px; 
        height: 270px; 
    }
    
    .purple-overlay {
        width: 220px;
        height: 220px;
        top: 15px;
        right: -70px;
    }
    
    .heading-xl {
        font-size: 22px;
    }
    
    .paragraph-lg {
        font-size: 13px;
    }
    
    .section-pad-lg {
        padding: 15px 0;
    }
    
    .overview-composite {
        transform: scale(0.6);
    }
    
    .tall-image {
        height: 220px;
    }
    
    .feature-pill {
        min-height: 50px;
        padding: 6px 10px;
        border-radius: 25px;
    }
    
    .pill-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }
    
    .pill-icon i {
        font-size: 12px;
    }
    
    .pill-text {
        font-size: 11px;
    }
    
    .cta-title {
        font-size: 18px;
    }
    
    .cta-subtitle {
        font-size: 12px;
    }
    
    .cta-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .related-header {
        height: 200px;
    }
    
    .phone-stack {
        width: 120px;
        height: 110px;
    }
    
    .phone-img {
        width: 150px;
        height: 200px;
    }
    
    .related-title {
        font-size: 13px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0 30px;
        height: auto;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-image-container { 
        width: 200px; 
    }
    
    .hero-app-image { 
        width: 200px; 
        height: 300px; 
    }
    
    .purple-overlay {
        width: 250px;
        height: 250px;
        top: 25px;
        right: -100px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-12,
    .col-sm-12,
    .col-md-12,
    .col-lg-12 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .col-6,
    .col-sm-6,
    .col-md-6,
    .col-lg-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .col-4,
    .col-sm-4,
    .col-md-4,
    .col-lg-4 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .col-3,
    .col-sm-3,
    .col-md-3,
    .col-lg-3 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Improve touch targets */
    .cta-btn,
    .feature-pill,
    .metric-pill {
        min-height: 44px;
    }
    
    /* Better spacing for mobile */
    .mb-30 {
        margin-bottom: 20px;
    }
    
    .mb-50 {
        margin-bottom: 30px;
    }
    
    /* Improve text readability */
    .list-check li {
        margin-bottom: 12px;
    }
    
    .list-check li span {
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* Better image handling */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve button spacing */
    .cta-button-wrapper {
        margin-top: 15px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .feature-pill:hover,
    .metric-pill:hover,
    .cta-btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .feature-pill:active,
    .metric-pill:active,
    .cta-btn:active {
        transform: scale(0.98);
        opacity: 0.8;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-app-image,
    .tall-image,
    .phone-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .metrics-band,
    .cta-band,
    .related-section {
        display: none;
    }
    
    .section-white,
    .section-gray {
        background: white !important;
    }
    
    .heading-xl,
    .hero-subtitle {
        color: black !important;
    }
}
