/* ================================================================
   SEDOT WC Kediri — NEO-MODERN REDESIGN (COMPLETE OVERHAUL)
   Style: Minimalist, Bold Typography, Bento Grids, Liquid Waves
   ================================================================ */

/* ===== CSS Variables & Reset ===== */
:root {
    /* Bold Orange Palette */
    --neo-primary: #ea580c;
    --neo-dark: #9a3412;
    --neo-light: #ffedd5;
    --neo-base: #fff7ed;
    --neo-accent: #facc15;
    
    /* Monochrome & Neutrals */
    --neo-black: #0f172a;
    --neo-white: #ffffff;
    --neo-gray: #64748b;
    --neo-border: #e2e8f0;

    /* Typographic Scale for Clamp */
    --h1-size: clamp(1.75rem, 5vw, 3.5rem);
    --h2-size: clamp(2rem, 4vw, 3.5rem);
    --body-size: clamp(1rem, 1.2vw, 1.125rem);
    
    /* Spacing & Layout */
    --container-width: 1300px;
    --section-gap: 120px;
    --radius-huge: 40px;
    --radius-pill: 100px;

    /* Transition Speeds */
    --trans-snappy: 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --trans-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', sans-serif;
    background-color: var(--neo-white);
    color: var(--neo-black);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.neo-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* ===== ANIMATIONS ===== */
@keyframes waveAnimation1 {
    0% { d: path("M0,400 C300,500 600,300 900,450 C1200,600 1440,300 1440,300 L1440,800 L0,800 Z"); }
    50% { d: path("M0,400 C300,350 600,550 900,400 C1200,300 1440,450 1440,450 L1440,800 L0,800 Z"); }
    100% { d: path("M0,400 C300,500 600,300 900,450 C1200,600 1440,300 1440,300 L1440,800 L0,800 Z"); }
}

@keyframes waveAnimation2 {
    0% { d: path("M0,550 C250,450 500,600 850,500 C1200,400 1440,550 1440,550 L1440,800 L0,800 Z"); }
    50% { d: path("M0,500 C250,600 500,450 850,550 C1200,650 1440,500 1440,500 L1440,800 L0,800 Z"); }
    100% { d: path("M0,550 C250,450 500,600 850,500 C1200,400 1440,550 1440,550 L1440,800 L0,800 Z"); }
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Base Reveal Class */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity var(--trans-smooth), transform var(--trans-smooth);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NEO HEADER ===== */
.neo-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all var(--trans-smooth);
}

.neo-header.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.neo-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo-mark {
    background: var(--neo-primary);
    color: var(--neo-white);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.logo-text {
    color: var(--neo-black);
}

.neo-nav {
    display: flex;
    gap: 8px;
    background: var(--neo-base);
    padding: 6px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--neo-light);
}

.nav-item {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--neo-gray);
    transition: all var(--trans-snappy);
}

.nav-item:hover, .nav-item.active {
    background: var(--neo-white);
    color: var(--neo-black);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Neo Button */
.neo-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform var(--trans-snappy);
}

.neo-btn:hover {
    transform: scale(1.05);
}

.nav-cta, .action-primary {
    background: var(--neo-black);
    color: var(--neo-white);
    border: none;
}

.nav-cta .btn-icon, .action-primary .btn-icon {
    background: rgba(255,255,255,0.2);
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: transform var(--trans-snappy);
}

.neo-btn:hover .btn-icon {
    transform: translateX(4px);
}

.action-outline {
    background: transparent;
    color: var(--neo-black);
    border: 2px solid var(--neo-black);
}
.action-outline:hover {
    background: var(--neo-black);
    color: var(--neo-white);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none; border: none;
    cursor: pointer; z-index: 1001;
}
.hamburger .bar {
    width: 24px; height: 3px;
    background: var(--neo-black);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== SPLIT HERO SETTINGS ===== */
.neo-hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    overflow: hidden;
    background: var(--neo-white);
}

.hero-liquid-bg {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70vh;
    z-index: 0;
}

.hero-liquid-bg svg {
    width: 100%; height: 100%;
}
.animated-wave-1 { animation: waveAnimation1 12s ease-in-out infinite alternate; }
.animated-wave-2 { animation: waveAnimation2 15s ease-in-out infinite alternate; }

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Hero Typography */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 24px;
    background: var(--neo-white);
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.ping-dot {
    width: 10px; height: 10px;
    background: var(--neo-primary);
    border-radius: 50%;
    position: relative;
}
.ping-dot::after {
    content:''; position: absolute; inset:-4px;
    border-radius: 50%;
    border: 2px solid var(--neo-primary);
    animation: waveAnimation1 2s infinite; /* using wave anim name as placeholder ping */
}

