/* === EASY DISPLAY - MAIN STYLESHEET === */

:root {
    --bg-light: #E0F7FA;
    --bg-card: #FFFFFF;
    --border-thick: 4px solid #000000;
    --pop-shadow: 8px 8px 0px rgba(0,0,0,0.2);
    --pop-shadow-hover: 12px 12px 0px rgba(0,0,0,0.15);
    --accent-primary: #FF6F00;
    --accent-secondary: #00BCD4;
    --accent-danger: #FF5252;
    --accent-success: #4CAF50;
    --accent-purple: #9C27B0;
    --text-main: #000000;
    --text-muted: #555555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
}

h1, h2, h3, h4 { font-family: 'Permanent Marker', cursive; line-height: 1.1; }
.font-mono { font-family: 'Share Tech Mono', monospace; }
.font-orbit { font-family: 'Orbitron', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.section-padding { padding: 6rem 0; position: relative; z-index: 5; border-bottom: var(--border-thick); }
.text-center { text-align: center; }

/* === HEADER === */
header {
    position: fixed; top: 0; width: 100%; padding: 1rem 0;
    z-index: 100; background: rgba(224, 247, 250, 0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--border-thick); transition: padding 0.3s;
}
header.scrolled { padding: 0.5rem 0; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-size: 1.5rem; font-weight: 800; display: flex; align-items: center;
    gap: 10px; text-decoration: none; color: #000; font-family: 'Permanent Marker', cursive;
}
.logo i { color: var(--accent-primary); }
.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-link {
    text-decoration: none; color: #000; font-weight: 700; font-size: 0.95rem;
    padding: 8px 14px; border-radius: 8px; transition: 0.3s;
}
.nav-link:hover, .nav-link.active { background: #000; color: #fff; }
.hamburger {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 5px;
}
.hamburger span { width: 28px; height: 3px; background: #000; border-radius: 3px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* === BUTTONS === */
.btn {
    padding: 14px 36px; background: #000; border: 3px solid #000;
    color: #fff; font-family: 'Permanent Marker', cursive; font-size: 1.1rem;
    text-transform: uppercase; cursor: pointer; transition: 0.3s;
    display: inline-block; text-decoration: none; border-radius: 10px;
    box-shadow: 4px 4px 0 var(--accent-primary);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent-primary); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; text-align: center; }
.btn-outline { background: transparent; color: #000; box-shadow: none; }
.btn-outline:hover { background: #000; color: #fff; }
.btn-accent {
    background: var(--accent-primary); color: #fff; border-color: #000;
    box-shadow: 6px 6px 0 #000;
}
.btn-accent:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 #000; }

/* === CARDS === */
.cartoon-card {
    background: var(--bg-card); border: var(--border-thick);
    border-radius: 20px; box-shadow: var(--pop-shadow);
    padding: 2rem; transition: all 0.2s ease;
}
.cartoon-card:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-shadow-hover); }

/* === HERO === */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; padding-top: 80px; overflow: hidden;
}
.hero-bg-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridScroll 20s linear infinite;
}
@keyframes gridScroll { to { background-position: 40px 40px; } }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
    font-size: clamp(3rem, 8vw, 7rem); margin-bottom: 1.5rem;
    color: #000; transform: rotate(-1deg);
}
.hero p {
    font-size: 1.3rem; color: var(--text-muted);
    margin-bottom: 2rem; font-weight: 600;
}
.hero-badge {
    display: inline-block; background: #fff; padding: 8px 16px;
    border: 3px solid black; font-family: 'Share Tech Mono', monospace;
    font-weight: bold; transform: rotate(2deg); box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
    margin: 4px; font-size: 0.85rem;
}
.hero-3d-container {
    position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
    width: 50%; height: 70vh; z-index: 1;
}

/* === SCROLL PRODUCT SECTION === */
.scroll-section {
    padding-bottom: 100px; position: relative; z-index: 10; background: var(--bg-light);
}
.scroll-pinner { display: flex; }
.info-panel {
    padding: 3rem; display: flex; flex-direction: column;
    justify-content: center; z-index: 20; background: var(--bg-light);
    pointer-events: none; position: relative;
}
.info-panel > * { pointer-events: auto; }
.visual-panel {
    position: relative; display: flex; align-items: center;
    justify-content: center; background: #B3E5FC; border-bottom: var(--border-thick);
}
#esl-canvas-container { width: 100%; height: 100%; z-index: 15; }

