/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: #0a0a0a;
    color: #f5f5f5;
}

/* === TYPOGRAPHY === */
.wordmark .letter {
    font-family: 'Dela Gothic One', cursive;
    font-weight: 400;
    font-size: clamp(4rem, 12vw, 14rem);
    letter-spacing: -0.03em;
    color: #f5f5f5;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.display-word {
    font-family: 'Dela Gothic One', cursive;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 10rem);
    letter-spacing: -0.03em;
    color: #f5f5f5;
    line-height: 1;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f5f5f5;
    margin-bottom: 2rem;
}

.left-body,
.tagline-left {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    color: #b0b0b0;
    margin-top: 1rem;
}

.card-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    color: #b0b0b0;
}

/* === SPLIT SCREEN === */
.split-screen {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}

.panel {
    width: 50%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.panel-left {
    background: #0a0a0a;
}

.panel-right {
    overflow-y: auto;
    background: #0a0a0a;
    scrollbar-width: none;
}

.panel-right::-webkit-scrollbar {
    display: none;
}

.panel-left-content {
    will-change: transform;
}

/* === CHROME DIVIDER === */
.chrome-divider {
    width: 2px;
    height: 100vh;
    background: #c0c0c0;
    position: relative;
    flex-shrink: 0;
    opacity: 0;
    clip-path: inset(50% 0);
}

.chrome-divider.visible {
    opacity: 1;
    clip-path: inset(0 0);
    transition: clip-path 0.4s ease-out, opacity 0.3s ease-out;
}

.chrome-divider.merged {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.chrome-gleam {
    position: absolute;
    left: -1px;
    width: 4px;
    height: 30px;
    background: #ffffff;
    border-radius: 2px;
    animation: chrome-pulse 6s ease-in-out infinite;
}

@keyframes chrome-pulse {
    0% { top: 0; }
    50% { top: calc(100% - 30px); }
    100% { top: 0; }
}

/* === LEFT SECTIONS === */
.left-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
}

.wordmark {
    line-height: 1;
    margin: 0;
}

/* === BLINK CURSOR === */
.blink-cursor {
    color: #ff2d8b;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* === ACCENT WORD === */
.accent-word {
    color: #ff2d8b;
}

/* === GEOMETRIC PRIMITIVES === */
.geometric-primitives {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.geo-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #c0c0c0;
    border-radius: 50%;
}

.geo-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff2d8b;
    border-radius: 50%;
}

.geo-rule {
    position: absolute;
    width: 40px;
    height: 1px;
    background: #2a2a2a;
}

/* === RIGHT SECTIONS === */
.right-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 3rem;
}

/* === RHINESTONE DOT PATTERN === */
.rhinestone-bg {
    background-image: radial-gradient(circle, #c0c0c0 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    position: relative;
}

.rhinestone-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.15;
}

.rhinestone-bg {
    background-color: #0a0a0a;
}

/* === CARD FLIP === */
.card {
    width: clamp(200px, 60%, 320px);
    aspect-ratio: 3 / 4;
    perspective: 1000px;
    cursor: pointer;
    margin-bottom: 2rem;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #2a2a2a;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.card:hover {
    box-shadow: 0 0 30px #ff2d8b22;
}

.card-back {
    transform: rotateY(180deg);
    border-left: 4px solid #ff2d8b;
    padding: 2rem;
}

.card-icon {
    width: 60%;
    height: 60%;
}

/* === CONVERGENCE === */
.left-convergence {
    align-items: center;
    text-align: center;
}

.convergence-text {
    font-family: 'Dela Gothic One', cursive;
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 7rem);
    letter-spacing: -0.03em;
    color: #f5f5f5;
    line-height: 1.1;
}

.right-convergence {
    align-items: center;
    text-align: center;
}

.convergence-sub {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: #b0b0b0;
    margin-bottom: 3rem;
}

.convergence-links {
    display: flex;
    gap: 3rem;
}

.footer-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c0c0c0;
    text-decoration: none;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff2d8b;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* #1a1a1a used for text on light backgrounds per design spec */
.light-bg .card-text {
    color: #1a1a1a;
}

/* === MERGED STATE === */
.panel-left.merging .panel-left-content {
    transition: transform 0.5s ease-out;
}

.panel-right.merging {
    transition: transform 0.5s ease-out;
}