.giant-heading {
    font-size: var(--h1-size);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
}

.outline-text {
    -webkit-text-stroke: 2px var(--neo-black);
    color: transparent;
}

.accent-text {
    color: var(--neo-primary);
}

.hero-desc {
    font-size: var(--body-size);
    color: var(--neo-gray);
    max-width: 480px;
    margin-bottom: 40px;
}

/* Initial Delay Utilities */
.slide-up { animation: slideUpFade 1s cubic-bezier(0.2,1,0.3,1) forwards; }
.slide-up-delay-1 { animation: slideUpFade 1s cubic-bezier(0.2,1,0.3,1) 0.1s forwards; opacity: 0; }
.slide-up-delay-2 { animation: slideUpFade 1s cubic-bezier(0.2,1,0.3,1) 0.2s forwards; opacity: 0; }
.slide-up-delay-3 { animation: slideUpFade 1s cubic-bezier(0.2,1,0.3,1) 0.3s forwards; opacity: 0; }
.fade-in-scale { animation: slideUpFade 1.5s cubic-bezier(0.2,1,0.3,1) 0.4s forwards; opacity: 0; }

/* Hero Visual Asymmetry */
.hero-visual {
    position: relative;
    height: 450px;
    max-width: 650px;
    margin-left: auto;
}

.liquid-mask {
    width: 100%; height: 100%;
}

.hero-img {
    width: 100%; height: 100%;
    object-fit: contain;
    transform: scale(1);
    object-position: center bottom;
}

.float-metric {
    position: absolute;
    background: var(--neo-white);
    padding: 15px 25px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: floatElement 4s ease-in-out infinite;
    text-align: center;
}

.float-1 { bottom: -20px; left: 15%; animation-delay: 0s; z-index: 10; padding: 20px 30px; }

.metric-val { font-size: 1.8rem; font-weight: 900; line-height: 1; color: var(--neo-black); }
.metric-lbl { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--neo-gray); margin-top: 4px; }


/* ===== BENTO SECTION ===== */
.neo-bento-section {
    padding: var(--section-gap) 0;
    background: var(--neo-white);
}

