/* ========================================
   ElKanteen Design System – Coming Soon
   Split-Screen Layout
======================================== */

/* ---- Variables ---- */
:root {
    --primary: #ff7f00;
    --primary-hover: #e66f00;
    --primary-light: #ffb255;
    --primary-dark: #d96b00;
    --yellow-accent: #FFDC00;
    --bg-beige: #fff5e8;
    --bg-white: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4d4d4d;
    --text-tertiary: #999999;
    --font-heading: 'Nunito Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-card: 12px;
    --radius-pill: 30px;
    --shadow: 0px 2px 20px 0px rgba(0,0,0,0.1);
    --transition: all 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
}

a { text-decoration: none; color: inherit; }

/* ========================================
   Split Layout
======================================== */
.split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ---- LEFT PANEL (Orange) ---- */
.panel-left {
    width: 48%;
    background: var(--primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-shapes, .right-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.left-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 36px;
    gap: 20px;
    width: 100%;
    max-width: 540px;
}

.right-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 32px 40px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    height: 100%;
}

/* ---- RIGHT PANEL (Beige) ---- */
.panel-right {
    flex: 1;
    background: var(--bg-beige);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Decorative Shapes
======================================== */
.shape {
    position: absolute;
    opacity: 0.18;
}

.shape-star {
    font-size: 28px;
    animation: twinkle 4s ease-in-out infinite;
}

.shape-diamond {
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    border-radius: 3px;
    opacity: 0.15;
    animation: floatSlow 6s ease-in-out infinite;
}

.shape-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatSlow 8s ease-in-out infinite;
}

/* Left panel shapes – white/yellow on orange */
.left-shapes .shape-star  { color: rgba(255,255,255,0.45); }
.left-shapes .shape-diamond { background: rgba(255,255,255,0.2); }
.left-shapes .shape-circle  { background: rgba(255,255,255,0.1); }

.shape-l1 { top: 6%;  left: 8%;  font-size: 18px; animation-delay: 0s; }
.shape-l2 { top: 18%; right: 10%; font-size: 30px; animation-delay: 1s; }
.shape-l3 { top: 45%; left: 5%;  animation-delay: 0.5s; }
.shape-l4 { bottom: 20%; right: 8%; font-size: 14px; animation-delay: 2s; }
.shape-l5 { bottom: 8%; left: 12%; animation-delay: 1.5s; }

/* Right panel shapes – yellow on beige */
.right-shapes .shape-star   { color: var(--yellow-accent); }
.right-shapes .shape-diamond { background: var(--yellow-accent); }
.right-shapes .shape-circle  { background: var(--primary); }

.shape-r1 { top: 8%;  right: 6%; font-size: 20px; animation-delay: 0.3s; }
.shape-r2 { top: 30%; left: 4%;  animation-delay: 1s; }
.shape-r3 { bottom: 25%; right: 5%; font-size: 16px; animation-delay: 0.8s; }
.shape-r4 { bottom: 10%; left: 8%; animation-delay: 2s; }
.shape-r5 { top: 60%; right: 12%; font-size: 12px; animation-delay: 1.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.18; transform: scale(1) rotate(0deg); }
    50%      { opacity: 0.35; transform: scale(1.15) rotate(15deg); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50%      { transform: translateY(-12px) rotate(45deg); }
}

/* ========================================
   LEFT PANEL — Logo
======================================== */
.logo-img {
    height: 300px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15)) brightness(0) invert(1);
    animation: fadeUp 0.6s ease-out forwards;
}

/* ========================================
   LEFT PANEL — Status Badge (on orange)
======================================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    padding: 6px 16px;
    margin-top: -24px;
    animation: fadeUp 0.7s ease-out forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.status-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.5px;
}

/* ========================================
   LEFT PANEL — Hero (white text on orange)
======================================== */
.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    color: #fff;
    line-height: 1.2;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-title .highlight {
    color: var(--yellow-accent);
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    max-width: 420px;
    animation: fadeUp 0.9s ease-out forwards;
}

