/* ========================================
   RSISTORE.IN — EXACT REFERENCE MATCH
   Clean, warm, scientific coming-soon page
   ======================================== */

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    background: linear-gradient(165deg, #f5f3ef 0%, #ece8e0 30%, #f0ede7 60%, #e8e4dc 100%);
    color: #2c3e44;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

a { color: inherit; text-decoration: none; }
button { border: none; outline: none; cursor: pointer; font-family: inherit; }
input { border: none; outline: none; font-family: inherit; }

/* --- Hexagonal Grid (patterns) --- */
.hex-grid {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69' viewBox='0 0 60 69'%3E%3Cpath d='M30 0L60 17.3v34.6L30 69 0 51.9V17.3z' fill='none' stroke='%23a0b0a8' stroke-width='1.5' opacity='0.8'/%3E%3C/svg%3E");
    background-size: 60px 69px;
}

.hex-left {
    width: 400px;
    height: 400px;
    bottom: -50px;
    left: -50px;
    mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 0%, transparent 60%);
}

.hex-right {
    width: 650px;
    height: 650px;
    bottom: -80px;
    right: -80px;
    mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 0%, transparent 80%);
}

.hex-top-right {
    width: 400px;
    height: 400px;
    top: -40px;
    right: -40px;
    mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 0%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 0%, transparent 65%);
}

/* --- Sparkle Decoration (bottom-right) --- */
.sparkle-deco {
    position: fixed;
    bottom: 32px;
    right: 40px;
    z-index: 5;
    opacity: 0;
    animation: sparkle-rotate 12s linear infinite;
}

@keyframes sparkle-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Page Wrapper --- */
.page-wrapper {
    position: relative;
    z-index: 10;
    height: 100vh;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 clamp(24px, 5vw, 64px);
    padding-bottom: 40px;
}

/* --- Header / Logo --- */
.header {
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a3248;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.contact-item:hover {
    opacity: 0.8;
}

.contact-divider {
    width: 2px;
    height: 18px;
    background: #e2e8f0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

/* --- Main Content --- */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
}

/* --- Left Content --- */
.content-left {
    flex: 0 0 auto;
    width: clamp(550px, 50%, 750px); /* wider to allow 2 lines of description */
    display: flex;
    flex-direction: column;
}

.stay-tuned-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 16px;
    background: rgba(62, 187, 120, 0.15);
    border: 1px solid rgba(62, 187, 120, 0.3);
    color: #1b6b5a;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    border-radius: 20px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
}

.coming-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em; /* Tight tracking for modern feel */
    color: #0b4d7c;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #0b4d7c, #3fa763);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: #3b4b53;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: clamp(10px, 2vh, 30px);
    opacity: 0;
    transform: translateY(20px);
}

.desc-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0b4d7c;
    line-height: 1.2;
    margin-bottom: 4px;
}

.desc-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3fa763;
    margin-bottom: 12px;
}

.desc-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b4d7c;
    margin-bottom: 6px;
}

.desc-vision {
    font-size: 0.95rem;
    font-style: italic;
    color: #e29d26;
    font-weight: 700;
    margin-bottom: 16px;
}

.desc-text {
    margin-bottom: 16px;
}

.about-card .desc-about-title {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b4d7c;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.desc-specialty-title {
    font-weight: 700;
    color: #0b4d7c;
    margin-bottom: 10px;
    margin-top: 16px;
}

.desc-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding-left: 0;
    margin-bottom: 10px;
}

.desc-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: #4a5a60;
}

.desc-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #3ebb78;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-card {
    width: 100%;
    margin: 0 0 10px 0;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 10px 40px rgba(26, 46, 53, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(30px);
    z-index: 20;
    position: relative;
}

.about-card .desc-about-title {
    margin-top: 0;
}

.desc-list-full {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px 24px;
    padding-left: 0;
    margin-bottom: 10px;
}

.desc-list-full li {
    position: relative;
    padding-left: 18px;
    font-size: 0.95rem;
    color: #4a5a60;
}

.desc-list-full li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: #a0c74d;
    font-weight: bold;
    font-size: 1.2rem;
}

.headline-inner {
    display: inline-block;
    transform: translateY(105%);
    opacity: 0;
}

.countdown {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #d4dbd7;
    border-radius: 12px;
    width: clamp(75px, 8vw, 100px);
    height: clamp(80px, 9vw, 110px);
    box-shadow: 0 10px 25px rgba(26, 46, 53, 0.05);
}

.time-box .number {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 800;
    color: #0b4d7c;
    line-height: 1;
}

.time-box .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a6a6e;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Email Form --- */
.form-wrap {
    max-width: 460px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
}

.email-form {
    display: flex;
    align-items: center;
    border: 1.5px solid #d4dbd7;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-form:focus-within {
    border-color: #1b6b5a;
    box-shadow: 0 0 0 3px rgba(27, 107, 90, 0.08);
}

.email-input {
    flex: 1;
    background: transparent;
    color: #1a2e35;
    font-size: 0.9rem;
    padding: 13px 16px;
    min-width: 0;
}

.email-input::placeholder {
    color: #a0a89e;
}

.btn-submit {
    padding: 12px 28px;
    margin: 4px;
    border-radius: 6px;
    background: #add96c;
    color: #1e3328;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-submit:hover {
    background: #c2d4af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-submit:active {
    transform: scale(0.97);
}

/* --- Success Message --- */
.success-msg {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 6px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    max-width: 380px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: #1b6b5a;
    font-weight: 500;
}

.footer-copy {
    color: #1b6b5a;
    font-weight: 600;
}

/* --- Powered By --- */
.powered-by {
    position: absolute;
    bottom: clamp(10px, 2vh, 20px);
    right: clamp(24px, 5vw, 64px);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #6a7a7e;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    z-index: 50;
    transition: color 0.3s ease;
}

