/* ============================================================
   SMART AGL — Premium Design System ($10k+ Tier)
   Glassmorphism · Scroll Animations · Micro-interactions
   Applied AFTER smartagl-kiraz.css
============================================================ */

/* ── Enhanced Color Palette ── */
:root {
    --premium-glow: rgba(29, 185, 166, 0.15);
    --premium-shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
    --premium-shadow-md: 0 12px 40px rgba(0,0,0,0.08);
    --premium-shadow-lg: 0 24px 60px rgba(0,0,0,0.12);
    --premium-shadow-glow: 0 20px 40px rgba(29, 185, 166, 0.15);
    --premium-radius: 20px;
    --premium-radius-lg: 28px;
    --premium-transition: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Kiraz Accents */
    --kiraz-teal: #00BFA5;
    --kiraz-navy: #2A1E35;
    --kiraz-coral: #FF5722;
    --kiraz-grey: #F5F7FA;
}

/* ── Scroll-Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--premium-transition), transform 0.8s var(--premium-transition);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(29,185,166,0.2); }
    50%      { box-shadow: 0 0 40px rgba(29,185,166,0.4); }
}
@keyframes drawWavy {
    to { stroke-dashoffset: 0; }
}

/* ── Kiraz Design System Utilities ── */
.kiraz-label {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--smartagl-primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.kiraz-label::before { content: '['; margin-right: 4px; opacity: 0.5; }
.kiraz-label::after { content: ']'; margin-left: 4px; opacity: 0.5; }

.cut-corner {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.cut-corner-tl {
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
}

.kiraz-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.kiraz-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q 25 0 50 5 T 100 5' fill='none' stroke='%2300BFA5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: -1;
    opacity: 0.6;
}

.kiraz-circle-highlight {
    position: relative;
}
.kiraz-circle-highlight::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 110%;
    height: 120%;
    border: 2px solid var(--smartagl-primary);
    border-radius: 50% 40% 60% 50% / 40% 50% 50% 60%;
    z-index: -1;
    opacity: 0.4;
    transform: rotate(-2deg);
}

/* ── Glassmorphism Utilities ── */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.glass-dark {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Enhanced Sticky Header (Glassmorphism) ── */
.site-header-sticky {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(32px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04) !important;
}
.site-header-sticky .button {
    background: var(--smartagl-heading);
    box-shadow: none;
    border-radius: 10px;
    font-size: 12px !important;
    padding: 10px 22px !important;
    transition: all 0.4s var(--premium-transition);
}
.site-header-sticky .button:hover {
    background: var(--smartagl-primary);
    transform: translateY(-1px);
    box-shadow: var(--premium-shadow-glow);
}

/* Nav link underline animation */
.site-header .navigator .menu-primary > li > a,
.site-header-sticky .navigator .menu-primary > li > a {
    position: relative;
}
.site-header .navigator .menu-primary > li > a::after,
.site-header-sticky .navigator .menu-primary > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--smartagl-primary);
    transition: width 0.3s ease, left 0.3s ease;
}
.site-header .navigator .menu-primary > li > a:hover::after,
.site-header .navigator .menu-primary > li.active > a::after,
.site-header-sticky .navigator .menu-primary > li > a:hover::after,
.site-header-sticky .navigator .menu-primary > li.active > a::after {
    width: 100%;
    left: 0;
}

