/* ============================================
   WHY CHOOSE OPENTECHZ - INTERACTIVE ECOSYSTEM
   Combines Stats Dashboard + 3D Isometric Illustration
   ============================================ */

/* ============================================
   SECTION CONTAINER
   ============================================ */
.why-choose-ecosystem {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Background Effects */
.ecosystem-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.ecosystem-background::before,
.ecosystem-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.ecosystem-background::before {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.ecosystem-background::after {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}

.ecosystem-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.ecosystem-header {
    text-align: center;
    margin-bottom: 60px;
}

.ecosystem-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.ecosystem-badge i {
    font-size: 1.2rem;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.5); }
}

.ecosystem-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ecosystem-title .gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ecosystem-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   STATS DASHBOARD (TOP SECTION)
   ============================================ */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card-animated {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--stat-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card-animated:hover {
    transform: translateY(-10px);
    border-color: var(--stat-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--stat-color-glow);
}

.stat-card-animated:hover::before {
    transform: scaleX(1);
}

/* Stat Card Colors */
.stat-card-animated:nth-child(1) {
    --stat-color: #3b82f6;
    --stat-color-glow: rgba(59, 130, 246, 0.3);
}

.stat-card-animated:nth-child(2) {
    --stat-color: #10b981;
    --stat-color-glow: rgba(16, 185, 129, 0.3);
}

.stat-card-animated:nth-child(3) {
    --stat-color: #f59e0b;
    --stat-color-glow: rgba(245, 158, 11, 0.3);
}

.stat-card-animated:nth-child(4) {
    --stat-color: #8b5cf6;
    --stat-color-glow: rgba(139, 92, 246, 0.3);
}

.stat-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--stat-color) 0%, var(--stat-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px var(--stat-color-glow);
    transition: all 0.3s ease;
}

.stat-card-animated:hover .stat-icon-container {
    transform: scale(1.15) rotate(360deg);
}

.stat-number-ecosystem {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 15px 0 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-label-ecosystem {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

/* Circular Progress Ring - HIDDEN */
.circular-progress {
    display: none;
}

/* ============================================
   3D ISOMETRIC ECOSYSTEM (MIDDLE SECTION)
   ============================================ */
.isometric-ecosystem {
    position: relative;
    min-height: 600px;
    margin-bottom: 80px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.isometric-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    transform-style: preserve-3d;
}

/* Base Platform */
.iso-platform {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) rotateX(60deg) rotateZ(45deg);
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.iso-platform::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: repeating-linear-gradient(
        0deg,
        rgba(59, 130, 246, 0.05) 0px,
        transparent 1px,
        transparent 50px,
        rgba(59, 130, 246, 0.05) 51px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.05) 0px,
        transparent 1px,
        transparent 50px,
        rgba(59, 130, 246, 0.05) 51px
    );
    border-radius: 15px;
}

/* Isometric Building Blocks */
.iso-building {
    position: absolute;
    transition: all 0.3s ease;
    cursor: pointer;
}

.iso-building:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

/* Classroom Block */
.iso-classroom {
    bottom: 280px;
    left: 150px;
    width: 180px;
    height: 120px;
}

.iso-box {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(45deg);
}

.iso-face {
    position: absolute;
    background: rgba(59, 130, 246, 0.3);
    border: 2px solid #3b82f6;
    backdrop-filter: blur(10px);
}

.iso-front {
    width: 180px;
    height: 120px;
    transform: translateZ(60px);
}

.iso-back {
    width: 180px;
    height: 120px;
    transform: translateZ(-60px) rotateY(180deg);
}

.iso-right {
    width: 120px;
    height: 120px;
    transform: rotateY(90deg) translateZ(60px);
}

.iso-left {
    width: 120px;
    height: 120px;
    transform: rotateY(-90deg) translateZ(60px);
}

.iso-top {
    width: 180px;
    height: 120px;
    transform: rotateX(90deg) translateZ(60px);
    background: rgba(59, 130, 246, 0.5);
}

.iso-bottom {
    width: 180px;
    height: 120px;
    transform: rotateX(-90deg) translateZ(60px);
}

/* Lab Block */
.iso-lab {
    bottom: 280px;
    right: 150px;
    width: 180px;
    height: 120px;
}

.iso-lab .iso-face {
    background: rgba(16, 185, 129, 0.3);
    border-color: #10b981;
}

.iso-lab .iso-top {
    background: rgba(16, 185, 129, 0.5);
}

/* Placement Cell */
.iso-placement {
    bottom: 120px;
    left: 250px;
    width: 160px;
    height: 100px;
}

.iso-placement .iso-face {
    background: rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
}

.iso-placement .iso-top {
    background: rgba(245, 158, 11, 0.5);
}

