/* ═══════════════════════════════════════════════
   Ticaretyolum.com — Premium Landing Page Styles
   Light Theme — Green Brand Palette
   ═══════════════════════════════════════════════ */

/* --- Base & Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #1B6B3A; border-radius: 999px; }
::selection { background: rgba(27,107,58,.15); color: #0A3118; }

/* --- Glow Effects --- */
.glow-border {
    position: relative;
    overflow: hidden;
}
.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, #1B6B3A, #22804A, #34d399, #1B6B3A);
    z-index: -1;
    animation: spin-glow 3s linear infinite;
    opacity: 0;
    transition: opacity .4s;
}
.glow-border:hover::before { opacity: 1; }
@keyframes spin-glow { to { transform: rotate(360deg); } }

/* --- Hero Gradient Orbs (soft light version) --- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .08;
    pointer-events: none;
    animation: float 8s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 600px; height: 600px; background: #1B6B3A; top: -200px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: #34d399; bottom: -100px; right: -50px; animation-delay: -4s; }
.hero-orb-3 { width: 300px; height: 300px; background: #22804A; top: 50%; left: 50%; animation-delay: -2s; }
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* --- Bento Card Hover --- */
.bento-card {
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -15px rgba(27,107,58,.12);
}
.bento-card .bento-icon {
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.bento-card:hover .bento-icon {
    transform: scale(1.15) rotate(-5deg);
}
.bento-card .bento-arrow {
    transition: transform .3s, opacity .3s;
    opacity: 0;
    transform: translateX(-8px);
}
.bento-card:hover .bento-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- Navbar --- */
.nav-scrolled {
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(255,255,255,.92) !important;
    border-bottom: 1px solid rgba(27,107,58,.08);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

/* --- Section Reveal --- */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA Pulse --- */
.cta-pulse {
    animation: pulse-ring 2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(27,107,58,.4); }
    70% { box-shadow: 0 0 0 12px rgba(27,107,58,0); }
    100% { box-shadow: 0 0 0 0 rgba(27,107,58,0); }
}

/* --- Calculator Slider --- */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #1B6B3A var(--val, 50%), #e5e7eb var(--val, 50%));
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1B6B3A;
    border: 3px solid #fff;
    box-shadow: 0 0 12px rgba(27,107,58,.35);
    cursor: grab;
    transition: transform .2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1B6B3A;
    border: 3px solid #fff;
    box-shadow: 0 0 12px rgba(27,107,58,.35);
    cursor: grab;
}

/* --- Blueprint Mockup --- */
.blueprint-screen {
    transition: opacity .5s, transform .5s cubic-bezier(.22,1,.36,1);
}
.blueprint-hotspot {
    animation: hotspot-pulse 2s infinite;
}
@keyframes hotspot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(27,107,58,.4); }
    50% { box-shadow: 0 0 0 8px rgba(27,107,58,0); }
}

/* --- FAQ Accordion --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22,1,.36,1), padding .3s;
}
.faq-answer.open {
    max-height: 300px;
    padding-bottom: 1.25rem;
}
.faq-chevron {
    transition: transform .3s;
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* --- Gradient text --- */
.text-gradient {
    background: linear-gradient(135deg, #22804A, #1B6B3A, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Grid Dot Pattern --- */
.dot-pattern {
    background-image: radial-gradient(rgba(27,107,58,.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* --- Counter animation --- */
.count-up {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* --- Mobile Menu --- */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22,1,.36,1);
}
.mobile-menu.open {
    max-height: 400px;
}

/* --- Plan highlight --- */
.plan-recommended {
    border: 2px solid #1B6B3A;
    box-shadow: 0 0 40px -10px rgba(27,107,58,.15);
}

/* --- Light Theme Section Alternation --- */
.section-alt {
    background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
}

/* --- Card glass for light theme --- */
.card-glass {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(27,107,58,.08);
}

/* --- Apple-style Package Card --- */
.package-card {
    transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s;
}
.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px -16px rgba(0,0,0,.08);
}
.package-cta {
    position: relative;
    overflow: hidden;
}
.package-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 45%, rgba(255,255,255,.12) 55%, transparent 60%);
    transform: translateX(-100%);
    transition: transform .6s;
}
.package-cta:hover::after {
    transform: translateX(100%);
}

/* --- Money-Back Guarantee Banner --- */
.guarantee-banner {
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.guarantee-banner:hover {
    transform: scale(1.015);
}
.refund-arrow {
    animation: refund-pulse 2s ease-in-out infinite;
}
@keyframes refund-pulse {
    0%, 100% { opacity: .4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(2px); }
}