/* ── Enhanced Hero Section ── */
.hero-section {
    background: linear-gradient(135deg, #0d0d1a 0%, var(--smartagl-dark) 40%, #1a2a3e 100%) !important;
}
.hero-section h1 {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    letter-spacing: -1px;
    animation: fadeInUp 1s var(--premium-transition) both;
}
@media (min-width: 768px) {
    .hero-section h1 { font-size: 4.5rem !important; }
}
.hero-section h1 em {
    background: linear-gradient(135deg, var(--smartagl-primary), var(--smartagl-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}
.hero-section .hero-tag {
    animation: fadeInUp 0.8s var(--premium-transition) 0.1s both;
    border: 1px solid rgba(29,185,166,0.2) !important;
    background: rgba(29,185,166,0.05) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hero-section .hero-desc {
    animation: fadeInUp 1s var(--premium-transition) 0.2s both;
}
.hero-section .hero-actions {
    animation: fadeInUp 1s var(--premium-transition) 0.3s both;
}
.hero-section .hero-actions .button {
    position: relative;
    overflow: hidden;
    box-shadow: var(--premium-shadow-glow);
}
.hero-section .hero-actions .button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s ease infinite;
}

/* Hero Cards enhanced */
.hero-card {
    transition: all 0.5s var(--premium-transition) !important;
    border-radius: 20px !important;
}
.hero-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 40px rgba(29,185,166,0.1) !important;
}

/* ── Enhanced Service Cards ── */
.service-card {
    border-radius: var(--premium-radius) !important;
    transition: all 0.5s var(--premium-transition) !important;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--smartagl-primary), var(--smartagl-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--premium-transition);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    box-shadow: var(--premium-shadow-lg) !important;
    transform: translateY(-8px) !important;
    border-color: transparent !important;
}
.service-card .service-icon {
    border-radius: 16px !important;
    transition: all 0.4s var(--premium-transition) !important;
}
.service-card:hover .service-icon {
    background: var(--smartagl-primary) !important;
    transform: scale(1.05);
}
.service-card:hover .service-icon svg,
.service-card:hover .service-icon i {
    color: #fff !important;
}

/* ── Enhanced Portfolio Showcase ── */
.portfolio-showcase {
    background: linear-gradient(135deg, #15a393 0%, var(--smartagl-primary) 50%, #0d8a7d 100%) !important;
}
.portfolio-showcase .section-title {
    font-size: 3.25rem !important;
    letter-spacing: -0.03em !important;
}
.showcase-btn {
    border-radius: 14px !important;
    font-weight: 700 !important;
    transition: all 0.4s var(--premium-transition) !important;
}
.showcase-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) !important;
}

/* ── Enhanced Reason Cards ── */
.reason-card {
    border-radius: var(--premium-radius) !important;
    transition: all 0.5s var(--premium-transition) !important;
    position: relative;
    overflow: hidden;
}
.reason-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--smartagl-primary), var(--smartagl-primary-light));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s var(--premium-transition);
}
.reason-card:hover::after {
    transform: scaleX(1);
}
.reason-card:hover {
    box-shadow: var(--premium-shadow-md) !important;
    transform: translateY(-6px) !important;
}
.reason-card .reason-number {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--smartagl-primary), var(--smartagl-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
}

/* ── Enhanced CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, #0d0d1a 0%, var(--smartagl-dark) 50%, #1a2a3e 100%) !important;
}
.cta-section h2 {
    font-size: 3rem !important;
    letter-spacing: -0.5px;
}
.cta-section .button {
    position: relative;
    overflow: hidden;
}
.cta-section .button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.cta-section .button:hover::after {
    left: 200%;
}

/* ── Enhanced Page Banners ── */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, #0d0d1a 0%, var(--smartagl-dark) 50%, #1a2a3e 100%);
    padding: 140px 0 100px;
    overflow: hidden;
    text-align: center;
}
.page-banner-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}
.page-banner-title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 auto;
    max-width: 900px;
}
.page-banner .section-subtitle {
    color: var(--smartagl-primary) !important;
    margin-bottom: 24px;
}
.page-banner-bg-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    overflow: hidden;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
.page-banner-bg-text .marquee-text {
    white-space: nowrap;
    font-size: 10rem;
    font-weight: 900;
    color: #fff;
    animation: marquee-text-scroll 25s linear infinite;
}
.page-banner .wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page-banner p {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 24px auto 0;
    line-height: 1.7;
    text-align: center;
}

/* ── Premium Product Grid (Bento Style) ── */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}
@media (max-width: 768px) {
    .premium-grid { grid-template-columns: 1fr; gap: 24px; }
}

.premium-card {
    position: relative;
    border-radius: var(--premium-radius-lg);
    background: #fff;
    overflow: hidden;
    transition: all 0.5s var(--premium-transition);
    box-shadow: var(--premium-shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--premium-shadow-glow);
}

.premium-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--smartagl-light-bg);
}
.premium-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--premium-transition);
}
.premium-card:hover .premium-card-image img {
    transform: scale(1.04);
}

.premium-card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premium-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(29, 185, 166, 0.1);
    color: var(--smartagl-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
    width: fit-content;
}

.premium-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--smartagl-heading);
    margin: 0 0 12px;
    line-height: 1.3;
}
.premium-card-desc {
    color: var(--smartagl-body-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.premium-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--smartagl-border);
    padding-top: 20px;
}
.premium-card-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--smartagl-heading);
}
.premium-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--smartagl-light-bg);
    color: var(--smartagl-heading);
    transition: all 0.4s var(--premium-transition);
}
.premium-card:hover .premium-card-action {
    background: var(--smartagl-primary);
    color: #fff;
    transform: translateX(4px);
}