/* Certificate Center */
.iso-certificate {
    bottom: 120px;
    right: 250px;
    width: 160px;
    height: 100px;
}

.iso-certificate .iso-face {
    background: rgba(139, 92, 246, 0.3);
    border-color: #8b5cf6;
}

.iso-certificate .iso-top {
    background: rgba(139, 92, 246, 0.5);
}

/* Isometric Icons/Labels */
.iso-label {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.iso-building:hover .iso-label {
    opacity: 1;
}

.iso-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Animated Elements */
.iso-student {
    position: absolute;
    width: 30px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iso-student-head {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border-radius: 50%;
    margin-bottom: 2px;
}

.iso-student-body {
    width: 25px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 5px 5px 8px 8px;
}

/* Multiple Students in Different Positions */
.iso-student-1 {
    bottom: 300px;
    left: 180px;
    animation: walkStudent1 10s linear infinite;
}

.iso-student-2 {
    bottom: 320px;
    left: 300px;
    animation: walkStudent2 12s linear infinite;
}

.iso-student-3 {
    bottom: 280px;
    right: 250px;
    animation: walkStudent3 15s linear infinite;
}

@keyframes walkStudent1 {
    0% { left: 180px; }
    50% { left: 600px; }
    100% { left: 180px; }
}

@keyframes walkStudent2 {
    0% { left: 300px; }
    50% { left: 150px; }
    100% { left: 300px; }
}

@keyframes walkStudent3 {
    0% { right: 250px; }
    50% { right: 550px; }
    100% { right: 250px; }
}

/* Computer/Laptop Details */
.iso-computer {
    position: absolute;
    width: 40px;
    height: 30px;
}

.iso-computer-screen {
    width: 40px;
    height: 25px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #3b82f6;
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-computer-screen::after {
    content: '';
    width: 30px;
    height: 15px;
    background: #3b82f6;
    opacity: 0.3;
    border-radius: 2px;
    animation: screenBlink 2s ease-in-out infinite;
}

.iso-computer-base {
    width: 45px;
    height: 3px;
    background: #475569;
    margin-top: 2px;
    border-radius: 0 0 3px 3px;
}

@keyframes screenBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Computers in Labs */
.iso-computer-1 {
    bottom: 310px;
    right: 200px;
}

.iso-computer-2 {
    bottom: 330px;
    right: 250px;
}

.iso-computer-3 {
    bottom: 290px;
    right: 180px;
}

/* Desks/Tables */
.iso-desk {
    position: absolute;
    width: 50px;
    height: 30px;
    background: rgba(139, 92, 246, 0.3);
    border: 2px solid #8b5cf6;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.iso-desk-1 {
    bottom: 290px;
    left: 200px;
}

.iso-desk-2 {
    bottom: 290px;
    right: 230px;
}

/* Certificate Display */
.iso-certificate-display {
    position: absolute;
    bottom: 140px;
    right: 270px;
    width: 35px;
    height: 25px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #f59e0b;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: certFloat 3s ease-in-out infinite;
}

.iso-certificate-display i {
    color: #f59e0b;
    font-size: 1.2rem;
}

@keyframes certFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Placement Board */
.iso-placement-board {
    position: absolute;
    bottom: 140px;
    left: 270px;
    width: 40px;
    height: 30px;
    background: rgba(16, 185, 129, 0.3);
    border: 2px solid #10b981;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    padding: 3px;
}

.iso-placement-board::before {
    content: '95%';
    font-weight: bold;
    font-size: 0.8rem;
    color: #10b981;
}

/* Opentechz Watermark/Logo */
.iso-opentechz-logo {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
    z-index: 10;
}

.iso-opentechz-logo span {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Whiteboard in Classroom */
.iso-whiteboard {
    position: absolute;
    bottom: 305px;
    left: 170px;
    width: 50px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #334155;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.iso-whiteboard-text {
    font-size: 0.5rem;
    color: #3b82f6;
    font-weight: bold;
    line-height: 1.2;
}

/* Chairs */
.iso-chair {
    position: absolute;
    width: 15px;
    height: 20px;
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    border-radius: 3px 3px 0 0;
}

.iso-chair::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: #334155;
}

.iso-chair-1 {
    bottom: 265px;
    left: 185px;
}

.iso-chair-2 {
    bottom: 265px;
    left: 210px;
}

.iso-chair-3 {
    bottom: 285px;
    right: 215px;
}

/* Books/Study Materials */
.iso-books {
    position: absolute;
    bottom: 295px;
    left: 205px;
    width: 20px;
    height: 15px;
    display: flex;
    gap: 2px;
}

.iso-book {
    width: 6px;
    height: 15px;
    border-radius: 1px;
}

.iso-book:nth-child(1) {
    background: #3b82f6;
}

.iso-book:nth-child(2) {
    background: #10b981;
    height: 12px;
}

.iso-book:nth-child(3) {
    background: #f59e0b;
    height: 10px;
}

/* Coffee Cup (Break Area) */
.iso-coffee {
    position: absolute;
    bottom: 230px;
    left: 400px;
    width: 15px;
    height: 18px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 0 0 8px 8px;
    animation: steamRise 2s ease-in-out infinite;
}

.iso-coffee::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: steam 2s ease-in-out infinite;
}

@keyframes steam {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

@keyframes steamRise {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Floating Achievement Badges */
.floating-badge {
    position: absolute;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid;
    border-radius: 50px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    animation: floatBadge 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-badge:nth-child(1) {
    top: 50px;
    left: 100px;
    border-color: #3b82f6;
    animation-delay: 0s;
}

.floating-badge:nth-child(2) {
    top: 100px;
    right: 150px;
    border-color: #10b981;
    animation-delay: 1s;
}

.floating-badge:nth-child(3) {
    bottom: 150px;
    left: 50px;
    border-color: #f59e0b;
    animation-delay: 2s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   INTERACTIVE FEATURE CARDS (FLIP)
   ============================================ */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.flip-card {
    background: transparent;
    height: 400px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-back {
    background: linear-gradient(135deg, var(--card-color) 0%, var(--card-color-dark) 100%);
    transform: rotateY(180deg);
    color: white;
}

/* Feature Card Colors */
.flip-card:nth-child(1) {
    --card-color: #3b82f6;
    --card-color-dark: #2563eb;
}

.flip-card:nth-child(2) {
    --card-color: #10b981;
    --card-color-dark: #059669;
}

.flip-card:nth-child(3) {
    --card-color: #f59e0b;
    --card-color-dark: #d97706;
}

.flip-card:nth-child(4) {
    --card-color: #ec4899;
    --card-color-dark: #db2777;
}

.flip-card:nth-child(5) {
    --card-color: #8b5cf6;
    --card-color-dark: #7c3aed;
}

.flip-card:nth-child(6) {
    --card-color: #06b6d4;
    --card-color-dark: #0891b2;
}

.feature-icon-front {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--card-color) 0%, var(--card-color-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-title-front {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.feature-subtitle-front {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-icon-back {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title-back {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-details-back {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-points li {
    padding: 5px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-points li::before {
    content: '✓';
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   LIVE ACTIVITY TICKER
   ============================================ */
.activity-ticker {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

.ticker-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: white;
}

.ticker-header i {
    font-size: 1.5rem;
    color: #10b981;
    animation: pulse 2s ease-in-out infinite;
}

.ticker-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.ticker-content {
    overflow: hidden;
    height: 60px;
}

.ticker-items {
    animation: tickerScroll 20s linear infinite;
}

.ticker-item {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ticker-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-left: auto;
}

@keyframes tickerScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* ============================================
   CALL TO ACTION BUTTON
   ============================================ */
.ecosystem-cta {
    margin-top: 60px;
    padding: 40px 20px;
}

.cta-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 30px;
}

.btn-ecosystem-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-ecosystem-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-ecosystem-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.6);
    color: white;
}

.btn-ecosystem-cta:hover::before {
    left: 100%;
}

.btn-ecosystem-cta i:first-child {
    font-size: 1.5rem;
    animation: phoneRing 1s ease-in-out infinite;
}

.btn-ecosystem-cta i:last-child {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-ecosystem-cta:hover i:last-child {
    transform: translateX(5px);
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .ecosystem-title {
        font-size: 2.5rem;
    }
    
    .stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .isometric-container {
        height: 400px;
    }
    
    .iso-platform {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .why-choose-ecosystem {
        padding: 60px 0;
    }
    
    .ecosystem-title {
        font-size: 2rem;
    }
    
    .ecosystem-subtitle {
        font-size: 1rem;
    }
    
    .stats-dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .isometric-ecosystem {
        min-height: 400px;
    }
    
    .isometric-container {
        height: 300px;
    }
    
    .iso-platform {
        width: 350px;
        height: 350px;
    }
    
    .iso-building {
        transform: scale(0.7);
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .flip-card {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .ecosystem-header {
        margin-bottom: 40px;
    }
    
    .ecosystem-title {
        font-size: 1.75rem;
    }
    
    .stat-icon-container {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .stat-number-ecosystem {
        font-size: 2rem;
    }
    
    .isometric-ecosystem {
        min-height: 300px;
        display: none; /* Hide isometric on very small screens */
    }
    
    .flip-card {
        height: 350px;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .btn-ecosystem-cta {
        padding: 14px 30px;
        font-size: 1rem;
    }
}