.h2-massive {
    font-size: var(--h2-size);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-title-wrap {
    margin-bottom: 60px;
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.title-line {
    flex-grow: 1;
    height: 2px;
    background: var(--neo-black);
    margin-bottom: 12px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-item {
    border-radius: var(--radius-huge);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--trans-snappy);
}
.bento-item:hover {
    transform: scale(0.98);
}

.bento-large {
    grid-column: span 2; grid-row: span 2;
}
.bento-vertical {
    grid-column: span 1; grid-row: span 2;
}
.bento-small {
    grid-column: span 1; grid-row: span 1;
}

.bento-item h3 {
    font-size: 2rem; font-weight: 800; line-height: 1.1; margin-bottom: 16px;
}
.bento-item p {
    font-size: 1rem; opacity: 0.8;
}

/* Bento Themes */
.box-orange { background: var(--neo-primary); color: var(--neo-white); }
.box-dark { background: var(--neo-black); color: var(--neo-white); }
.box-light { background: var(--neo-base); color: var(--neo-black); }
.box-outline { background: transparent; border: 2px solid var(--neo-border); }

.bento-link {
    display: inline-block; margin-top: auto;
    font-weight: 700; font-size: 1.2rem;
    color: var(--neo-white);
}
.link-dark { color: var(--neo-black); }

.icon-sharp {
    font-size: 3rem; margin-bottom: auto;
}

.align-center {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%;
}
.stat-big { font-size: 4rem; font-weight: 900; color: var(--neo-primary); line-height: 1; }
.stat-text { font-weight: 700; text-transform: uppercase; color: var(--neo-black); }

.circle-graphic {
    position: absolute; right: -50px; bottom: -50px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}


/* ===== PRICING SPLIT ===== */
.neo-pricing {
    padding: var(--section-gap) 0;
}

.flex-split {
    display: flex;
    min-height: 700px;
}

.pricing-panel {
    flex: 1; padding: 100px 8%;
}

.panel-left {
    border-top-right-radius: var(--radius-huge);
    border-bottom-right-radius: var(--radius-huge);
    position: sticky; top: 0;
}

.sticky-content { position: sticky; top: 150px; }
.sticky-content p { font-size: 1.25rem; opacity: 0.9; margin-top: 24px; max-width: 400px; }
.accent-arrow { font-size: 4rem; margin-top: 40px; font-weight: 900; }

.panel-right {
    display: flex; flex-direction: column; gap: 40px; justify-content: center;
}

.price-block {
    background: var(--neo-white);
    border: 2px solid var(--neo-black);
    border-radius: var(--radius-huge);
    padding: 40px;
    transition: transform var(--trans-snappy), box-shadow var(--trans-snappy);
}
.price-block:hover {
    transform: translateX(-10px);
    box-shadow: 20px 20px 0px var(--neo-primary);
}

.price-header h4 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.price-amount { font-size: 1.1rem; font-weight: 700; color: var(--neo-gray); margin-bottom: 30px; }
.price-amount .highlight { font-size: 3rem; color: var(--neo-black); line-height: 1; }

.price-features { list-style: none; margin-bottom: 40px; }
.price-features li {
    font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--neo-border);
    padding: 16px 0; display: flex; align-items: center; gap: 12px;
}
.price-features li::before { content: '→'; font-weight: 800; color: var(--neo-primary); }

/* ===== TESTIMONIALS ===== */
.neo-testimonials {
    padding: var(--section-gap) 0;
    background: var(--neo-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testi-card {
    border-radius: var(--radius-huge);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--trans-snappy);
    position: relative;
}

.testi-card:hover {
    transform: translateY(-10px);
}

.quote-mark {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.5;
    margin-bottom: 20px;
    opacity: 0.2;
    font-family: serif;
}
.text-orange { color: var(--neo-primary); opacity: 1; }

.testi-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}
.avatar-orange { background: var(--neo-primary); color: var(--neo-white); }
.avatar-dark { background: var(--neo-black); color: var(--neo-white); }
.avatar-white { background: var(--neo-white); color: var(--neo-black); border: 2px solid var(--neo-border); }

.testi-author strong { display: block; font-size: 1.05rem; }
.testi-author .author-role { font-size: 0.85rem; opacity: 0.7; }

/* ===== MARQUEE ===== */
.neo-marquee {
    background: var(--neo-accent);
    padding: 30px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid var(--neo-black);
    border-bottom: 2px solid var(--neo-black);
    transform: rotate(-2deg) scale(1.05);
    margin: 100px 0;
}
.marquee-content {
    display: inline-block;
    animation: marqueeScroll 20s linear infinite;
    font-size: 2rem; font-weight: 900; color: var(--neo-black); letter-spacing: 2px;
}
.separator { margin: 0 40px; color: var(--neo-white); }


/* ===== FOOTER ===== */
.neo-footer {
    background: var(--neo-black);
    color: var(--neo-white);
    padding: 120px 0 40px;
    border-top-left-radius: var(--radius-huge);
    border-top-right-radius: var(--radius-huge);
}

.footer-top { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 80px; margin-bottom: 40px; }
.giant-link { font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; color: var(--neo-primary); display: block; margin-top: 20px; transition: color var(--trans-snappy); }
.giant-link:hover { color: var(--neo-light); }

.footer-bottom { align-items: center; min-height: auto; }
.copyright { font-size: 1rem; color: rgba(255,255,255,0.5); }
.social-links { display: flex; gap: 40px; }
.social-links a { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.social-links a:hover { color: var(--neo-primary); }


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-visual { height: 400px; margin-top: 40px; }
    
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .bento-large { grid-column: span 2; grid-row: span 1; }
    
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .flex-split { flex-direction: column; min-height: auto; }
    .pricing-panel { padding: 60px 5%; border-radius: var(--radius-huge); }
    .panel-left { position: relative; }
    .sticky-content { position: relative; top: 0; }
    .price-block:hover { transform: translateY(-5px); box-shadow: 10px 10px 0px var(--neo-primary); }
}

@media (max-width: 768px) {
    .nav-wrapper { position: relative; }
    .neo-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .neo-nav { display: none; position: absolute; top: 80px; left: 5%; right: 5%; flex-direction: column; background: var(--neo-white); border-radius: var(--radius-huge); box-shadow: 0 20px 40px rgba(0,0,0,0.1); padding: 20px; }
    .neo-nav.active { display: flex; }
    .hamburger { display: flex; margin-left: auto; }
    .nav-cta { display: none; }
    
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item { grid-column: span 1 !important; grid-row: span 1 !important; }
    
    .testimonial-grid { grid-template-columns: 1fr; }
    
    /* Footer mobile fix */
    .neo-footer {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        padding: 60px 0 40px;
    }
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        padding-bottom: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-bottom: 80px;
    }
}