/* ── Premium Product Detail (Show.php) ── */
.product-hero {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--smartagl-light-bg) 0%, #ffffff 100%);
    overflow: hidden;
}
.product-hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(29, 185, 166, 0.12);
    color: var(--smartagl-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 50px;
    margin-bottom: 24px;
}
.product-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--smartagl-heading);
    margin-bottom: 24px;
    letter-spacing: -1px;
}
@media (max-width: 768px) {
    .product-hero-title { font-size: 2.25rem; }
    .product-hero > .wrap > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
.product-hero-desc {
    font-size: 1.2rem;
    color: var(--smartagl-body-text);
    max-width: 600px;
    line-height: 1.7;
}
.product-hero-image-wrapper {
    position: relative;
    border-radius: var(--premium-radius-lg);
    overflow: hidden;
    box-shadow: var(--premium-shadow-lg);
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.6s var(--premium-transition);
}
.product-hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Sticky layout for product detail */
.product-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 1024px) {
    .product-layout { grid-template-columns: 1fr; gap: 40px; }
}
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* Premium Form Card */
.premium-form-card {
    background: #fff;
    border-radius: var(--premium-radius-lg);
    padding: 40px;
    box-shadow: var(--premium-shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
}
.premium-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--smartagl-light-bg);
    border: 1px solid transparent;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--smartagl-heading);
    transition: all 0.3s;
    box-sizing: border-box;
}
.premium-input:focus {
    background: #fff;
    border-color: var(--smartagl-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(29, 185, 166, 0.1);
}
.premium-button {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--smartagl-primary) 0%, var(--smartagl-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: var(--premium-shadow-glow);
    transition: all 0.4s var(--premium-transition);
    position: relative;
    overflow: hidden;
}
.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(29, 185, 166, 0.35);
}
.premium-button::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.premium-button:hover::after {
    left: 200%;
}

/* Premium Info List */
.premium-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.premium-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--smartagl-border);
    font-size: 0.95rem;
}
.premium-info-list li:last-child { border-bottom: none; }
.premium-info-list .label { color: var(--smartagl-muted); }
.premium-info-list .value { font-weight: 600; color: var(--smartagl-heading); }

/* Premium Gallery */
.premium-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .premium-gallery { grid-template-columns: 1fr; }
}
.premium-gallery-item {
    border-radius: var(--premium-radius);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--premium-shadow-sm);
    transition: all 0.4s var(--premium-transition);
}
.premium-gallery-item:hover {
    box-shadow: var(--premium-shadow-md);
    transform: translateY(-4px);
}
.premium-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--premium-transition);
}
.premium-gallery-item:hover img {
    transform: scale(1.03);
}

/* ── Enhanced Project Cards (Portfolio) ── */
.project-inner {
    border-radius: var(--premium-radius) !important;
    transition: all 0.5s var(--premium-transition) !important;
}
.project-inner:hover {
    box-shadow: var(--premium-shadow-lg) !important;
    transform: translateY(-8px) !important;
}

/* ── Enhanced Footer ── */
.site-footer {
    background: linear-gradient(180deg, #0d0d1a 0%, var(--smartagl-dark) 100%) !important;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s var(--premium-transition);
}
.footer-social a:hover {
    background: var(--smartagl-primary);
    transform: translateY(-3px);
}

/* ── CTA Strip (enhanced) ── */
.cta-strip {
    background: linear-gradient(135deg, var(--smartagl-light-bg) 0%, rgba(29,185,166,0.05) 100%);
    border: 1px solid var(--smartagl-border);
    border-radius: var(--premium-radius);
    padding: 32px 40px;
    text-align: center;
}
.cta-strip p {
    color: var(--smartagl-body-text);
    font-size: 1rem;
    margin: 0;
}

/* ── Section title em style (circle) ── */
.section-title em {
    position: relative;
}

/* ── Lang Switch ── */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7) !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s;
}
.lang-switch:hover {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
}
.site-header-sticky .lang-switch {
    background: var(--smartagl-light-bg);
    color: var(--smartagl-heading) !important;
}
.site-header-sticky .lang-switch:hover {
    background: rgba(29,185,166,0.1);
    color: var(--smartagl-primary) !important;
}
.footer-copyright .lang-switch {
    background: rgba(255,255,255,0.05);
}

