/* ESOHBET Custom Styles - Clean & Optimized */

:root {
    --primary-dark: #1F1529;
    --primary-purple: #4A2566;
    --accent-purple: #743499;
    --light-purple: #9253B8;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-muted: #777777;
    --bg-light: #F8F8FC;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(74, 37, 102, 0.15);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 8px;
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-light);
    background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-primary {
    background: var(--primary-purple);
    color: var(--text-light);
}
.btn-primary:hover { background: var(--accent-purple); }
.btn-block { width: 100%; }
.btn-purple-dark {
    background: var(--primary-purple);
    color: var(--text-light);
    border-radius: 6px;
    padding: 8px 16px;
}
.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--text-light);
    background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* Logo Shared */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 2px solid var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-light);
}
.logo-text h1, .logo-text h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.logo-text span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* Header */
.site-header {
    background: var(--primary-dark);
    padding: 15px 0;
    position: relative;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-nav ul { display: flex; gap: 25px; }
.main-nav a {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: 0.3s;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a.active {
    position: relative;
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-light);
}
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0;
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1F1529 0%, #4A2566 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: url('https://images.unsplash.com/photo-1573164713988-8665fc963095?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
}
.hero-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 120px; 
    position: relative;
    z-index: 2;
    align-items: center;
    width: 100%;
}

/* Login Card */
.login-card {
    background: #ffffffb8;
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-md);
}
.login-header {
    text-align: center;
    margin-bottom: 25px;
}
.icon-bubble {
    color: var(--accent-purple);
    font-size: 32px;
    margin-bottom: 15px;
}
.login-header h2 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.login-header p {
    font-size: 13px;
    color: var(--text-muted);
}
.input-group {
    position: relative;
    margin-bottom: 15px;
}
.input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.input-group input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: 0.3s;
}
.input-group input:focus {
    outline: none;
    border-color: var(--accent-purple);
}
.login-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-item i {
    color: var(--accent-purple);
    font-size: 20px;
    margin-bottom: 8px;
}
.stat-item strong {
    font-size: 16px;
    color: var(--text-dark);
}
.stat-item span {
    font-size: 11px;
    color: var(--text-muted);
}
.login-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
}

/* Hero Content Right */
.hero-content .badge {
    display: inline-block;
    background: rgba(0,0,0,0.4);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
}
.hero-text {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 450px;
    margin-bottom: 30px;
}
.feature-list li {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.feature-list i { color: var(--text-light); font-size: 18px; }

/* App Promo Section */
.app-promo-section {
    margin-top: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}
.app-promo-inner {
    background: #2D1B36;
    border-radius: 16px;
    display: flex;
    padding: 40px;
    color: white;
    box-shadow: var(--shadow-md);
}
.promo-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
}
.promo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-icon i { font-size: 40px; color: var(--accent-purple); }
.mirc-icon { position: relative; }
.mirc-logo {
    font-weight: 800;
    font-size: 20px;
    color: #4A2566;
    letter-spacing: -1px;
}
.promo-text h3 { font-size: 18px; margin-bottom: 8px; }
.promo-text p { font-size: 13px; opacity: 0.8; margin-bottom: 15px; max-width: 250px; }
.divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 40px;
}
.store-buttons { display: flex; gap: 10px; }
.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.store-btn i { font-size: 24px; }
.store-btn small { font-size: 9px; font-weight: 400; opacity: 0.8; display: block; }
.mirc-btn { padding: 12px 25px; font-size: 14px; }

/* Info Section */
.info-section { padding: 80px 0; }
.info-inner {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}
.section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.icon-purple { font-size: 24px; color: var(--accent-purple); }
.section-header h2 { font-size: 22px; color: var(--text-dark); }
.section-header h2 span { font-weight: 400; }
.info-content p { font-size: 15px; color: var(--text-muted); margin-bottom: 15px; }
.info-content p strong { color: var(--text-dark); }

/* Topics Section */
.topics-section { padding: 0 0 80px; }
.section-header.space-between { justify-content: space-between; }
.header-left { display: flex; align-items: center; gap: 12px; }
.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.topic-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
.topic-card:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-sm);
}
.topic-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}
.mirc-text { font-size: 14px; font-weight: bold; font-style: italic; }
.topic-info { flex: 1; }
.topic-info h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 4px; }
.topic-info p { font-size: 13px; color: var(--text-muted); }
.topic-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.replies { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.time { font-size: 11px; color: #a0a0a0; }

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--text-light);
}
.footer-top {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
}
.brand-col p { font-size: 13px; opacity: 0.7; margin: 20px 0; max-width: 250px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.social-links a:hover { background: var(--accent-purple); }
.footer-col h3 { font-size: 15px; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; opacity: 0.7; transition: 0.3s; }
.footer-col ul a:hover { opacity: 1; color: var(--light-purple); }
.newsletter-col p { font-size: 13px; opacity: 0.7; margin-bottom: 15px; }
.newsletter-form input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: white;
    margin-bottom: 10px;
}
.newsletter-form .btn { width: 100%; }

.footer-bottom {
    background: #150E1C;
    padding: 20px 0;
}
.bottom-inner {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section { min-height: auto; padding: 60px 0; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .hero-text { margin: 0 auto 30px; }
    .feature-list { justify-content: center; display: flex; gap: 20px; }
    .app-promo-inner { flex-direction: column; }
    .divider { width: 100%; height: 1px; margin: 30px 0; }
    .info-inner { grid-template-columns: 1fr; }
    .topics-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    /* Professional Mobile Menu */
    .mobile-nav-toggle { display: block; }
    .header-action { display: none; }
    
    .main-nav {
        position: absolute;
        top: 100%; /* Sits directly under header */
        left: 0;
        width: 100%;
        background: #2D1B36; /* A clean dark purple for the dropdown */
        padding: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        
        /* Smooth transition setup */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 15px;
    }
    
    .main-nav ul li:last-child a {
        border-bottom: none;
    }
    
    .main-nav a.active::after {
        display: none; /* Removed the desktop bottom border for mobile */
    }
    
    .main-nav a.active {
        background: rgba(255,255,255,0.05);
        color: var(--light-purple);
    }

    .feature-list { flex-direction: column; }
    .promo-box { flex-direction: column; text-align: center; }
    .footer-top { grid-template-columns: 1fr; }
    .bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
}
