/* ========================================
   VINEH - COMPREHENSIVE MOBILE RESPONSIVE CSS
   ======================================== */

/* ========================================
   LARGE TABLETS (max-width: 1200px)
   ======================================== */
@media (max-width: 1200px) {
    .feature-title,
    .understanding-title { 
        font-size: 3.2rem; 
    }
    
    .steps-main-title { 
        font-size: 3.5rem; 
    }
    
    .step-image-box { 
        height: 380px; 
    }
    
    .feature-card { 
        width: 60%; 
        margin-bottom: -100px; 
    }
    
    .simple-gallery {
        max-width: 320px;
        gap: 12px;
        right: 3%;
    }
    
    .gallery-item img {
        height: 160px;
    }
    
    .people-community {
        left: 5%;
    }
    
    .icon-camera {
        width: 220px;
        right: -30px;
    }
    
    .icon-camera-left {
        width: 220px;
        left: -8%;
    }
    
    .icon-party {
        width: 100px;
        right: 8%;
    }
    
    .icon-star-1 {
        width: 120px;
        left: 8%;
    }
    
    .bento-main-title {
        font-size: 3rem;
    }
    
    .card-grid {
        grid-auto-rows: 400px;
    }
}

/* ========================================
   SMALL TABLETS (max-width: 992px)
   ======================================== */