/* ── Enhanced Form Fields (Global) ── */
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not(.premium-input),
textarea,
select {
    border-radius: 12px !important;
    transition: all 0.3s !important;
    font-family: 'Inter', sans-serif !important;
}
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not(.premium-input):focus,
textarea:focus,
select:focus {
    border-color: var(--smartagl-primary) !important;
    box-shadow: 0 0 0 4px rgba(29, 185, 166, 0.1) !important;
    outline: none !important;
}

/* ── Buttons Global Enhancement ── */
.button,
input[type="submit"],
button[type="submit"] {
    border-radius: 12px !important;
    transition: all 0.4s var(--premium-transition) !important;
    font-family: 'Outfit', sans-serif !important;
}
.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* ── Smooth scroll for the whole page ── */
html {
    scroll-behavior: smooth;
}

/* ── Selection color ── */
::selection {
    background: var(--smartagl-primary);
    color: #fff;
}

/* ── Enhanced Hero Floating Image ── */
.hero-floating-box {
    position: absolute;
    top: -20px;
    right: -40px;
    width: 100%;
    max-width: 550px;
    z-index: 5;
    pointer-events: none;
    transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
    transition: transform 0.8s var(--premium-transition);
}
.hero-floating-box:hover {
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
.hero-floating-box img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    display: block;
}

@media (max-width: 1200px) {
    .hero-floating-box {
        right: -20px;
        max-width: 450px;
    }
}

@media (max-width: 991px) {
    .hero-floating-box {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        margin-bottom: 40px;
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    }
}

/* ── Panorama Image Box ── */
.panorama-img-box {
    margin-top: -80px;
    position: relative;
    z-index: 20;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--premium-shadow-lg);
    border: 8px solid #fff;
    background: #fff;
}
.panorama-img-box img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 1s var(--premium-transition);
}
.panorama-img-box:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .panorama-img-box {
        margin-top: -40px;
        border-width: 4px;
        border-radius: 20px;
    }
    .panorama-img-box img {
        height: 250px;
    }
}

/* ── Abstract Tech Box ── */
.abstract-tech-box {
    margin-top: -60px;
    position: relative;
    z-index: 20;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 1px solid var(--smartagl-border);
    background: #fff;
}
.abstract-tech-box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .abstract-tech-box {
        margin-top: -30px;
        border-radius: 16px;
    }
    .abstract-tech-box img {
        height: 200px;
    }
}

/* ── Print: hide non-essential ── */
@media print {
    .site-topbar, .site-header-sticky, .off-canvas, .hero-section canvas,
    .lines, .go-to-top { display: none !important; }
}

/* Product rich content blocks from admin editor */
.product-rich-content .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: var(--premium-shadow-sm);
}

.product-rich-content .hero {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 1.8rem;
    margin-bottom: 2.2rem;
}

.product-rich-content .hero h1 {
    color: var(--smartagl-heading);
    font-size: clamp(2.4rem, 4vw, 4rem);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.product-rich-content .hero h1 span {
    color: var(--smartagl-primary);
}

.product-rich-content .hero p {
    margin-top: 0.85rem;
    font-size: 1.15rem;
    color: var(--smartagl-muted);
}

.product-rich-content .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
}

.product-rich-content .card {
    padding: 1.4rem;
    border-radius: 1rem;
    background: var(--smartagl-light-bg);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.product-rich-content .card:hover {
    transform: translateY(-3px);
    border-color: rgba(29,185,166,0.28);
    background: #ffffff;
    box-shadow: var(--premium-shadow-md);
}

.product-rich-content .card h3 {
    color: var(--smartagl-heading);
    margin-top: 0;
    border-left: 4px solid var(--smartagl-primary);
    padding-left: 0.9rem;
}

.product-rich-content .card ul {
    margin: 0;
    color: var(--smartagl-body-text);
}

.product-rich-content .highlights {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, #111a26, #0f172a);
    color: #ffffff;
    padding: 2rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(29,185,166,0.14);
    box-shadow: var(--premium-shadow-lg);
}

.product-rich-content .highlights h2 {
    color: var(--smartagl-primary);
    margin-top: 0;
    text-transform: uppercase;
}

.product-rich-content .check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-rich-content .check-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0;
}

.product-rich-content .check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--smartagl-primary);
    font-weight: 800;
}

@media (max-width: 900px) {
    .product-rich-content .container,
    .product-rich-content .highlights {
        padding: 1.4rem;
    }

    .product-rich-content .check-list {
        grid-template-columns: 1fr;
    }
}
