:root {
    --bg-dark: #0f1016;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #6366f1; /* Indigo */
    --secondary: #ec4899; /* Pink */
    --accent: #06b6d4; /* Cyan */
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html, body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

p, div, span, a, h1, h2, h3, h4, h5, h6, td, th {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Background Animated Blobs */
.bg-shape {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236,72,153,0.3) 0%, rgba(0,0,0,0) 70%);
    bottom: 20%;
    right: -200px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.3) 0%, rgba(0,0,0,0) 70%);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(15deg); }
}

a {
    text-decoration: none;
    color: inherit;
}

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

.wrapper {
    position: relative;
    z-index: 1;
}

/* Header */
.glass-header {
    margin-top: 30px;
}

.header-content {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
    font-size: 28px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-area {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
}

.hero-text-area h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-text-area p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Glass Main Panel */
.main-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: var(--glass-shadow);
    display: flex;
    width: 100%;
    overflow: hidden;
}

.panel-left {
    flex: 1;
    padding: 50px;
    border-right: 1px solid var(--glass-border);
}

.panel-right {
    flex: 1;
    padding: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.04) 100%);
}

.login-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.input-box {
    position: relative;
    margin-bottom: 20px;
}

.input-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.input-box input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.btn-glow {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(236, 72, 153, 0.4);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
}

.login-footer span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-btn {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Features Right Panel */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
    justify-content: center;
}

.feat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.feat-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feat-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* News Section */
.news-section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
}

.section-title span {
    color: var(--secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 30px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-purple { background: rgba(236, 72, 153, 0.2); color: #f472b6; }
.badge-green { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.card-body h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.read-btn {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-btn:hover {
    color: white;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
}
.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
}
.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 300px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-question i {
    transition: transform 0.3s ease;
}

/* Footer */
footer {
    padding-bottom: 30px;
}

.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .main-panel {
        flex-direction: column;
    }
    
    .panel-left {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .glass-footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-text-area h1 {
        font-size: 40px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}
