/* 
    RtStore Platform - Ultra Premium Dark Design System
    Theme: Midnight Plum & Neon Cyan (Semi-Dark)
    Colors: 
        - Primary: #00f2fe (Neon Cyan)
        - Background: #13111C (Deep Plum/Night)
        - Card: rgba(30, 27, 42, 0.6)
*/

:root {
    --bg-color: #13111C;
    --card-bg: rgba(30, 27, 42, 0.6);
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.15);
    --accent: #fe0979;
    --text-main: #ffffff;
    --text-muted: #a19fad;
    --glass-border: rgba(255, 255, 255, 0.06);
    --neon-border: rgba(0, 242, 254, 0.3);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(254, 9, 121, 0.08) 0%, transparent 40%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes float-left {
    0%, 100% { transform: perspective(1000px) rotateY(15deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(15deg) translateY(-15px); }
}
@keyframes float-right {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-15deg) translateY(-15px); }
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.3); opacity: 0.4; box-shadow: 0 0 100px var(--primary); }
    100% { transform: scale(1); opacity: 0.15; }
}
@keyframes slideDown {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Header & Navbar */
header {
    background: rgba(19, 17, 28, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease-out both;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    max-height: 38px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    gap: 60px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
    animation: fadeInUp 0.8s ease-out both;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Floating 3D Composition */
.hero-visuals {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulseGlow 5s infinite alternate;
    z-index: 0;
}

.hero-float-img {
    position: absolute;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    object-fit: cover;
    transition: scale 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    filter: brightness(0.8);
}

.img-main {
    width: 320px;
    height: 420px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.img-left {
    width: 240px;
    height: 320px;
    left: -20px;
    top: 50px;
    z-index: 2;
    opacity: 0.6;
    animation: float-left 7s ease-in-out infinite 1s;
}

.img-right {
    width: 240px;
    height: 320px;
    right: -20px;
    bottom: 50px;
    z-index: 2;
    opacity: 0.6;
    animation: float-right 5s ease-in-out infinite 0.5s;
}

.hero-float-img:hover {
    opacity: 1;
    z-index: 10;
    scale: 1.05;
    box-shadow: 0 0 30px var(--primary-glow);
    filter: brightness(1.1);
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-neon {
    background: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--neon-border);
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    transition: 0.4s;
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 0.8s ease-out both;
}

.product-grid .glass-card:nth-child(1) { animation-delay: 0.1s; }
.product-grid .glass-card:nth-child(2) { animation-delay: 0.2s; }
.product-grid .glass-card:nth-child(3) { animation-delay: 0.3s; }
.product-grid .glass-card:nth-child(4) { animation-delay: 0.4s; }
.product-grid .glass-card:nth-child(5) { animation-delay: 0.5s; }
.product-grid .glass-card:nth-child(6) { animation-delay: 0.6s; }

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(39, 35, 54, 0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Grid Layouts */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Icon Containers */
.product-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover .product-icon {
    transform: scale(1.15) rotate(5deg) translateY(-5px);
    background: var(--primary);
    color: #000;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Price Tag */
.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(254, 9, 121, 0.15);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    gap: 3px;
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* Footer & Payment Gateways */
footer {
    background: rgba(19, 17, 28, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-gateways {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-icon {
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    cursor: pointer;
}

.payment-icon:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    background: rgba(0, 242, 254, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-visuals { height: 400px; margin-top: 30px; transform: scale(0.9); }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-visuals { height: 350px; transform: scale(0.7); }
    .product-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .payment-gateways { justify-content: center; }
    .auth-card { flex-direction: column; max-width: 500px !important; }
    .auth-banner { display: none !important; }
    .auth-form-wrap { padding: 40px !important; }
}

body:not(.loaded) .auth-card,
body:not(.loaded) .auth-banner {
    opacity: 0;
    transform: translateX(0) translateY(25px) scale(0.98);
}

.auth-card,
.auth-banner {
    transition: opacity 0.45s ease, transform 0.45s ease;
}

body.page-enter-ltr .auth-card,
body.page-enter-ltr .auth-banner {
    transform: translateX(60px) translateY(25px) scale(0.98);
}

body.page-enter-rtl .auth-card,
body.page-enter-rtl .auth-banner {
    transform: translateX(-60px) translateY(25px) scale(0.98);
}

body.loaded .auth-card,
body.loaded .auth-banner {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

body.page-exit-ltr .auth-card,
body.page-exit-ltr .auth-banner {
    opacity: 0;
    transform: translateX(-60px) translateY(30px) scale(0.96);
}

body.page-exit-rtl .auth-card,
body.page-exit-rtl .auth-banner {
    opacity: 0;
    transform: translateX(60px) translateY(30px) scale(0.96);
}

.auth-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 20px;
    background: radial-gradient(circle at top left, rgba(0, 242, 254, 0.08), transparent 24%), radial-gradient(circle at bottom right, rgba(254, 9, 121, 0.06), transparent 26%), rgba(6, 5, 15, 0.9);
}

.auth-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.22));
    pointer-events: none;
}

.auth-switch {
    display: inline-flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px;
    margin-bottom: 24px;
}

.auth-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: 0.25s ease;
}

.auth-switch a.active {
    background: rgba(0, 242, 254, 0.14);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 242, 254, 0.16);
}

.auth-switch a:hover:not(.active) {
    color: #fff;
}

.banner-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.banner-status .status-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-status strong {
    display: block;
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 6px;
}

.banner-status span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.95rem;
}

.auth-card {
    max-width: 860px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(19, 17, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.auth-banner {
    position: relative;
    min-height: 100%;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, rgba(0, 242, 254, 0.12), transparent 28%), linear-gradient(180deg, rgba(10, 9, 22, 0.96), rgba(0, 0, 0, 0.4));
    overflow: hidden;
}

.auth-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: rgba(0, 242, 254, 0.16);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.auth-banner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    background: rgba(254, 9, 121, 0.14);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.banner-copy {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 360px;
}

.banner-copy .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.banner-copy h3 {
    font-size: 2.3rem;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.banner-copy p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.72;
    margin-bottom: 28px;
}

.banner-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.status-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-card strong {
    display: block;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.status-card span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}


.auth-form-wrap {
    padding: 44px 36px;
    background: rgba(9, 7, 17, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: left;
    margin-bottom: 28px;
}

.auth-header h2 {
    font-size: 2.15rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.social-login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.btn-social {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-social:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 242, 254, 0.5);
    background: rgba(0, 242, 254, 0.1);
}

.auth-divider {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    margin: 28px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-divider::before {
    left: 0;
    transform: translateY(-50%);
}

.auth-divider::after {
    right: 0;
    transform: translateY(-50%);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.checkbox-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-wrap input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.text-link {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.text-link:hover {
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 17px 18px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #00f2fe 0%, rgba(0, 242, 254, 0.85) 100%);
    color: #060b12;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 242, 254, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(0, 242, 254, 0.3);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.form-control option {
    color: #000;
    background: #fff;
}

.auth-footer {
    margin-top: 32px;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .auth-card {
        grid-template-columns: 1fr;
    }

    .auth-banner,
    .auth-form-wrap {
        padding: 40px 30px;
    }
}

@media (max-width: 700px) {
    .auth-section {
        min-height: auto;
        padding: 30px 15px;
    }

    .auth-banner {
        display: none;
    }

    .auth-form-wrap {
        padding: 32px 24px;
    }

    .auth-header {
        text-align: center;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .auth-footer {
        text-align: center;
    }
}