.powered-by strong {
    color: #1a3248;
    font-weight: 700;
}

.powered-by:hover, .powered-by:hover strong {
    color: #3ebb78;
}

.success-msg.show {
    display: flex;
}

/* --- Coming Text --- */
.coming-text {
    font-size: 0.9rem;
    color: #7a8a8e;
    font-style: italic;
    opacity: 0;
    transform: translateY(15px);
}

/* --- Right Content (Hero Image) --- */
.content-right {
    flex: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    min-width: 0;
}

/* --- Creative Rotating Badge --- */
.circular-badge {
    position: absolute;
    top: 5%;
    right: 15%;
    width: 120px;
    height: 120px;
    z-index: 10;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-badge svg {
    animation: spin 15s linear infinite;
    transform-origin: center center;
    filter: drop-shadow(0 4px 10px rgba(27, 107, 90, 0.15));
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Realistic floor shadow */
.content-right::after {
    content: '';
    position: absolute;
    bottom: 5%; 
    left: 40%;
    width: 55%; 
    height: 40px;
    background: rgba(30, 35, 30, 0.3);
    border-radius: 50%;
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;
}

.hero-img {
    width: 135%; /* scales even larger */
    max-width: 1300px;
    height: auto;
    display: block;
    object-fit: contain;
    margin-left: -240px; /* pull significantly closer */
    margin-right: -100px; /* bleed further off edge */
}

/* --- Glow Sparkles --- */
.glow-sparkles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 20; /* Ensure they are above the image */
}
.sparkle {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
}
.s1 { width: 12px; height: 12px; top: 20%; left: 25%; background: #0ea5e9; box-shadow: 0 0 24px 8px rgba(14, 165, 233, 0.8); }
.s2 { width: 8px; height: 8px; top: 15%; right: 25%; background: #1b6b5a; box-shadow: 0 0 16px 6px rgba(27, 107, 90, 0.8); }
.s3 { width: 16px; height: 16px; bottom: 40%; left: 30%; background: #3ebb78; box-shadow: 0 0 30px 10px rgba(62, 187, 120, 0.8); }
.s4 { width: 10px; height: 10px; top: 45%; right: 20%; background: #0284c7; box-shadow: 0 0 20px 6px rgba(2, 132, 199, 0.8); }
.s5 { width: 14px; height: 14px; bottom: 30%; right: 35%; background: #0ea5e9; box-shadow: 0 0 26px 8px rgba(14, 165, 233, 0.8); }
.s6 { width: 6px; height: 6px; top: 60%; left: 20%; background: #3ebb78; box-shadow: 0 0 12px 4px rgba(62, 187, 120, 0.8); }

/* --- Footer --- */
.footer {
    position: absolute;
    bottom: clamp(10px, 2vh, 20px);
    left: clamp(24px, 5vw, 64px);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(10px);
    z-index: 50;
}

.footer-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a2e35;
}

.footer-dot {
    color: #a0a89e;
    font-size: 0.75rem;
}

.footer-tagline {
    font-size: 0.88rem;
    font-style: italic;
    color: #5a6a6e;
}

.footer-copy {
    font-size: 0.88rem;
    color: #8a9a9e;
}

/* ============================================
/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .page-wrapper {
        min-height: 100dvh;
        overflow-x: hidden;
        padding: 6vh 15px 10px 15px;
    }
    .hex-top-right {
        width: 250px;
        height: 250px;
    }
    .hex-bottom-left {
        width: 200px;
        height: 200px;
    }
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 10px;
        align-items: center;
    }
    .logo {
        justify-content: center;
        width: auto;
    }
    .logo-img {
        height: 70px;
        margin: 0 auto;
    }
    .contact-header {
        flex-direction: column;
        gap: 12px;
    }
    .contact-divider {
        display: none;
    }
    .main {
        flex: 0 0 auto;
        flex-direction: column;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .content-left {
        width: 100%;
        align-items: center;
        order: 1;
    }
    .stay-tuned-badge {
        align-self: center;
    }
    .coming-headline {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    .description {
        margin: 0 auto 30px auto;
    }
    .countdown-boxes {
        justify-content: center;
    }
    .content-right {
        display: none; /* Hide hero image, sparkles, and badge entirely on mobile */
    }
    .footer {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        justify-content: center;
        margin: 10px 0 0 0;
    }
    .powered-by {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        display: block;
        text-align: center;
        margin: 5px 0 0 0;
    }
}

@media (max-width: 500px) {
    .page-wrapper {
        padding: 6vh 10px 10px 10px;
    }
    .hex-top-right {
        width: 150px;
        height: 150px;
    }
    .hex-bottom-left {
        width: 120px;
        height: 120px;
    }
    .logo-img {
        height: 70px;
    }
    .header {
        gap: 10px;
        padding-top: 0;
    }
    .contact-header {
        font-size: 0.8rem;
        gap: 5px;
    }
    .contact-item svg {
        width: 14px;
        height: 14px;
    }
    .main {
        margin-top: 15px;
        margin-bottom: 10px;
        gap: 10px;
    }
    .stay-tuned-badge {
        margin-bottom: 10px;
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    .coming-headline {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    .description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    .countdown-boxes {
        gap: 6px; 
    }
    .countdown-box {
        width: 48px;
        height: 48px;
    }
    .time-box .number {
        font-size: 1.2rem;
    }
    .count-label {
        font-size: 0.55rem;
        margin-top: 4px;
    }
    .footer {
        margin: 10px 0 5px 0;
        gap: 8px;
    }
    .footer-brand, .footer-tagline, .footer-copy {
        font-size: 0.75rem;
    }
    .powered-by {
        font-size: 0.7rem;
    }
}
