/* ==========================================================================
   1. Root Variables & Reset
   ========================================================================== */
:root {
    --bg-color: #fdf5f7;
    --primary-text: #1a1a2e;
    --highlight-color: #ff007a;
    --border-active: #ffc107;
    --grad-primary: linear-gradient(135deg, #ff007a, #7a00ff);
}

* {
    font-family: Estedad-FD, system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-text);
    overflow-x: hidden;
}

/* ==========================================================================
   2. Base Utility & Section Styles
   ========================================================================== */
.section-title { text-align: center; margin: 80px 0 40px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 900; }
.section-title span { color: var(--highlight-color); }
.section-title p { color: #777; font-size: 1.1rem; }

.saitima-features-section { perspective: 1500px; padding: 60px 0; }
.saitima-how-section { margin-top: 120px; perspective: 1500px; }
.saitima-pricing-section { margin-top: 120px; padding-bottom: 60px; perspective: 2000px; }
.saitima-hover-steps-section { margin-top: 100px; }
.saitima-faq-section { margin-top: 100px; }
.saitima-cta-section { margin: 100px auto; max-width: 900px; padding: 60px 20px; text-align: center; background: linear-gradient(135deg, rgba(255,0,122,0.05), rgba(122,0,255,0.05)); border-radius: 30px; }
.saitima-cta-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
.saitima-cta-section p { font-size: 1.2rem; color: #555; margin-bottom: 40px; }
.saitima-cta-section .btn-primary { padding: 20px 60px; font-size: 1.0rem; border-radius: 50px; background: var(--highlight-color); color: white; border: none; cursor: pointer; }

/* 3D Glass Panel Base */
.glass-panel-3d {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

/* ==========================================================================
   3. Hero Section & Sticky 3D Animation
   ========================================================================== */
.hero-modern { min-height: 100vh; display: flex; align-items: center; padding: 120px 5% 50px; position: relative; z-index: 10; }
.hero-container {padding: 1%;display: flex;align-items: center;justify-content: space-between;gap: 40px;width: 100%;max-width: 1300px;margin: 0 auto;flex-wrap: wrap;background: rgba(255, 255, 255, 0.2);border-radius: 10px  100px 1px 100px;box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);backdrop-filter: blur(15.7px);-webkit-backdrop-filter: blur(15.7px);border: 1px solid rgba(255, 255, 255, 0.22);}
.hero-content { flex: 1 1 50%; min-width: 300px; max-width: 600px; }
.hero-visual { flex: 1 1 40%; display: flex; justify-content: flex-end; min-width: 300px; position: relative; }

.hero-title { font-size: 3.5rem; line-height: 1.3; font-weight: 900; color: #1a1a2e; margin-bottom: 25px; }
.text-gradient { background: linear-gradient(45deg, #ff007a, #7a00ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.15rem; color: #efefef; line-height: 1.9; margin-bottom: 40px; }

/* Hero Action Box */
.hero-action-box { display: flex; padding: 10px; border-radius: 60px; margin-bottom: 40px; background: rgba(255,255,255,0.8); }
.hero-input { flex: 1; border: none !important; background: transparent !important; padding: 0 20px; font-size: 1rem; outline: none !important; color: #333; box-shadow: none !important; direction: rtl; }
.hero-input:focus { border: none !important; outline: none !important; box-shadow: none !important; background: transparent !important; }
.hero-btn { padding: 15px 35px; border-radius: 50px; white-space: nowrap; background: var(--highlight-color); color: white; border: none; font-weight: bold; cursor: pointer; }

/* Hero Stats */
.hero-stats { display: flex; align-items: center; gap: 30px; }
.stat-item strong { display: block; font-size: 1.8rem; color: #fbf7f7; font-weight: 900; }
.stat-item span { font-size: 0.9rem; color: #FF007AFF; }
.hero-stats .divider { width: 2px; height: 40px; background: rgba(0,0,0,0.1); }

/* Hero Mockup */
.hero-mockup { width: 100%; max-width: 420px; height: 380px; border-radius: 30px; padding: 20px; display: flex; flex-direction: column; transform: rotateY(-15deg) rotateX(5deg); transition: transform 0.5s ease; box-shadow: -20px 20px 50px rgba(0,0,0,0.05); background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); }
.hero-mockup:hover { transform: rotateY(0deg) rotateX(0deg); }
.mockup-header { display: flex; gap: 8px; margin-bottom: 30px; }
.mockup-header .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }
.mockup-line { height: 15px; background: rgba(0,0,0,0.05); border-radius: 10px; margin-bottom: 15px; }
.w-80 { width: 80%; } .w-60 { width: 60%; } .w-90 { width: 90%; }
.mockup-chart { flex: 1; background: linear-gradient(to top, rgba(255,0,122,0.1), transparent); border-bottom: 2px solid #ff007a; margin-top: 20px; border-radius: 10px 10px 0 0; }
img.space-man { top: 105px; position: absolute; right: -92px; z-index: 5; }

/* Typewriter Badge */
.saitima-typewriter-badge { display: inline-flex; align-items: center; gap: 12px; background: #ffffff; padding: 12px 25px; border-radius: 50px; box-shadow: 0 10px 25px rgba(255, 0, 122, 0.08); font-weight: 800; font-size: 1.1rem; color: #ff007a; margin-bottom: 30px; }
.pulse-dot-pink { width: 14px; height: 14px; background: #ff007a; border-radius: 50%; position: relative; }
.pulse-dot-pink::after { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; background: rgba(255, 0, 122, 0.2); border-radius: 50%; animation: pulseAnimPink 2s infinite; }
@keyframes pulseAnimPink { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }
.typewriter-cursor { font-weight: 300; color: #ff007a; animation: blinkCursor 0.7s infinite; margin-right: -5px; }
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Dynamic Swap Badges */
.floating-badge { position: absolute; padding: 12px 20px; border-radius: 15px; font-weight: bold; color: #1a1a2e; animation: floatUpDown 4s ease-in-out infinite; z-index: 10; }
.badge-1 { top: -30px; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 40px; left: -30px; animation-delay: 2s; }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.floating-badge.swap-enabled { background: transparent !important; box-shadow: none !important; padding: 0 !important; border: none !important; perspective: 1000px; overflow: visible; }
.box-swap-wrapper { display: grid; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.full-box-face { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); padding: 12px 20px; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); white-space: nowrap; backface-visibility: hidden; font-weight: bold; }
.badge-1.swap-enabled .full-box-front { color: #1a1a2e; }
.badge-1.swap-enabled .full-box-back { transform: rotateX(180deg); color: #ff007a; }
.badge-1.swap-enabled.is-swapped .box-swap-wrapper { transform: rotateX(180deg); }
.badge-2.swap-enabled .box-swap-wrapper { transition: none; }
.badge-2.swap-enabled .full-box-front { transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); transform: translateX(0) rotate(0deg) scale(1); opacity: 1; color: #1a1a2e; }
.badge-2.swap-enabled .full-box-back { transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); transform: translateX(150px) translateY(20px) rotate(15deg) scale(0.8); opacity: 0; color: #7a00ff; }
.badge-2.swap-enabled.is-swapped .full-box-front { transform: translateX(-150px) translateY(-20px) rotate(-15deg) scale(0.8); opacity: 0; }
.badge-2.swap-enabled.is-swapped .full-box-back { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }

/* Sticky 3D Overlays */
.sticky-wrapper { height: 300vh; position: relative; overflow-x: clip; }
.sticky-container { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; z-index: 1; }
.hero-card { width: 100%; height: 100%; position: absolute; top: 0; left: 0; transform-origin: center bottom; will-change: transform; transform-style: preserve-3d; }
.hero-image-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0); pointer-events: none; z-index: 5; }
.section-2-text { position: absolute; top: 100%; left: 0; width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; z-index: 10; text-align: center; will-change: transform; pointer-events: none; }
.section-2-text > * { pointer-events: auto; width: 100%; }

.hero-3d-text-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 10; transform-style: preserve-3d; pointer-events: none; text-align: center; padding: 0 20px; }
.hero-badge-3d { display: flex; align-items: center; gap: 10px; padding: 8px 20px; border-radius: 50px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #ffffff; font-size: 0.9rem; font-weight: 600; margin-bottom: 25px; transform: translateZ(60px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.neon-dot { width: 8px; height: 8px; background-color: #00ff88; border-radius: 50%; box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88; }
.hero-title-3d { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; color: #ffffff !important; line-height: 1.3; margin-bottom: 20px; transform: translateZ(100px); text-shadow: 0 15px 30px rgba(0,0,0,0.6); }
.hero-title-3d .highlight-pink { background: #ff007a; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle-3d { font-size: clamp(1rem, 2vw, 1.3rem); color: #cccccc; font-weight: 500; max-width: 600px; transform: translateZ(40px); text-shadow: 0 5px 15px rgba(0,0,0,0.5); }

/* ==========================================================================
   4. Services / Stack Cards
   ========================================================================== */
.cards-stack-container { position: relative; width: 90vw; max-width: 80%; height: 420px; margin: 0 auto; }
.stack-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 50px; border-radius: 30px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: -20px 0 50px rgba(0, 0, 0, 0.08); will-change: transform; }
.card-content { flex: 1; text-align: right; }
.card-content h3 { font-size: 2.2rem; color: #1a1a2e; margin-bottom: 20px; font-weight: 800;}
.card-content p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 30px; }
.btn-primary-light { background: var(--grad-primary); color: white; border: none; padding: 12px 30px; border-radius: 50px; font-weight: bold; cursor: pointer; box-shadow: 0 10px 20px rgba(255, 0, 122, 0.2); transition: 0.3s; display: inline-block; }
.btn-primary-light:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(255, 0, 122, 0.4); }
.card-graphic { flex-shrink: 0; width: 350px; height: 250px; }
.mock-graphic { width: 100%; height: 100%; border-radius: 20px; background: linear-gradient(45deg, rgba(122,0,255,0.05), rgba(255,0,122,0.1)); border: 2px dashed rgba(255,0,122,0.3); }

/* ==========================================================================
   5. 3D Features
   ========================================================================== */
.features-grid-3d { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding: 0 5%; }
.feature-card-3d { will-change: transform, opacity; width: 320px; padding: 40px 30px; cursor: pointer; backface-visibility: hidden; }
.card-3d-inner { transform-style: preserve-3d; text-align: center; }
.feature-icon-3d { font-size: 3.5rem; margin-bottom: 20px; display: inline-block; transition: transform 0.4s ease; transform: translateZ(20px); }
img.feature-img { width: 75%; }
.feature-card-3d h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; transition: transform 0.4s ease; transform: translateZ(15px); }
.feature-card-3d p { font-size: 1rem; color: #555; line-height: 1.7; transition: transform 0.4s ease; transform: translateZ(10px); }
.feature-card-3d:hover { transform: translateY(-10px) rotateX(10deg); background: rgba(255, 255, 255, 0.6); box-shadow: 0 30px 50px rgba(122, 0, 255, 0.1); }
.feature-card-3d:hover .feature-icon-3d { transform: translateZ(60px) scale(1.1); }
.feature-card-3d:hover h3 { transform: translateZ(40px); }
.feature-card-3d:hover p { transform: translateZ(25px); }

/* ==========================================================================
   6. 3D Steps
   ========================================================================== */
.steps-container-3d { display: flex; justify-content: center; gap: 40px; padding: 0 5%; flex-wrap: wrap; }
.step-box-3d { width: 280px; padding: 40px 25px; position: relative; margin-top: 30px; }
.step-inner-3d { transform-style: preserve-3d; text-align: center; }
.step-number-3d { width: 65px; height: 65px; background: var(--grad-primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 1.7rem; font-weight: 900; margin: -70px auto 25px; box-shadow: 0 10px 25px rgba(255, 0, 122, 0.4); transform: translateZ(30px); transition: transform 0.4s ease; }
.step-box-3d h3 { font-weight: 800; margin-bottom: 12px; transform: translateZ(15px); }
.step-box-3d p { color: #666; font-size: 0.95rem; line-height: 1.8; transform: translateZ(10px); }
.step-box-3d:hover { transform: translateY(-8px) rotateY(-10deg); box-shadow: 0 25px 45px rgba(0,0,0,0.08); }
.step-box-3d:hover .step-number-3d { transform: translateZ(60px) translateY(-10px); box-shadow: 0 15px 30px rgba(255, 0, 122, 0.6); }

/* ==========================================================================
   7. 3D Pricing
   ========================================================================== */
.pricing-table-3d { display: flex; justify-content: center; align-items: center; gap: 35px; padding: 0 5%; flex-wrap: wrap; }
.price-card-3d { width: 320px; padding: 45px 30px; transform: rotateY(15deg); }
.price-inner-3d { transform-style: preserve-3d; text-align: center; }
.price-3d { font-size: 2.8rem; font-weight: 900; margin: 25px 0; color: #ff007a; transform: translateZ(20px); }
.price-3d span { font-size: 1rem; color: #777; font-weight: normal; }
.price-card-3d ul { list-style: none; margin-bottom: 35px; text-align: right; transform: translateZ(15px); }
.price-card-3d ul li { margin-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,0.04); padding-bottom: 10px; font-weight: 600; color: #444;}
.price-card-3d.popular-3d { transform: scale(1.05) translateZ(40px) rotateY(0deg); border: 2px solid rgba(255, 0, 122, 0.4); background: rgba(255, 255, 255, 0.55); box-shadow: 0 20px 50px rgba(255, 0, 122, 0.15); }
.popular-tag-3d { position: absolute; top: -60px; left: 50%; transform: translateX(-50%) translateZ(20px); background: var(--grad-primary); padding: 6px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: bold; color: white; box-shadow: 0 5px 15px rgba(255, 0, 122, 0.3); }
.btn-pricing-3d { width: 100%; padding: 14px 20px; border-radius: 16px; font-weight: 800; font-size: 1.05rem; cursor: pointer; transition: all 0.15s ease; transform: translateZ(25px); }
.btn-outline-pink { background: transparent; border: 2px solid #ff007a; color: #ff007a; box-shadow: 0 5px 0 #cc0062; }
.btn-outline-pink:active { transform: translateZ(25px) translateY(5px); box-shadow: 0 0px 0 #cc0062; }
.btn-outline-purple { background: transparent; border: 2px solid #7a00ff; color: #7a00ff; box-shadow: 0 5px 0 #5900cc; }
.btn-outline-purple:active { transform: translateZ(25px) translateY(5px); box-shadow: 0 0px 0 #5900cc; }
.btn-solid-gradient { background: var(--grad-primary); color: white; border: none; box-shadow: 0 6px 0 #4a0099, 0 10px 20px rgba(122, 0, 255, 0.3); }
.btn-solid-gradient:active { transform: translateZ(25px) translateY(6px); box-shadow: 0 0px 0 #4a0099; }
.price-card-3d:hover { transform: rotateY(0deg) translateY(-10px) scale(1.03); box-shadow: 0 30px 60px rgba(122,0,255,0.15); }
.price-card-3d.popular-3d:hover { transform: scale(1.08) translateZ(60px) translateY(-10px); box-shadow: 0 35px 70px rgba(255, 0, 122, 0.3); }

/* ==========================================================================
   8. Hover Steps & FAQ
   ========================================================================== */
.steps-hover-container { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; justify-items: center; padding: 20px 5% 60px; }
.step-hover-card { width: 90px; height: 90px; border-radius: 45px; overflow: hidden; cursor: pointer; position: relative; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); display: flex; align-items: center; }
.step-hover-number { width: 70px; height: 70px; border-radius: 50%; color: white; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; font-weight: 900; flex-shrink: 0; position: absolute; right: 9px; top: 9px; transition: all 0.5s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.step-hover-text { opacity: 0; transform: translateX(-30px); visibility: hidden; transition: all 0.4s ease; padding: 20px 100px 20px 20px; width: 350px; }
.step-hover-card:hover { width: 350px; height: 140px; border-radius: 24px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.step-hover-card:hover .step-hover-number { top: 20px; right: 20px; width: 60px; height: 60px; font-size: 1.5rem; }
.step-hover-card:hover .step-hover-text { opacity: 1; transform: translateX(0); visibility: visible; transition-delay: 0.1s; }
.step-hover-text h4 { color: #1a1a2e; font-size: 1.2rem; margin-bottom: 8px; font-weight: 900; }
.step-hover-text p { font-size: 0.95rem; line-height: 1.7; color: #555; }

.faq-container { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; width: 100%; padding: 0 5%; }
.faq-item { padding: 20px; border-radius: 20px; cursor: pointer; transition: all 0.4s ease; overflow: hidden; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.8); }
.faq-question { font-weight: bold; font-size: 1.1rem; color: #1a1a2e; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: #7a00ff; transition: transform 0.4s ease; }
.faq-answer { max-height: 0; opacity: 0; transition: all 0.5s ease; color: #555; line-height: 1.8; }
.faq-item:hover { transform: scale(1.02); background: rgba(255, 255, 255, 0.9); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.faq-item:hover .faq-question::after { transform: rotate(45deg); color: #ff007a; }
.faq-item:hover .faq-answer { max-height: 200px; opacity: 1; padding-top: 15px; margin-top: 15px; border-top: 1px solid rgba(0,0,0,0.05); }

/* ==========================================================================
   9. Testimonials Section
   ========================================================================== */
.testimonials-section { position: relative; padding: 5rem 2rem; min-height: 100vh; display: flex; align-items: center; }
.bg-circle { position: absolute; border-radius: 50%; border: 2px solid rgba(233, 30, 99, 0.1); z-index: -1; }
.circle-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.circle-2 { width: 600px; height: 600px; bottom: -200px; left: -200px; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.testimonials-wrapper { display: flex; gap: 3rem; align-items: stretch; }
.logos-slider-container { flex: 1; height: 500px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent); mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent); }
.logos-columns-wrapper { display: flex; gap: 1.5rem; height: 100%; }
.logos-column { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; will-change: transform; }
.logos-column:hover { animation-play-state: paused; }
@keyframes scrollDown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0%); } }
@keyframes scrollUp { 0% { transform: translateY(0%); } 100% { transform: translateY(-50%); } }
.column-down { animation: scrollDown 25s linear infinite; }
.column-up { animation: scrollUp 25s linear infinite; }
.logo-box { background: #ffffff; border-radius: 1.5rem; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 1.5rem; cursor: pointer; border: 3px solid transparent; opacity: 0.5; filter: grayscale(100%); flex-shrink: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-box:hover, .logo-box.active { opacity: 1; filter: grayscale(0%); border-color: var(--border-active); transform: translateY(-5px) scale(1.05); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.04), 0 15px 30px rgba(0, 0, 0, 0.08), inset 0 2px 0 rgba(255, 255, 255, 1); }
.testimonial-content {
    flex: 1.2; position: relative; display: flex; align-items: center; min-height: 400px; overflow: hidden; padding: 3rem 2rem; border-radius: 2rem; background-color: #e6f9f4; background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03), 0 20px 40px rgba(0, 0, 0, 0.05), inset 0 2px 0 rgba(255, 255, 255, 1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background-color 0.5s ease;
}
.testimonial-content:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04), 0 30px 50px rgba(0, 0, 0, 0.07), inset 0 2px 0 rgba(255, 255, 255, 1); }
.text-wrapper { width: 65%; transition: opacity 0.3s ease; position: relative; z-index: 2; }
.quote-icon { position: absolute; top: 1rem; right: 2rem; font-size: 6rem; font-family: serif; color: rgba(0, 0, 0, 0.05); line-height: 1; }
#testimonial-text { font-size: 1.1rem; line-height: 1.8; font-weight: 500; margin-bottom: 2rem; text-align: justify; }
#author-name { font-size: 1.2rem; font-weight: bold; color: #000; margin-bottom: 0.3rem; }
#author-role { font-size: 0.9rem; color: #555; }
.author-img { position: absolute; bottom: 0; left: 2rem; max-height: 350px; width: auto; max-width: 35%; object-fit: contain; object-position: bottom; z-index: 1; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1)); }

/* ==========================================================================
   10. Partners 3D Infinite Slider
   ========================================================================== */
.saitima-partners-section { padding: 100px 0; overflow: hidden; position: relative; }
.partners-header { text-align: center; margin-bottom: 50px; position: relative; }
.partners-bg-text { position: absolute; top: 100%; left: 50%; transform: translate(-50%, -50%); font-size: 10vw; font-weight: 900; color: rgba(0, 0, 0, 0.03); white-space: nowrap; pointer-events: none; z-index: 0; }
.partners-header h2 { font-size: 3.5rem; font-weight: 900; margin: 0; background: linear-gradient(90deg, #100b46, #ff007a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 1; }
.partners-header p { color: #666; font-size: 1.2rem; margin-top: 10px; position: relative; z-index: 1; }
.partners-scene-3d { perspective: 1200px; display: flex; flex-direction: column; gap: 40px; align-items: center; padding: 60px 0; }
.partners-track-wrapper { width: 100vw; overflow: visible; direction: ltr; transform: rotateX(15deg) rotateY(-5deg) rotateZ(2deg); transform-style: preserve-3d; }
.partners-track { display: flex; width: max-content; gap: 30px; flex-wrap: nowrap; }
.partners-list { display: flex; gap: 30px; align-items: center; flex-shrink: 0; flex-wrap: nowrap; }
.move-right { animation: scrollRight 40s linear infinite; }
.move-left { animation: scrollLeft 40s linear infinite; }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0%); } }
@keyframes scrollLeft { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
.partners-track-wrapper:hover .partners-track { animation-play-state: paused; }
.partner-card-3d { flex-shrink: 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); display: flex; justify-content: center; align-items: center; padding: 20px; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; animation: floatBob 4s ease-in-out infinite alternate; }
.pc-sm { width: 160px; height: 110px; animation-delay: 0s; }
.pc-md { width: 210px; height: 140px; animation-delay: 0.7s; }
.pc-lg { width: 250px; height: 160px; animation-delay: 1.4s; }
.pc-xl { width: 190px; height: 190px; animation-delay: 2.1s; }
@keyframes floatBob { from { transform: translateY(0px); } to { transform: translateY(-15px); } }
.partner-card-3d img { max-width: 70%; max-height: 70%; object-fit: contain; filter: grayscale(100%) opacity(0.4); transition: all 0.4s ease; }
.partner-card-3d:hover { transform: translateY(-10px) translateZ(60px) scale(1.05) !important; box-shadow: 0 25px 50px rgba(255, 0, 122, 0.15), inset 0 0 0 1px rgba(255, 0, 122, 0.1); background: #ffffff; z-index: 10; animation-play-state: paused; }
.partner-card-3d:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

/* ==========================================================================
   11. Portfolio Slider
   ========================================================================== */
.saitima-portfolio-section { position: relative; width: 100%; min-height: 800px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 0 50px; overflow: hidden; }
.portfolio-bg-text { font-size: clamp(4rem, 10vw, 8rem); font-weight: 900; letter-spacing: 5px; text-transform: uppercase; white-space: nowrap; background: linear-gradient(180deg, rgb(255 0 122 / 46%) 0%, rgba(255, 255, 255, 0) 80%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; z-index: 1; pointer-events: none; }
.portfolio-coverflow-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1400px; position: relative; z-index: 10; perspective: 1500px; }
.portfolio-track { position: relative; width: 380px; height: 480px; transform-style: preserve-3d; margin: 0 40px; }
.port-nav-btn { width: 50px; height: 50px; border-radius: 50%; background: #ff007a; color: #fff; border: none; font-size: 1.2rem; cursor: pointer; box-shadow: 0 10px 20px rgba(255, 0, 122, 0.3); transition: all 0.3s ease; z-index: 20; display: flex; align-items: center; justify-content: center; }
.port-nav-btn:hover { transform: scale(1.1); background: #e6006e; }
.port-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #ffffff; border-radius: 20px; padding: 15px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease; opacity: 0; cursor: pointer; }

/* کارت های ادغام و بهینه‌شده پورتفولیو */
.port-card-inner {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #f4f4f4;
}
.port-card-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.port-card.active { transform: translateX(0) translateZ(120px) rotateY(0deg); opacity: 1; z-index: 10; box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; }
.port-card.next-1 { transform: translateX(65%) translateZ(-20px) rotateY(-15deg); opacity: 0.85; z-index: 8; }
.port-card.prev-1 { transform: translateX(-65%) translateZ(-20px) rotateY(15deg); opacity: 0.85; z-index: 8; }
.port-card.next-2 { transform: translateX(110%) translateZ(-120px) rotateY(-25deg); opacity: 0.5; z-index: 5; }
.port-card.prev-2 { transform: translateX(-110%) translateZ(-120px) rotateY(25deg); opacity: 0.5; z-index: 5; }
.port-card.hidden-right { transform: translateX(140%) translateZ(-250px) rotateY(-35deg); opacity: 0; z-index: 1; }
.port-card.hidden-left { transform: translateX(-140%) translateZ(-250px) rotateY(35deg); opacity: 0; z-index: 1; }
.portfolio-dynamic-info { text-align: center; margin-top: 60px; z-index: 10; transition: opacity 0.3s ease; }
.info-title { font-size: 2.2rem; color: #0b2447; margin: 0 0 10px 0; display: flex; align-items: center; justify-content: center; gap: 15px; font-weight: 800; }
.info-title::before, .info-title::after { content: ''; display: block; width: 40px; height: 3px; background: #0b2447; }
.info-role { font-size: 1.1rem; color: #888; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 20px 0; }
.info-link-btn { background: var(--grad-primary); box-shadow: 0 8px 20px rgba(122, 0, 255, 0.3); color: #fff; border: none; padding: 12px 30px; border-radius: 50px; text-decoration: none; display: inline-block; transition: 0.3s; }
.info-link-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(255, 0, 122, 0.4); }

/* لایه اصلی که فقط نگهدارنده متن است (بدون افکت بلور) */
.port-card-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; text-align: center; z-index: 10;
    background: transparent; backdrop-filter: none;
    transform: translateY(101%); will-change: transform; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* لایه شیشه‌ای مجزا */
.port-card-overlay::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1); z-index: -1;
}

/* اعمال انیمیشن بالا آمدن برای هاور روی **همه** کارت‌ها */
.port-card:hover .port-card-overlay { transform: translateY(0); }

/* استایل متون (کاملاً شارپ و وکتور) */
.port-card-title { font-size: 1.3rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; transform: translateZ(1px); }
.port-card-excerpt { font-size: 0.95rem; color: #333; margin-bottom: 15px; line-height: 1.6; font-weight: 500; transform: translateZ(1px); }

/* دکمه (که حالا تگ span است) */
.port-card-btn { background: linear-gradient(135deg, #ff007a, #7a00ff); color: #fff !important; padding: 8px 25px; border-radius: 50px; font-size: 0.9rem; font-weight: bold; box-shadow: 0 5px 15px rgba(255, 0, 122, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; display: inline-block; transform: translateZ(1px); }
.port-card-inner:hover .port-card-btn { transform: translateY(-3px) scale(1.05) translateZ(1px); box-shadow: 0 8px 20px rgba(122, 0, 255, 0.4); }

/* ==========================================================================
   12. Mouse Scroll Indicator
   ========================================================================== */
.saitima-scroll-indicator { position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 20; animation: bounceMouse 2s infinite ease-in-out; }
.saitima-scroll-indicator .scroll-text { color: #ffffff; font-size: 0.85rem; font-weight: 500; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); letter-spacing: 1px; }
.saitima-scroll-indicator .mouse-icon { width: 32px; height: 50px; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 15px; position: relative; box-shadow: 0 0 15px rgba(255, 0, 122, 0.3); background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.saitima-scroll-indicator .wheel { width: 4px; height: 8px; background: #ff007a; border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scrollWheel 1.5s infinite; box-shadow: 0 0 5px rgba(255, 0, 122, 0.8); }

@keyframes bounceMouse { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 12px); } }
@keyframes scrollWheel { 0% { top: 8px; opacity: 1; height: 8px; } 50% { top: 18px; opacity: 1; height: 4px; } 100% { top: 22px; opacity: 0; height: 4px; } }

/* ==========================================================================
   13. Fully Responsive & Media Queries
   ========================================================================== */
/* Tablet */
@media (max-width: 992px) {
    nav { width: 100% !important; padding: 10px 0 !important; }
    nav ul { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; padding: 12px 15px !important; background: #ffffff !important; border-radius: 15px !important; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important; margin: 15px auto !important; width: 92% !important; list-style: none !important; }
    nav ul li { margin: 0 !important; }
    nav ul li a { font-size: 0.85rem !important; font-weight: 700 !important; padding: 8px 12px !important; color: #1a1a2e !important; display: block !important; text-decoration: none !important; }

    .price-card-3d, .price-card-3d.popular-3d { transform: none !important; width: 100%; max-width: 340px; }

    .testimonials-wrapper { flex-direction: column-reverse; gap: 2rem; }
    .logos-slider-container { height: 350px; }
    .testimonial-content { flex-direction: column; padding: 2.5rem 1.5rem 0 1.5rem; }
    .text-wrapper { width: 100%; text-align: center; padding-bottom: 1.5rem; }
    #testimonial-text { text-align: center; }
    .author-img { position: relative; left: 0; max-height: 280px; max-width: 100%; margin: 0 auto; display: block; }
}

@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-title { font-size: 2.5rem; }
    .hero-action-box { flex-direction: column; border-radius: 20px; background: transparent; box-shadow: none; border: none; padding: 0; gap: 15px; }
    .hero-input { background: rgba(255,255,255,0.6); padding: 15px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.8); }
    .hero-btn { width: 100%; border-radius: 15px; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-stats .divider { display: none; }
    nav ul { display: none !important; }
    .stack-card { flex-direction: column; padding: 30px; text-align: center; }
    .card-content { text-align: center; }
    .card-graphic { display: none; }
}

/* Mobile & Performance Lock */
@media (max-width: 768px) {
    /* Performance Fixes */
    .glass-panel-3d, .stack-card, .step-hover-card, .faq-item, .partner-card-3d, .full-box-face {
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    }
    .floating-badge, .partner-card-3d, .pulse-dot, .pulse-dot-pink::after { animation: none !important; transform: none !important; }
    html, body { -webkit-overflow-scrolling: touch; overscroll-behavior-y: none; }

    /* Layout Locks */
    .hero-modern, .hero-container { overflow-x: hidden !important; max-width: 100vw !important; }
    .hero-visual { display: block !important; width: 100% !important; margin-top: 40px !important; margin-bottom: 20px !important; position: relative !important; }
    .hero-mockup { width: 85% !important; max-width: 300px !important; margin: 0 auto !important; display: block !important; transform: none !important; box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important; }
    .floating-badge { position: absolute !important; transform: scale(0.7) !important; z-index: 10 !important; }
    .badge-1 { top: -10px !important; right: 5% !important; left: auto !important; }
    .badge-2 { bottom: 20px !important; left: 5% !important; right: auto !important; }
    .box-swap-wrapper { transform-origin: center center !important; will-change: transform !important; }
    img.space-man { display: none; }

    .step-hover-card:hover { width: 100%; height: auto; min-height: 140px; }
    .step-hover-text { width: 100%; }

    /* Portfolio Mobile */
    .portfolio-track { width: 260px; height: 360px; margin: 0 15px; }
    .port-nav-btn { width: 40px; height: 40px; }
    .info-title { font-size: 1.5rem; }
    .port-card.next-1 { transform: translateX(55%) translateZ(-50px) rotateY(-15deg); }
    .port-card.prev-1 { transform: translateX(-55%) translateZ(-50px) rotateY(15deg); }
    .port-card.next-2 { transform: translateX(85%) translateZ(-120px) rotateY(-20deg); }
    .port-card.prev-2 { transform: translateX(-85%) translateZ(-120px) rotateY(20deg); }

    /* Sticky Hero 3D Overlays */
    .hero-badge-3d { transform: translateZ(30px); }
    .hero-title-3d { transform: translateZ(50px); }
    .hero-subtitle-3d { transform: translateZ(20px); }
}

@media (max-width: 600px) {
    .logos-columns-wrapper { gap: 0.8rem; }
    .logo-box { padding: 1rem; border-radius: 1rem; }
    .section-title h2 { font-size: 2rem; }
}