@media (max-width: 992px) {
    :root {
        --spacing-5xl: 100px;
        --spacing-4xl: 80px;
        --spacing-3xl: 60px;
    }
    
    /* Hero Section */
    .content-box {
        padding: 80px 40px;
        min-height: 500px;
    }
    
    .main-title { 
        font-size: 2.8rem; 
    }
    
    .subtitle {
        font-size: 1.4rem;
        line-height: 2;
    }
    
    .icon-camera,
    .icon-camera-left,
    .icon-party,
    .icon-star-1 {
        display: none;
    }
    
    .apple-badge {
        top: 3%;
        padding: 12px 22px;
    }
    
    .badge-text {
        font-size: 0.9rem;
    }
    
    /* Feature Section */
    .feature-title,
    .understanding-title { 
        font-size: 2.8rem; 
    }
    
    .feature-description {
        font-size: 1.5rem;
    }
    
    .simple-gallery {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 60px auto 0;
        max-width: 500px;
        width: 100%;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .people-community {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-top: 50px;
        justify-content: center;
    }
    
    .center-content {
        padding: 0 20px;
    }
    
    .feature-cta {
        justify-content: center;
    }
    
    /* Understanding Section */
    .understanding-title {
        gap: 12px;
    }
    
    .feature-card { 
        width: 80%; 
        margin-bottom: -80px; 
    }
    
    .card-title-text {
        font-size: 1.6rem;
    }
    
    .card-number {
        font-size: 2.5rem;
    }
    
    .card-image {
        height: 280px;
    }
    
    /* Steps Section */
    .steps-main-title { 
        font-size: 3rem; 
    }
    
    .steps-subtitle {
        font-size: 1.3rem;
    }
    
    .step-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-right .step-content-wrapper,
    .step-left .step-content-wrapper {
        direction: rtl;
    }
    
    .step-left .step-image-box {
        order: -1;
    }
    
    .step-right,
    .step-left {
        transform: translateY(50px);
    }
    
    .step-right.visible,
    .step-left.visible {
        transform: translateY(0);
    }
    
    .step-image-box {
        height: 350px;
    }
    
    .step-item {
        margin-bottom: 120px;
    }
    
    /* CTA Section */
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .cta-content {
        max-width: 100%;
    }
    
    .cta-title {
        font-size: 2.8rem;
    }
    
    .cta-action {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
    }
    
    /* Bento Section */
    .bento-main-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 380px;
    }
    
    .bento-item.tall {
        grid-row: span 1;
    }
    
    .bento-item.wide {
        grid-column: span 2;
    }
    
    /* Events Showcase */
    .showcase-title {
        font-size: 2.8rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Spheres and Decorations - Reduce */
    .sphere,
    .blob {
        filter: blur(80px);
        opacity: 0.4;
    }
    
    .geo-shape {
        opacity: 0.3;
    }
    
    .ring {
        display: none;
    }
}

/* ========================================
   MOBILE LANDSCAPE & SMALL TABLETS (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --spacing-5xl: 70px;
        --spacing-4xl: 50px;
        --spacing-3xl: 40px;
        --spacing-2xl: 30px;
        --spacing-xl: 25px;
        --spacing-lg: 20px;
    }
    
    /* ===== HERO SECTION ===== */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 20px 15px;
    }
    
    .content-box {
        padding: 100px 25px 60px;
        margin: 15px;
        min-height: auto;
        border-radius: 25px;
        width: calc(100% - 30px);
    }
    
    .apple-badge {
        top: -10px;
        padding: 10px 18px;
        gap: 8px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .badge-dots .dot {
        width: 5px;
        height: 5px;
    }
    
    .main-title { 
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .blur-text {
        gap: 0.3rem;
        margin-bottom: 1.5rem;
    }
    
    .subtitle { 
        font-size: 1.1rem; 
        line-height: 1.9;
        margin-bottom: 35px;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        padding: 16px 40px;
        font-size: 1.1rem;
        border-radius: 50px;
    }
    
    .grid-interactive {
        display: none;
    }
    
    .decorative-lines {
        opacity: 0.08;
    }
    
    .particles {
        display: none;
    }
    
    /* ===== FEATURE SECTION ===== */
    .feature-section {
        padding: 60px 20px;
        min-height: auto;
    }
    
    .feature-title { 
        font-size: 2.2rem;
        line-height: 1.4;
    }
    
    .title-line {
        margin: 5px 0;
    }
    
    .feature-description {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .feature-cta { 
        flex-direction: column; 
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-glass { 
        width: 100%; 
        max-width: 280px;
        padding: 18px 40px;
        margin: 0 auto;
    }
    
    .play-button {
        width: 100%;
        max-width: 280px;
        height: 55px;
        border-radius: 30px;
        margin: 0 auto;
    }
    
    .play-button svg {
        width: 28px;
        height: 28px;
    }
    
    .simple-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
        margin-top: 40px;
    }
    
    .gallery-item {
        border-radius: 15px;
    }
    
    .gallery-item img {
        height: 140px;
    }
    
    .people-community {
        margin-top: 40px;
    }
    
    .people-row {
        margin: -20%;
        margin-bottom: 12%;
    }
    
    .person-icon.size-small { 
        width: 50px; 
        height: 50px; 
    }
    
    .person-icon.size-medium { 
        width: 60px; 
        height: 60px; 
    }
    
    .person-icon.size-large { 
        width: 70px; 
        height: 70px; 
    }
    
    .person-icon {
        margin: -8px;
    }
    
    /* Hide heavy background elements */
    .bg-spheres,
    .animated-rings {
        display: none;
    }
    
    /* ===== UNDERSTANDING SECTION ===== */
    .understanding-section {
        padding: 60px 15px;
        min-height: auto;
    }
    
    .understanding-title { 
        font-size: 1.8rem;
        gap: 8px;
        line-height: 1.6;
    }
    
    .title-word {
        font-size: inherit;
    }
    
    .title-word.highlight-word {
        font-size: 1.1em;
    }
    
    .understanding-header {
        margin-bottom: 50px;
    }
    
    .feature-cards {
        padding: 0 10px;
    }
    
    .feature-card {
        width: 100%;
        margin-bottom: 30px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .feature-card:nth-child(odd),
    .feature-card:nth-child(even) {
        transform: translateY(40px) scale(0.98);
    }
    
    .feature-card.visible {
        transform: translateY(0) scale(1) !important;
    }
    
    .card-title-external {
        gap: 10px;
        margin-bottom: 15px;
        padding: 0 5px;
    }
    
    .card-number {
        font-size: 2rem;
    }
    
    .card-title-text {
        font-size: 1.3rem;
    }
    
    .card-inner {
        border-radius: 20px;
    }
    
    .card-image {
        height: 220px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-description {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    .card-expand-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    /* Expanded Card Mobile */
    .card-expanded-content {
        padding: 20px;
    }
    
    .expanded-inner {
        padding: 30px 20px;
        border-radius: 25px;
        max-height: 85vh;
    }
    
    .expanded-inner h4 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .expanded-inner p {
        font-size: 1rem;
        line-height: 1.9;
        margin-bottom: 15px;
    }
    
    .expanded-inner ul {
        margin: 20px 0;
    }
    
    .expanded-inner ul li {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 12px;
        padding-right: 25px;
    }
    
    .close-btn {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
    
    /* Hide advanced backgrounds on mobile */
    .metaballs-bg,
    .advanced-bg {
        display: none;
    }
    
    /* ===== STEPS SECTION ===== */
    .steps-section {
        padding: 60px 15px;
    }
    
    .steps-header {
        text-align: center;
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .section-badge {
        padding: 10px 20px;
    }
    
    .section-badge .badge-text {
        font-size: 0.85rem;
    }
    
    .badge-icon {
        font-size: 1.1rem;
    }
    
    .steps-main-title { 
        font-size: 2.2rem;
        line-height: 1.4;
    }
    
    .title-line-step {
        display: inline;
    }
    
    .steps-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .step-item {
        margin-bottom: 80px;
    }
    
    .step-content-wrapper {
        gap: 30px;
    }
    
    .step-box { 
        padding: 50px 25px 35px;
        border-radius: 25px;
    }
    
    .step-number-badge {
        width: 55px;
        height: 55px;
        top: -22px;
        right: 25px;
    }
    
    .step-num {
        font-size: 1.4rem;
    }
    
    .step-icon { 
        width: 60px; 
        height: 60px;
        margin-bottom: 20px;
    }
    
    .step-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .step-description {
        font-size: 1rem;
        line-height: 1.9;
        margin-bottom: 20px;
    }
    
    .step-stats {
        gap: 15px;
        padding-top: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .step-image-box { 
        height: 280px;
    }
    
    .shape-morph-1,
    .shape-morph-2,
    .shape-morph-3 {
        clip-path: none;
        border-radius: 20px;
    }
    
    .shape-decoration {
        display: none;
    }
    
    .floating-dots {
        top: 15px;
        left: 15px;
    }
    
    .floating-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .step-connector {
        height: 60px;
        bottom: -70px;
    }
    
    /* Hide heavy decorations */
    .blob,
    .geo-shape,
    .floating-lines {
        display: none;
    }
    
    .particle-grid {
        opacity: 0.3;
    }
    
    /* ===== CTA SECTION ===== */
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-badge {
        padding: 8px 18px;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-description {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }
    
    .cta-action {
        gap: 20px;
    }
    
    .cta-button {
        padding: 16px 45px;
        font-size: 1.05rem;
        max-width: 280px;
    }
    
    .cta-link {
        font-size: 1rem;
    }
    
    /* ===== BENTO SECTION ===== */
    .bento-section {
        padding: 50px 15px;
    }
    
    .bento-main-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
        padding: 0 10px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
        gap: 15px;
    }
    
    .bento-item.tall,
    .bento-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bento-item {
        border-radius: 18px;
    }
    
    .bento-item::before {
        height: 160px;
    }
    
    .bento-item .content {
        padding: 1.5em 1.3em;
    }
    
    .bento-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5em;
    }
    
    .bento-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* ===== EVENTS SHOWCASE ===== */
    .events-showcase {
        padding: 60px 15px;
    }
    
    .showcase-header {
        margin-bottom: 40px;
    }
    
    .showcase-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .title-accent {
        font-size: 0.75em;
    }
    
    .showcase-subtitle {
        font-size: 1rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase-card {
        border-radius: 20px;
    }
    
    .showcase-image {
        height: 280px;
    }
    
    .showcase-category {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .showcase-info {
        padding: 20px;
    }
    
    .showcase-event-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .showcase-stats {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .stat {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    
    .showcase-cta p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .showcase-button {
        padding: 16px 50px;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-5xl: 50px;
        --spacing-4xl: 40px;
        --spacing-3xl: 30px;
        --spacing-2xl: 25px;
        --spacing-xl: 20px;
        --spacing-lg: 15px;
    }
    
    /* ===== HERO SECTION ===== */
    .hero-section {
        padding: 15px 10px;
    }
    
    .content-box {
        padding: 80px 20px 50px;
        margin: 10px;
        width: calc(100% - 20px);
        border-radius: 20px;
        border-width: 1px;
    }
    
    .apple-badge {
        padding: 8px 14px;
        gap: 6px;
        border-radius: 30px;
    }
    
    .badge-text {
        font-size: 0.7rem;
    }
    
    .badge-dots .dot {
        width: 4px;
        height: 4px;
    }
    
    .main-title { 
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .blur-text {
        gap: 0.25rem;
    }
    
    .subtitle { 
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 25px;
    }
    
    .buttons-container {
        gap: 12px;
        margin-top: 25px;
    }
    
    .btn {
        padding: 14px 35px;
        font-size: 1rem;
        max-width: 100%;
    }
    
    /* ===== FEATURE SECTION ===== */
    .feature-section {
        padding: 50px 15px;
    }
    
    .feature-title { 
        font-size: 1.8rem;
    }
    
    .feature-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .btn-glass {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .play-button {
        height: 50px;
    }
    
    .simple-gallery {
        gap: 8px;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-item img {
        height: 120px;
    }
    
    .people-row {
        margin: -25%;
        margin-bottom: 15%;
    }
    
    .person-icon.size-small { 
        width: 40px; 
        height: 40px; 
    }
    
    .person-icon.size-medium { 
        width: 50px; 
        height: 50px; 
    }
    
    .person-icon.size-large { 
        width: 60px; 
        height: 60px; 
    }
    
    /* ===== UNDERSTANDING SECTION ===== */
    .understanding-section {
        padding: 50px 12px;
    }
    
    .understanding-header {
        margin-bottom: 40px;
    }
    
    .understanding-title { 
        font-size: 1.5rem;
        gap: 6px;
    }
    
    .feature-cards {
        padding: 0 5px;
    }
    
    .feature-card {
        margin-bottom: 25px !important;
    }
    
    .card-title-external {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .card-number {
        font-size: 1.7rem;
    }
    
    .card-title-text {
        font-size: 1.1rem;
    }
    
    .card-inner {
        border-radius: 16px;
        border-width: 1px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .card-expand-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .expanded-inner {
        padding: 25px 18px;
        border-radius: 20px;
    }
    
    .expanded-inner h4 {
        font-size: 1.5rem;
    }
    
    .expanded-inner p {
        font-size: 0.9rem;
    }
    
    .expanded-inner ul li {
        font-size: 0.85rem;
        padding-right: 22px;
    }
    
    /* ===== STEPS SECTION ===== */
    .steps-section {
        padding: 50px 12px;
    }
    
    .steps-header {
        margin-bottom: 40px;
    }
    
    .section-badge {
        padding: 8px 16px;
    }
    
    .section-badge .badge-text {
        font-size: 0.75rem;
    }
    
    .steps-main-title { 
        font-size: 1.8rem;
    }
    
    .steps-subtitle {
        font-size: 0.95rem;
    }
    
    .step-item {
        margin-bottom: 60px;
    }
    
    .step-content-wrapper {
        gap: 25px;
    }
    
    .step-box { 
        padding: 45px 20px 30px;
        border-radius: 20px;
        border-width: 1px;
    }
    
    .step-number-badge {
        width: 48px;
        height: 48px;
        top: -20px;
        right: 20px;
    }
    
    .step-num {
        font-size: 1.2rem;
    }
    
    .step-icon { 
        width: 50px; 
        height: 50px;
        margin-bottom: 15px;
    }
    
    .step-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .step-description {
        font-size: 0.9rem;
        line-height: 1.8;
        margin-bottom: 18px;
    }
    
    .step-stats {
        gap: 10px;
        padding-top: 15px;
        flex-direction: column;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .step-image-box { 
        height: 220px;
        border-radius: 15px;
    }
    
    .image-wrapper {
        border-radius: 15px;
    }
    
    .floating-dots .dot {
        width: 6px;
        height: 6px;
    }
    
    .step-connector {
        height: 40px;
        bottom: -50px;
    }
    
    /* ===== CTA SECTION ===== */
    .cta-section {
        padding: 50px 15px;
    }
    
    .cta-badge {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
    
    .cta-title {
        font-size: 1.7rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 14px 40px;
        font-size: 1rem;
        width: 100%;
    }
    
    .cta-link {
        font-size: 0.9rem;
    }
    
    /* ===== BENTO SECTION ===== */
    .bento-section {
        padding: 40px 12px;
    }
    
    .bento-main-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .card-grid {
        grid-auto-rows: 280px;
        gap: 12px;
    }
    
    .bento-item {
        border-radius: 15px;
    }
    
    .bento-item::before {
        height: 140px;
    }
    
    .bento-item .content {
        padding: 1.2em 1em;
    }
    
    .bento-item h3 {
        font-size: 1.15rem;
    }
    
    .bento-item p {
        font-size: 0.85rem;
    }
    
    /* ===== EVENTS SHOWCASE ===== */
    .events-showcase {
        padding: 50px 12px;
    }
    
    .showcase-header {
        margin-bottom: 30px;
    }
    
    .showcase-title {
        font-size: 1.7rem;
    }
    
    .showcase-subtitle {
        font-size: 0.9rem;
    }
    
    .showcase-grid {
        gap: 15px;
    }
    
    .showcase-card {
        border-radius: 15px;
        border-width: 1px;
    }
    
    .showcase-image {
        height: 220px;
    }
    
    .showcase-info {
        padding: 15px;
    }
    
    .showcase-event-title {
        font-size: 1.15rem;
    }
    
    .stat {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .showcase-cta {
        padding-top: 20px;
    }
    
    .showcase-cta p {
        font-size: 1rem;
    }
    
    .showcase-button {
        padding: 14px 40px;
        font-size: 1rem;
        width: 100%;
        max-width: 260px;
    }
}

/* ========================================
   VERY SMALL SCREENS (max-width: 360px)
   ======================================== */
@media (max-width: 360px) {
    .hero-section {
        padding: 10px 8px;
    }
    
    .content-box {
        padding: 70px 15px 40px;
        margin: 8px;
        width: calc(100% - 16px);
    }
    
    .main-title {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .feature-title,
    .understanding-title {
        font-size: 1.3rem;
    }
    
    .steps-main-title {
        font-size: 1.5rem;
    }
    
    .bento-main-title {
        font-size: 1.3rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .showcase-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION FIX
   ======================================== */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 40px 20px;
    }
    
    .content-box {
        min-height: auto;
        padding: 50px 30px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        margin-bottom: 20px;
    }
    
    .buttons-container {
        flex-direction: row;
        gap: 15px;
        margin-top: 20px;
    }
    
    .btn {
        max-width: 200px;
    }
    
    .feature-section,
    .understanding-section,
    .steps-section {
        min-height: auto;
        padding: 50px 20px;
    }
    
    .step-content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .step-image-box {
        height: 250px;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .btn-glass:hover,
    .play-button:hover,
    .card-inner:hover,
    .gallery-item:hover,
    .showcase-card:hover,
    .bento-item:hover,
    .step-box:hover,
    .step-image-box:hover,
    .stat-item:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .btn:active,
    .btn-glass:active,
    .play-button:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .card-inner:active,
    .showcase-card:active,
    .bento-item:active {
        transform: scale(0.99);
    }
    
    /* Larger touch targets */
    .card-expand-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .close-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Disable shine/glow animations for performance */
    .card-image::after,
    .image-shine {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particles,
    .particle-grid,
    .bg-spheres,
    .animated-rings,
    .metaballs-bg,
    .advanced-bg {
        display: none;
    }
}
@media (prefers-color-scheme: dark) {
    /* Already a dark theme, no changes needed */
}

@media print {
    .hero-section,
    .feature-section,
    .understanding-section,
    .steps-section,
    .bento-section,
    .events-showcase,
    .cta-section {
        page-break-inside: avoid;
        background: white !important;
        color: black !important;
    }
    
    .btn,
    .btn-glass,
    .play-button,
    .card-expand-btn,
    .cta-button,
    .showcase-button {
        display: none !important;
    }
    
    .particles,
    .decorative-lines,
    .bg-spheres,
    .animated-rings,
    .metaballs-bg,
    .advanced-bg,
    .blob,
    .geo-shape,
    .particle-grid {
        display: none !important;
    }
    
    .main-title,
    .feature-title,
    .understanding-title,
    .steps-main-title,
    .bento-main-title,
    .showcase-title,
    .cta-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
        background: none !important;
        filter: none !important;
    }
}

@supports (padding-top: env(safe-area-inset-top)) {
    .hero-section {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .cta-section,
    .events-showcase {
        padding-bottom: max(60px, calc(60px + env(safe-area-inset-bottom)));
    }
}