/*
Theme Name: GoPOS Modern Panel
Theme URI: https://gopos.net
Version: 28.0 (Single Plan Design)
*/

:root {
    --primary: #FF9F43;
    --primary-hover: #FF8800;
    --dark-base: #111517;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* 1. TEMEL SIFIRLAMA (GLOBAL RESET) */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; }

body { 
    font-family: var(--font-body); 
    color: #d2dae2; 
    background-color: var(--dark-base) !important; 
    line-height: 1.6; 
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* --- 2. HEADER --- */
.site-header { position: absolute; width: 100%; top: 0; z-index: 1000; padding: 20px 0; background: transparent; }
.header-flex { display: flex !important; justify-content: space-between; align-items: center; }
.site-logo img { filter: none !important; opacity: 1 !important; max-height: 45px; display: block; }
.nav-links, .menu { display: flex !important; gap: 30px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.nav-links li, .menu li { display: inline-block !important; margin: 0 !important; }
.nav-links li a { color: #ffffff !important; font-weight: 500 !important; font-size: 15px !important; text-decoration: none !important; opacity: 0.9; }
.nav-links li a:hover { color: var(--primary) !important; opacity: 1; }
.btn-login { background: #fff; color: var(--primary); padding: 10px 25px; border-radius: 30px; font-weight: 700; font-size: 14px; white-space: nowrap; }

/* --- MOBİL MENÜ --- */
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; cursor: pointer; z-index: 1001; }
.mobile-menu-toggle span { display: block; width: 100%; height: 3px; background: #fff; border-radius: 3px; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(17, 21, 23, 0.98); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-overlay ul { text-align: center; }
.mobile-menu-overlay ul li { margin: 20px 0; display: block; }
.mobile-menu-overlay ul li a { font-size: 24px; color: #fff; font-weight: 700; display: block; }
.mobile-menu-close { position: absolute; top: 30px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; }

/* --- 3. HERO SECTION --- */
.hero-modern { position: relative; padding: 140px 0 60px; background: linear-gradient(180deg, #1e272e 0%, var(--dark-base) 100%) !important; overflow: visible !important; z-index: 1; border-bottom: none !important; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.blur-blob { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; pointer-events: none; }
.blob-1 { top: -100px; left: -100px; width: 500px; height: 500px; background: #FF9F43; opacity: 0.15; }
.blob-2 { bottom: -100px; right: -100px; width: 600px; height: 600px; background: #5f27cd; opacity: 0.15; }
.hero-text-content { padding-right: 20px; position: relative; z-index: 100 !important; }
.hero-badge { display: inline-flex; align-items: center; background: rgba(255, 159, 67, 0.15); color: #FF9F43; border: 1px solid rgba(255, 159, 67, 0.3); padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-text-content h1 { font-family: var(--font-head); font-size: 3rem; line-height: 1.1; font-weight: 800; color: #ffffff; margin-bottom: 15px; }
.text-gradient { color: var(--primary); background: -webkit-linear-gradient(45deg, #FF9F43, #FF6F00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1rem; color: #d2dae2; margin-bottom: 25px; max-width: 500px; }
.hero-features li { margin-bottom: 10px; display: flex; align-items: center; font-size: 15px; color: #fff; }
.check { color: #2ecc71; font-weight: bold; margin-right: 10px; background: rgba(46, 204, 113, 0.2); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.hero-buttons { display: flex; gap: 15px; margin-top: 25px; flex-wrap: wrap; }
.btn-primary-glow { background: linear-gradient(90deg, #FF9F43, #ff6b6b); color: #fff; padding: 14px 30px; border-radius: 50px; font-weight: 700; box-shadow: 0 0 20px rgba(255, 159, 67, 0.4); text-align: center; border: none; }
.btn-secondary { background: rgba(255, 255, 255, 0.1); color: #fff; padding: 14px 30px; border-radius: 50px; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
.hero-trust-badges { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: rgba(255,255,255,0.1); }
.trust-info strong { display: block; font-size: 16px; color: #fff; } .trust-info span { font-size: 12px; color: #a4b0be; }

/* --- 4. 3D GALERİ --- */
.hero-gallery-wrapper { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; z-index: 50; }
.gallery-tabs { display: flex; gap: 10px; margin-bottom: 40px; z-index: 50; background: rgba(255,255,255,0.05); padding: 5px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.tab-btn { background: transparent; border: none; color: #a4b0be; padding: 8px 25px; border-radius: 30px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.tab-btn:hover { color: #fff; }
.tab-btn.active { background: linear-gradient(90deg, #FF9F43, #ff6b6b); color: #fff; box-shadow: 0 4px 15px rgba(255, 159, 67, 0.4); }
.hero-image-content { display: none !important; width: 100%; height: 550px; justify-content: center; align-items: center; perspective: 2000px; animation: fadeIn 0.5s ease; }
.hero-image-content.active-view { display: flex !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.carousel-container { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; display: flex; justify-content: center; align-items: center; touch-action: pan-y; }
.carousel-item { position: absolute; transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; }
.screen-mockup { width: 100%; height: 100%; background: #000; overflow: hidden; border: 3px solid rgba(255, 255, 255, 0.1); box-shadow: 0 15px 40px rgba(0,0,0,0.6); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-item.type-desktop { width: 550px; max-width: 80vw; aspect-ratio: 16/10; }
.type-desktop .screen-mockup { border-radius: 12px; border-bottom-width: 15px; }
.carousel-item.type-tablet { width: 360px; max-width: 60vw; aspect-ratio: 3/4; }
.type-tablet .screen-mockup { border-radius: 20px; border-width: 8px; }
.carousel-item.type-phone { width: 250px; max-width: 50vw; aspect-ratio: 9/19; }
.type-phone .screen-mockup { border-radius: 30px; border-width: 6px; border-top-width: 15px; border-bottom-width: 15px; }
.carousel-item.active { transform: translate3d(0, 0, 0) scale(1); z-index: 20; opacity: 1; pointer-events: none; }
.carousel-item.active .screen-mockup { box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 0 2px rgba(255, 159, 67, 0.5); }
.carousel-item.prev { z-index: 15; opacity: 0.8; filter: brightness(0.7); pointer-events: auto; cursor: pointer; }
.carousel-item.next { z-index: 15; opacity: 0.8; filter: brightness(0.7); pointer-events: auto; cursor: pointer; }
.carousel-item.type-desktop.prev { transform: translate3d(-50%, 0, -200px) rotateY(25deg) scale(0.9); }
.carousel-item.type-desktop.next { transform: translate3d(50%, 0, -200px) rotateY(-25deg) scale(0.9); }
.carousel-item.type-tablet.prev { transform: translate3d(-80%, 0, -200px) rotateY(20deg) scale(0.9); }
.carousel-item.type-tablet.next { transform: translate3d(80%, 0, -200px) rotateY(-20deg) scale(0.9); }
.carousel-item.type-phone.prev { transform: translate3d(-130%, 0, -150px) rotateY(15deg) scale(0.9); }
.carousel-item.type-phone.next { transform: translate3d(130%, 0, -150px) rotateY(-15deg) scale(0.9); }
.carousel-item.prev-2 { z-index: 10; opacity: 0.5; filter: brightness(0.4); pointer-events: auto; }
.carousel-item.next-2 { z-index: 10; opacity: 0.5; filter: brightness(0.4); pointer-events: auto; }
.carousel-item.type-desktop.prev-2 { transform: translate3d(-90%, 0, -400px) rotateY(35deg) scale(0.8); }
.carousel-item.type-desktop.next-2 { transform: translate3d(90%, 0, -400px) rotateY(-35deg) scale(0.8); }
.carousel-item.type-tablet.prev-2 { transform: translate3d(-110%, 0, -400px) rotateY(30deg) scale(0.8); }
.carousel-item.type-tablet.next-2 { transform: translate3d(110%, 0, -400px) rotateY(-30deg) scale(0.8); }
.carousel-item.type-phone.prev-2 { transform: translate3d(-180%, 0, -300px) rotateY(25deg) scale(0.8); }
.carousel-item.type-phone.next-2 { transform: translate3d(180%, 0, -300px) rotateY(-25deg) scale(0.8); }
.carousel-item:not(.active):hover { opacity: 1; filter: brightness(1); z-index: 18; }

/* --- 5. ÖZELLİKLER (TABLI) --- */
.features-central-section { padding: 80px 0 100px; background: var(--dark-base); position: relative; overflow: visible !important; z-index: 20; margin-top: -2px; }
.feature-tabs-nav { display: inline-flex; justify-content: center; gap: 40px; margin-top: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; flex-wrap: wrap; position: relative; z-index: 100; }
.feat-tab-btn { background: none; border: none; color: #636E72; font-family: var(--font-head); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; position: relative; padding-bottom: 5px; pointer-events: auto !important; }
.feat-tab-btn:hover { color: #fff; }
.feat-tab-btn.active { color: var(--primary); }
.feat-tab-btn.active::after { content: ''; position: absolute; bottom: -17px; left: 0; width: 100%; height: 3px; background: var(--primary); box-shadow: 0 -2px 10px rgba(255, 159, 67, 0.5); }
.feature-content-block { display: none; opacity: 0; transition: opacity 0.5s ease-in-out; }
.feature-content-block.active-feature { display: grid; opacity: 1; animation: slideUpFade 0.6s ease-out; }
@keyframes slideUpFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.features-grid-layout { grid-template-columns: 1fr 380px 1fr; gap: 40px; align-items: center; position: relative; z-index: 10; }
.feat-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 50px; }
.feat-item:last-child { margin-bottom: 0; }
.item-left { justify-content: flex-end; text-align: right; }
.item-left .feat-text { order: 1; }
.item-left .feat-icon-box { order: 2; }
.item-right { justify-content: flex-start; text-align: left; }
.feat-text h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feat-text p { color: #a4b0be; font-size: 14px; line-height: 1.5; margin: 0; }
.feat-icon-box { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.3); transition: transform 0.3s; }
.feat-item:hover .feat-icon-box { transform: scale(1.1); }
.color-1 { background: linear-gradient(135deg, #00b894, #00cec9); }
.color-2 { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.color-3 { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.color-4 { background: linear-gradient(135deg, #fdcb6e, #ffeaa7); color: #2d3436; }
.color-5 { background: linear-gradient(135deg, #e17055, #ff7675); }
.color-6 { background: linear-gradient(135deg, #e84393, #fd79a8); }
.feat-center { display: flex; justify-content: center; position: relative; }
.feat-phone-mockup { position: relative; width: 100%; max-width: 320px; z-index: 2; }
.floating-phone { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)); animation: floatPhone 6s ease-in-out infinite; }
.phone-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 500px; background: radial-gradient(circle, rgba(255,159,67,0.15) 0%, rgba(0,0,0,0) 70%); z-index: -1; }
@keyframes floatPhone { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- 6. TEK PLAN FIYATLANDIRMA (YENİ TASARIM) --- */
.pricing-section { padding: 100px 0; background: var(--dark-base); position: relative; z-index: 10; }

/* Toggle */
.pricing-toggle-wrapper { display: inline-flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 50px; position: relative; margin-top: 20px; }
.toggle-label { font-size: 14px; font-weight: 700; color: #a4b0be; transition: 0.3s; display: flex; align-items: center; gap: 5px; }
.pricing-toggle-wrapper.yearly-active .toggle-label:last-of-type { color: #fff; }
.pricing-toggle-wrapper:not(.yearly-active) .toggle-label:first-of-type { color: #fff; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #2d3436; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(24px); }
.save-tag { background: #ff6b6b; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; margin-left: 5px; }

/* Single Card Layout */
.single-pricing-card {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: center;
    background: #191f24;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 50px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-header h3 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.price-display { color: #fff; display: flex; align-items: baseline; }
.price-display .currency { font-size: 32px; font-weight: 500; margin-right: 5px; color: var(--primary); }
.price-display .amount { font-size: 64px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.price-display .period { color: #636e72; font-size: 16px; margin-left: 5px; }

.pricing-features .feature-list { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
}
.feature-list li { display: flex; align-items: center; gap: 10px; color: #d2dae2; font-size: 15px; }
.check-icon { 
    width: 24px; height: 24px; background: rgba(46, 204, 113, 0.2); 
    color: #2ecc71; border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; font-size: 12px; font-weight: bold; flex-shrink: 0;
}

.btn-wide { display: block; width: 100%; text-align: center; font-size: 16px; padding: 18px 30px; }

/* Mobil */
@media (max-width: 992px) {
    .single-pricing-card { grid-template-columns: 1fr; text-align: center; padding: 30px; }
    .price-display { justify-content: center; }
    .pricing-features .feature-list { grid-template-columns: 1fr; text-align: left; }
    .pricing-features { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); margin: 20px 0; }
}

/* --- 7. İNDİRME ALANI --- */
.download-section { background: var(--dark-base) !important; padding: 80px 0 !important; border-top: none !important; position: relative; z-index: 10; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.download-section .section-title { color: #ffffff !important; } .download-section .section-subtitle { color: #a4b0be !important; }
.dl-card { background: #191f24 !important; border: 1px solid rgba(255,255,255,0.05) !important; border-radius: 16px; padding: 15px; display: flex; align-items: center; gap: 15px; transition: all 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important; }
.dl-card:hover { background: #20262b !important; transform: translateY(-7px) !important; border-color: #FF9F43 !important; box-shadow: 0 15px 40px rgba(255, 159, 67, 0.15) !important; }
.dl-icon { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(255,255,255,0.05); }
.dl-icon svg { fill: #fff; }
.dl-content strong { color: #fff !important; font-size: 15px; display: block; }
.dl-content span { color: #8899a6 !important; font-size: 12px; }
.dl-arrow { color: #555 !important; font-size: 16px; font-weight: bold; margin-left: auto; transition: 0.3s; }
.dl-card:hover .dl-arrow { color: #FF9F43 !important; transform: translateX(5px); }

/* --- 8. SLIDER --- */
.slider-wrapper { width: 100%; overflow: hidden; padding: 50px 0 60px; background: var(--dark-base) !important; border: none !important; }
.slider-marquee { width: 100%; overflow: hidden; margin-bottom: 20px; white-space: nowrap; position: relative; }
.marquee-track { display: flex; gap: 20px; width: max-content; }
.brand-circle { width: 100px; height: 100px; background: #fff; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s; }
.brand-circle img { max-width: 60%; max-height: 60%; object-fit: contain; filter: grayscale(0%); }
.marquee-left .marquee-track { animation: scrollLeft 40s linear infinite; }
.marquee-right .marquee-track { animation: scrollRight 40s linear infinite; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* --- 9. FOOTER --- */
.site-footer { background: var(--dark-base) !important; color: #b0b8c4 !important; padding: 80px 0 40px !important; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 30px !important; align-items: start !important; }
.site-footer ul, .site-footer li, .footer-grid ul, .footer-grid li, .widget ul, .widget li { padding: 0 !important; margin: 0 !important; list-style: none !important; }
.footer-grid li { margin-bottom: 12px !important; }
.widget-title, .footer-grid h2, .footer-grid h3, .footer-grid h4 { color: #ffffff !important; font-size: 13px !important; font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: 1.5px !important; margin-bottom: 25px !important; display: block !important; }
.site-footer a { color: #94a3b8 !important; text-decoration: none !important; transition: 0.3s; }
.site-footer a:hover { color: #FF9F43 !important; padding-left: 5px; }
.footer-grid img { margin-left: 0 !important; display: block !important; max-width: 140px !important; margin-bottom: 10px !important; }
.footer-grid .textwidget div, .social-icons { display: flex !important; gap: 15px !important; }
.footer-grid .textwidget p { color: #94a3b8 !important; margin-bottom: 15px !important; }

/* --- MOBİL İÇİN DÜZELTMELER --- */
@media (max-width: 992px) {
    .nav-links, .menu, .site-header ul { display: none !important; }
    .mobile-menu-toggle { display: flex !important; margin-left: auto; }
    .header-flex { justify-content: space-between !important; padding: 0 10px !important; width: 100% !important; }
    .site-header { padding: 15px 0 !important; }
    .btn-login { padding: 8px 15px !important; font-size: 12px !important; margin-right: 15px; }
    .hero-modern { padding-top: 100px; padding-bottom: 40px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-text-content { padding-right: 0; }
    .hero-text-content h1 { font-size: 2.2rem; }
    .hero-buttons { justify-content: center; }
    .hero-gallery-wrapper { margin-top: 30px; }
    .hero-image-content { height: 400px !important; }
    .carousel-item.type-desktop { width: 90% !important; }
    .carousel-item.type-tablet { width: 60% !important; }
    .carousel-item.type-phone { width: 45% !important; }
    .carousel-item.prev-2, .carousel-item.next-2 { opacity: 0; pointer-events: none; }
    .carousel-item.prev { transform: translate3d(-30%, 0, -100px) scale(0.85) !important; }
    .carousel-item.next { transform: translate3d(30%, 0, -100px) scale(0.85) !important; }
    .features-grid-layout { grid-template-columns: 1fr; gap: 50px; }
    .feat-center { order: -1; margin-bottom: 20px; }
    .item-left, .item-right { justify-content: flex-start; text-align: left; }
    .item-left .feat-text { order: 2; }
    .item-left .feat-icon-box { order: 1; }
    .features-central-section { padding: 60px 0; }
    .feature-tabs-nav { gap: 15px; }
    .feat-tab-btn { font-size: 12px; }
    .footer-grid { grid-template-columns: 1fr !important; text-align: center !important; }
    .footer-grid h3, .footer-grid h4, .widget-title, .footer-grid .widget { text-align: center !important; }
    .footer-grid img { margin: 0 auto 10px !important; }
    .footer-grid .textwidget div { justify-content: center !important; }
}

@media (min-width: 993px) {
    .mobile-menu-overlay { display: none !important; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}