.info-step {
    position: absolute; top: 50%; left: 3rem; right: 2rem;
    transform: translateY(-50%); opacity: 0; pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-left: var(--border-thick); padding: 2rem;
    background: #fff; box-shadow: var(--pop-shadow);
    border-radius: 20px 0 0 20px;
}
.info-step.active { opacity: 1; pointer-events: auto; border-left-color: var(--accent-primary); }
.info-step h3 { font-size: 2.5rem; margin-bottom: 1rem; }
.info-step ul { margin-top: 1.5rem; margin-left: 1rem; font-size: 1.05rem; }
.info-step li {
    margin-bottom: 0.8rem; list-style: none; position: relative;
    padding-left: 24px; font-weight: 600;
}
.info-step li::before {
    content: 'âœ“'; color: var(--accent-success); font-weight: bold;
    position: absolute; left: 0;
}
.detail-box {
    background: var(--accent-secondary); color: #000; padding: 0.6rem 1.2rem;
    margin-top: 1.2rem; font-family: 'Share Tech Mono'; display: inline-block;
    font-weight: bold; font-size: 1.1rem; transform: rotate(2deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2); border: 2px solid black;
}
.step-progress {
    position: absolute; bottom: 3rem; left: 3rem; display: flex;
    gap: 15px; z-index: 30;
}
.step-dot {
    width: 16px; height: 16px; border-radius: 50%; background: #fff;
    border: 3px solid #000; transition: all 0.3s ease; cursor: pointer;
}
.step-dot.active {
    background: var(--accent-primary); transform: scale(1.3);
    box-shadow: 0 0 0 4px #fff, 0 0 0 7px #000;
}

/* === PROBLEM SECTION === */
.problem-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.problem-card {
    background: #fff; padding: 2rem; border: var(--border-thick);
    border-radius: 20px; box-shadow: var(--pop-shadow); transition: 0.3s;
}
.problem-card:hover { transform: translateY(-10px); }
.problem-title {
    color: var(--accent-danger); font-size: 1.3rem; font-weight: bold;
    margin-bottom: 1rem; display: block; font-family: 'Permanent Marker';
}