/* ========================================
   LEFT PANEL — Countdown (on orange)
======================================== */
.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    animation: zoomIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.countdown-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-card);
    padding: 14px 10px;
    min-width: 80px;
    text-align: center;
    transition: var(--transition);
}

.countdown-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
    transition: transform 0.15s ease-out;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.countdown-sep {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.1; }
}

/* ========================================
   LEFT PANEL — Progress Bar (on orange)
======================================== */
.progress-wrapper {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 16px;
    animation: fadeUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.progress-percent {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--yellow-accent), #fff);
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   RIGHT PANEL — Feature Cards
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    background: var(--bg-beige);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.feature-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.feature-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12.5px;
    color: var(--text-tertiary);
    line-height: 1.55;
}

/* ========================================
   RIGHT PANEL — Notify Card
======================================== */
.notify-card {
    background: var(--primary);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: fadeUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.notify-content {
    position: relative;
    z-index: 1;
}

.notify-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    margin-bottom: 6px;
}

.notify-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
    line-height: 1.5;
}

.notify-form { width: 100%; }

.input-group {
    display: flex;
    gap: 10px;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-tertiary);
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 11px 16px 11px 44px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.input-wrapper input::placeholder { color: var(--text-tertiary); }

.input-wrapper input:focus {
    border-color: var(--yellow-accent);
    box-shadow: 0 0 0 3px rgba(255,220,0,0.2);
}

.btn-primary {
    padding: 11px 22px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--bg-beige);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.btn-primary:active { transform: translateY(0); }

.notify-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn 0.5s ease-out;
}

.notify-success.show { display: flex; }

.notify-corner-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 0 var(--radius-card) 0 60%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px;
}

.corner-star {
    color: #fff;
    font-size: 18px;
    opacity: 0.7;
}

.corner-star.small {
    font-size: 11px;
    margin-top: 4px;
    margin-right: 5px;
    opacity: 0.5;
}

/* ========================================
   RIGHT PANEL — Bottom Row (Social + Footer)
======================================== */
.bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-link:hover {
    color: #fff;
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,127,0,0.25);
}

.footer-text {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ========================================
   Animations
======================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ========================================
   Responsive
======================================== */

/* Tablets & smaller desktops */
@media (max-width: 1100px) {
    .left-content { padding: 24px 24px; gap: 16px; }
    .right-content { padding: 24px 28px; gap: 20px; }
    .hero-title { font-size: 1.8rem; }
    .countdown-item { min-width: 65px; padding: 12px 8px; }
    .countdown-number { font-size: 1.8rem; }
    .countdown-sep { font-size: 1.4rem; }
    .logo-img { height: 110px; }
}

/* Tablets portrait */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
    .feature-card { padding: 16px 12px; }
    .feature-desc { font-size: 11.5px; }
    .notify-card { padding: 22px 18px; }
    .panel-left { width: 44%; }
}

/* Mobile – stack vertically */
@media (max-width: 768px) {
    body { height: auto; overflow: auto; }

    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .panel-left {
        width: 100%;
        min-height: 60vh;
    }

    .panel-right {
        width: 100%;
        overflow-y: visible;
    }

    .left-content {
        padding: 40px 24px;
        gap: 20px;
    }

    .right-content {
        padding: 32px 20px;
        gap: 24px;
        height: auto;
    }

    .logo-img { height: 120px; }
    .hero-title { font-size: 1.8rem; }
    .countdown-item { min-width: 70px; padding: 14px 10px; }
    .countdown-number { font-size: 2rem; }

    .features-grid { grid-template-columns: 1fr; gap: 12px; }

    .input-group { flex-direction: column; }
    .btn-primary { justify-content: center; width: 100%; }
    
    .bottom-row { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .left-content { padding: 32px 16px; gap: 16px; }
    .right-content { padding: 24px 16px; gap: 20px; }
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.82rem; }
    .countdown-item { min-width: 60px; padding: 10px 6px; }
    .countdown-number { font-size: 1.7rem; }
    .countdown-sep { font-size: 1.2rem; }
    .countdown-label { font-size: 0.6rem; letter-spacing: 1px; }
    .logo-img { height: 100px; }
}
