/* ===================================
   tanso.biz - Pop-Art Carbon Showroom
   Split-Screen Layout with Aurora Seam
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    background: #0A0A0A;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* --- Split Section Layout --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
}

.split-shifted {
    grid-template-columns: 1.5fr 1fr;
}

/* --- Panels --- */
.panel {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.panel-left {
    background: #0A0A0A;
    color: #FFFFFF;
}

.panel-right {
    background: #F0F0F0;
    color: #0A0A0A;
}

.panel-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 3rem;
    height: 100%;
    text-align: center;
}

/* --- Tilt-3D Interactions --- */
.panel[data-tilt="left"]:hover {
    transform: perspective(1000px) rotateY(2deg);
}

.panel[data-tilt="right"]:hover {
    transform: perspective(1000px) rotateY(-2deg);
}

/* --- Halftone Dot Overlay --- */
.halftone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(circle, #FFFFFF 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.04;
}

.halftone-light {
    background-image: radial-gradient(circle, #0A0A0A 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.06;
}

.halftone-fade {
    background-image: radial-gradient(circle, #FFFFFF 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.08;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

/* --- Aurora Seam --- */
.aurora-seam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #60FF80, #40C0FF, #C060FF, #60FF80);
    background-size: 100% 200%;
    opacity: 0.7;
    z-index: 10;
    filter: blur(2px);
    box-shadow:
        0 0 15px rgba(96, 255, 128, 0.3),
        0 0 30px rgba(64, 192, 255, 0.2),
        0 0 45px rgba(192, 96, 255, 0.15);
}

.split-shifted .aurora-seam {
    left: 60%;
}

.aurora-seam-pulse {
    animation: auroraPulse 4s ease-in-out infinite, auroraShift 8s linear infinite;
}

@keyframes auroraPulse {
    0%, 100% { opacity: 0.5; filter: blur(2px); }
    50% { opacity: 0.9; filter: blur(4px); }
}

@keyframes auroraShift {
    0% { background-position: 0 0; }
    100% { background-position: 0 200%; }
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-title-left {
    color: #FFFFFF;
    text-shadow: 3px 3px 0 #60FF80;
    -webkit-text-stroke: 2px #FFFFFF;
}

.hero-title-right {
    color: #0A0A0A;
    text-shadow: 3px 3px 0 #C060FF;
    -webkit-text-stroke: 2px #0A0A0A;
}

.hero-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #40C0FF;
}

.hero-subtitle-dark {
    color: #C060FF;
}

/* --- Section Headings --- */
.section-heading {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-heading-light {
    color: #FFFFFF;
    border-bottom: 4px solid #60FF80;
    padding-bottom: 0.3rem;
}

.section-heading-dark {
    color: #0A0A0A;
    border-bottom: 4px solid #C060FF;
    padding-bottom: 0.3rem;
}

/* --- Pop-Art Bar Chart --- */
.pop-art-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.2rem;
    height: 280px;
    width: 100%;
    max-width: 420px;
    padding: 1rem 0;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
}

.chart-label {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #F0F0F0;
    margin-top: 0.5rem;
    order: 2;
}

.chart-bar {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    border: 3px solid #FFFFFF;
    position: relative;
    order: 1;
}

.chart-bar-fill {
    width: 100%;
    transition: height 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bar-green {
    background: #60FF80;
    box-shadow: inset 0 0 10px rgba(96, 255, 128, 0.4);
}

.bar-cyan {
    background: #40C0FF;
    box-shadow: inset 0 0 10px rgba(64, 192, 255, 0.4);
}

.bar-violet {
    background: #C060FF;
    box-shadow: inset 0 0 10px rgba(192, 96, 255, 0.4);
}

.chart-caption {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    color: #40C0FF;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* --- Text Block & Pop-Art Card --- */
.text-block {
    max-width: 460px;
    text-align: left;
}

.body-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.body-text-light {
    color: #F0F0F0;
}

.body-text-dark {
    color: #0A0A0A;
}

.pop-art-card {
    border: 3px solid #0A0A0A;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
    background: #FFFFFF;
}

.pop-art-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    border: 3px solid #C060FF;
    z-index: -1;
}

.card-stat {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: 3rem;
    color: #0A0A0A;
    display: block;
    line-height: 1.1;
}

.card-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #C060FF;
    display: block;
    margin-top: 0.3rem;
}

/* --- Mixed Media Block --- */
.mixed-media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 500px;
    width: 100%;
}

.media-element {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-element-1 {
    grid-column: 1;
    grid-row: 1;
}

.media-text {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
}

.media-element-2 {
    grid-column: 2;
    grid-row: 1;
}

.pop-art-icon {
    width: 100px;
    height: 100px;
    border: 3px solid #FFFFFF;
    padding: 5px;
}

/* --- Feature List --- */
.feature-list {
    max-width: 400px;
    width: 100%;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 3px solid #0A0A0A;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-number {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: 2rem;
    color: #40C0FF;
    line-height: 1;
    flex-shrink: 0;
}

.feature-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0A0A0A;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Closing Section --- */
.closing-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.aurora-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        #0A0A0A 0%,
        #0A0A0A 20%,
        rgba(96, 255, 128, 0.15) 35%,
        rgba(64, 192, 255, 0.2) 50%,
        rgba(192, 96, 255, 0.15) 65%,
        #0A0A0A 80%,
        #0A0A0A 100%
    );
    background-size: 200% 200%;
    animation: auroraBackground 12s ease-in-out infinite;
    z-index: 0;
}

@keyframes auroraBackground {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.closing-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.closing-title {
    font-size: clamp(4rem, 12vw, 10rem);
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow:
        4px 4px 0 #60FF80,
        -2px -2px 0 #40C0FF;
}

.closing-dot {
    color: #40C0FF;
    text-shadow:
        4px 4px 0 #C060FF,
        -2px -2px 0 #60FF80;
}

.closing-tagline {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #F0F0F0;
    margin-bottom: 2rem;
}

.closing-border {
    width: 200px;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(90deg, #60FF80, #40C0FF, #C060FF);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .split-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .split-shifted {
        grid-template-columns: 1fr;
    }

    .aurora-seam {
        left: 50%;
        width: 100%;
        height: 4px;
        top: auto;
        bottom: 0;
        transform: translateX(-50%);
        position: relative;
    }

    .split-shifted .aurora-seam {
        left: 50%;
    }

    .panel-content {
        padding: 3rem 2rem;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }

    .pop-art-chart {
        height: 200px;
    }

    .mixed-media-block {
        grid-template-columns: 1fr;
    }

    .media-element-1,
    .media-element-2 {
        grid-column: 1;
    }

    .media-element-2 {
        grid-row: 3;
    }

    .media-text {
        grid-row: 2;
    }
}