/* === DESIGNER SECTION === */
.designer-section { background: #B3E5FC; }
.designer-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    align-items: center; margin-top: 3rem;
}
.designer-ui {
    background: #fff; border-radius: 20px; padding: 2rem;
    border: var(--border-thick); box-shadow: var(--pop-shadow);
}
.ui-header { height: 20px; display: flex; gap: 8px; margin-bottom: 2rem; }
.ui-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid black; }
.ui-dot.red { background: #ff5f56; }
.ui-dot.yellow { background: #ffbd2e; }
.ui-dot.green { background: #27c93f; }
.ui-grid { display: grid; grid-template-columns: 1fr 180px; gap: 20px; height: 280px; }
.ui-canvas {
    background: #eee; border: 3px dashed #999; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.ui-tag-mock {
    width: 140px; height: 90px; background: #fff; border: 4px solid black;
    border-radius: 10px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; font-family: 'Permanent Marker';
}
.ui-controls {
    background: #f5f5f5; padding: 1rem; border-radius: 10px; border: 2px solid #000;
}
.ui-line { height: 12px; background: #000; margin-bottom: 10px; border-radius: 6px; }
.feature-list li {
    list-style: none; margin-bottom: 1rem; font-size: 1.05rem;
    display: flex; align-items: center; gap: 15px; font-weight: 600;
}

/* === ROI CALCULATOR === */
.roi-calculator-section { background: #FFF9C4; }
.calc-wrapper {
    background: #fff; border: var(--border-thick); padding: 3rem;
    border-radius: 20px; box-shadow: var(--pop-shadow); margin-top: 3rem;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.calc-input-group { margin-bottom: 2rem; }
.calc-input-group label {
    display: flex; justify-content: space-between; margin-bottom: 1rem;
    font-family: 'Permanent Marker'; font-size: 1.1rem;
}
input[type="range"] {
    width: 100%; accent-color: var(--accent-primary); height: 8px;
    background: #000; outline: none; appearance: none; border-radius: 4px;
}
input[type="range"]::-webkit-slider-thumb {
    appearance: none; width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent-primary); cursor: pointer;
    border: 3px solid black; box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}
.calc-results {
    background: var(--bg-light); padding: 2rem; border-radius: 15px;
    display: flex; flex-direction: column; justify-content: center;
    border: var(--border-thick); box-shadow: 5px 5px 0 #000;
}
.calc-value {
    font-size: 3.5rem; font-family: 'Permanent Marker';
    color: var(--accent-success); line-height: 1; text-shadow: 2px 2px 0 #000;
}
.calc-label { color: #000; font-size: 1.2rem; font-weight: bold; }

/* === AUDIENCE SECTION === */
.audience-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.audience-card {
    background: #fff; border: var(--border-thick); padding: 2rem;
    border-radius: 20px; transition: 0.4s; box-shadow: var(--pop-shadow);
    text-align: center;
}
.audience-card:hover { transform: rotate(2deg) scale(1.02); }
.role-icon { font-size: 2.5rem; color: var(--accent-primary); margin-bottom: 1.5rem; }
.role-list li {
    margin-bottom: 1rem; font-size: 0.95rem; font-weight: 600;
    color: var(--text-muted); list-style: none; position: relative; padding-left: 25px;
}
.role-list li::before {
    content: 'â˜…'; color: var(--accent-secondary); position: absolute;
    left: 0; font-size: 1.2rem;
}

/* === PRICING === */
.pricing-section { background: #E1BEE7; padding-top: 6rem; padding-bottom: 6rem; }
.plans-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.plan-card {
    background: #fff; padding: 2.5rem 1.5rem; border: var(--border-thick);
    border-radius: 20px; transition: 0.4s; display: flex; flex-direction: column;
    box-shadow: var(--pop-shadow); text-align: center; position: relative;
}
.plan-card:hover { transform: translateY(-10px) rotate(-1deg); }
.plan-card.featured {
    border-color: var(--accent-primary); transform: scale(1.05) rotate(1deg);
    z-index: 2; background: #FFF3E0;
}
.plan-card.featured:hover { transform: scale(1.05) translateY(-15px) rotate(0deg); }
.plan-card.featured::before {
    content: "MOST POPULAR"; position: absolute; top: -15px; left: 50%;
    transform: translateX(-50%); background: var(--accent-primary); color: white;
    font-family: 'Permanent Marker'; font-size: 0.9rem; padding: 5px 15px;
    border: 3px solid black; border-radius: 20px; box-shadow: 3px 3px 0 #000;
}
.plan-price { font-size: 2.5rem; margin: 1.5rem 0; font-family: 'Permanent Marker'; }
.plan-features { flex-grow: 1; margin-bottom: 2rem; text-align: left; }
.plan-features li {
    list-style: none; margin-bottom: 0.8rem; color: var(--text-muted);
    font-weight: 600; display: flex; align-items: center;
}
.plan-features i { color: var(--accent-success); margin-right: 10px; width: 24px; text-align: center; }

/* === CONTACT === */
.contact-section { background: #C8E6C9; }
.contact-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 1rem; margin-bottom: 1.5rem; background: #fff;
    border: 3px solid #000; color: black; border-radius: 10px;
    font-family: 'Inter', sans-serif; font-size: 1rem; transition: 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none; border-color: var(--accent-primary);
    box-shadow: 4px 4px 0 #000; transform: translate(-2px, -2px);
}
.form-msg {
    padding: 1rem; border-radius: 10px; margin-top: 1rem; font-weight: 700;
    display: none; border: 3px solid;
}
.form-msg.success { background: #C8E6C9; border-color: var(--accent-success); color: #1B5E20; }
.form-msg.error { background: #FFCDD2; border-color: var(--accent-danger); color: #B71C1C; }

/* === FOOTER === */
footer {
    padding: 4rem 0 2rem; border-top: var(--border-thick);
    font-size: 1rem; color: #000; font-weight: 600;
    position: relative; z-index: 20; background: #fff;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem; margin-bottom: 3rem;
}
.footer-col h4 { color: #000; margin-bottom: 1.5rem; font-family: 'Permanent Marker'; font-size: 1.3rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: #555; text-decoration: none; transition: 0.2s; font-weight: 600; }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom {
    border-top: 3px solid #000; padding-top: 2rem; text-align: center; font-weight: 700;
}
.social-icon {
    width: 40px; height: 40px; border: 3px solid #000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000; text-decoration: none; transition: 0.3s; font-size: 1.1rem;
}
.social-icon:hover { background: var(--accent-primary); color: #fff; transform: rotate(15deg); }

/* === SCROLL REVEAL === */
.reveal-item { opacity: 0; transform: translateY(50px); transition: all 0.6s ease; }
.reveal-item.revealed { opacity: 1 !important; transform: translateY(0) !important; }
.reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-item:nth-child(2) { transition-delay: 0.1s; }
.reveal-item:nth-child(3) { transition-delay: 0.15s; }
.reveal-item:nth-child(4) { transition-delay: 0.2s; }

/* === PRODUCT PAGE SPECIFIC === */
.product-hero {
    min-height: 60vh; display: flex; align-items: center;
    padding-top: 100px; background: linear-gradient(135deg, #E0F7FA 0%, #B3E5FC 100%);
    border-bottom: var(--border-thick); position: relative; overflow: hidden;
}
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; margin-top: 3rem;
}
.product-card {
    background: #fff; border: var(--border-thick); border-radius: 20px;
    overflow: hidden; transition: 0.4s; box-shadow: var(--pop-shadow);
}
.product-card:hover { transform: translateY(-10px) rotate(-0.5deg); }
.product-3d-container {
    height: 280px; background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-bottom: var(--border-thick); position: relative; cursor: grab;
}
.product-3d-container:active { cursor: grabbing; }
.product-info { padding: 1.5rem; }
.product-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.product-specs { margin-top: 1rem; }
.spec-row {
    display: flex; justify-content: space-between; padding: 0.5rem 0;
    border-bottom: 1px dashed #ccc; font-size: 0.9rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--text-muted); font-weight: 600; }
.spec-value { font-family: 'Share Tech Mono'; font-weight: bold; }
.product-price {
    font-size: 1.8rem; font-family: 'Permanent Marker';
    color: var(--accent-primary); margin-top: 1rem;
}
.product-badge {
    position: absolute; top: 12px; right: 12px; background: var(--accent-primary);
    color: #fff; padding: 4px 12px; font-family: 'Share Tech Mono'; font-size: 0.8rem;
    font-weight: bold; border: 2px solid #000; border-radius: 20px; z-index: 5;
}
.size-tag {
    display: inline-block; background: var(--accent-secondary); color: #000;
    padding: 3px 10px; font-family: 'Share Tech Mono'; font-weight: bold;
    font-size: 0.8rem; border: 2px solid #000; border-radius: 6px; margin-right: 6px;
}
.rotate-hint {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.7); color: #fff; padding: 4px 12px;
    font-size: 0.75rem; border-radius: 20px; font-family: 'Share Tech Mono';
    opacity: 0.7; pointer-events: none; z-index: 5;
}

/* === DESKTOP SCROLL === */
@media (min-width: 901px) {
    .scroll-pinner { height: 100vh; overflow: hidden; flex-direction: row; }
    .info-panel { width: 45%; border-right: var(--border-thick); }
    .visual-panel { width: 55%; }
}

/* === MOBILE === */
@media (max-width: 900px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg-light); border-bottom: var(--border-thick);
        flex-direction: column; padding: 1rem; gap: 0.5rem;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .scroll-pinner { flex-direction: column-reverse; }
    .info-panel {
        width: 100%; padding: 3rem 1.5rem; background: #fff;
        border-top: var(--border-thick);
    }
    .info-step {
        position: relative; top: auto; left: auto; right: auto;
        transform: none; margin-bottom: 2rem; width: 100%;
        box-shadow: none; border-radius: 0; border-left: 4px solid var(--accent-primary);
    }
    .visual-panel {
        width: 100%; height: 60vh; min-height: 400px;
        position: sticky; top: 70px; z-index: 10;
        border-bottom: var(--border-thick);
    }
    .step-progress { display: none; }
    .hero-3d-container { display: none; }
    .calc-grid, .designer-wrapper, .contact-container { grid-template-columns: 1fr; }
    .plan-card.featured { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* === HERO FLOATING LABELS === */
.hero-label {
    position: absolute;
    z-index: 10;
    padding: 8px 18px;
    font-family: 'Permanent Marker', cursive;
    font-size: 0.95rem;
    color: #fff;
    border: 3px solid #000;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    pointer-events: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-label:hover {
    transform: translate(-2px,-2px) scale(1.08);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
}
.hero-label i { font-size: 0.85rem; }
.hero-label.lbl-esl { background: #FFD600; color: #000; }
.hero-label.lbl-scanner { background: #4CAF50; }
.hero-label.lbl-touch { background: #00BCD4; }
.hero-label.lbl-counter { background: #2196F3; }
.hero-label.lbl-advert { background: #795548; }
.hero-label.lbl-visitor { background: rgba(0,0,0,0.85); font-size: 0.8rem; top: 12px; left: 50%; transform: translateX(-50%); }
@media (max-width: 900px) {
    .hero-label { font-size: 0.75rem; padding: 5px 12px; }
}

/* === LOADING OVERLAY === */
.page-loader {
    position: fixed; inset: 0; z-index: 9999; background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 1.5rem;
    transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
    width: 60px; height: 60px; border: 6px solid #000;
    border-top-color: var(--accent-primary); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { font-family: 'Permanent Marker'; font-size: 1.5rem; }

/* === ABOUT SECTION === */
.about-section { border-bottom: var(--border-thick); }
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.about-card {
    background: rgba(255,255,255,0.05);
    border: 3px solid rgba(255,111,0,0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.about-card:hover {
    border-color: var(--accent-primary);
    background: rgba(255,111,0,0.1);
    transform: translateY(-8px);
}
.about-stat-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}
.about-stat-num {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 0.5rem;
}
.about-stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-mission {
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(0,188,212,0.2);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .about-grid { grid-template-columns: 1fr; }
}