:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary: #f72585;
    --accent: #4cc9f0;
    --text-main: #2b2d42;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e9ecef;
    --success: #10b981;
    --warning: #f59e0b;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-warning {
    background-color: var(--warning);
    color: #fff;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

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

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

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
}

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

.top-bar a {
    color: white;
    opacity: 0.9;
    margin: 0 5px;
}

.top-bar a:hover {
    opacity: 1;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 5px;
}

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

.new-badge::after {
    content: 'NEW';
    background: var(--secondary);
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: var(--text-main);
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.c1 {
    width: 300px;
    height: 300px;
    background: rgba(67, 97, 238, 0.2);
    top: 10%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.c2 {
    width: 200px;
    height: 200px;
    background: rgba(247, 37, 133, 0.2);
    bottom: 10%;
    right: 20%;
    animation: float 8s ease-in-out infinite reverse;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    top: 30%;
    left: 10%;
    z-index: 10;
    animation: float 5s ease-in-out infinite;
}

.floating-card.card-2 {
    top: 60%;
    left: auto;
    right: 10%;
    color: var(--secondary);
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* VIP Banner */
.vip-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    position: relative;
    overflow: hidden;
}

.vip-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.vip-text {
    flex: 1;
}

.vip-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: -webkit-linear-gradient(45deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vip-text p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.vip-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 60px;
}

.step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--warning);
    border: 2px solid var(--warning);
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.step p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Articles */
.articles {
    padding: 80px 0;
    background: var(--bg-light);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.article-img {
    height: 200px;
    width: 100%;
}

.bg-grad-1 { background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); }
.bg-grad-2 { background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); }
.bg-grad-3 { background: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%); }

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding-top: 60px;
}

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

.footer-logo .logo-text {
    color: white;
}

.footer-desc {
    margin: 20px 0;
    opacity: 0.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #94a3b8;
    transition: all 0.3s;
}

.footer-col ul a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    background: #020617;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.text-danger { color: #ef4444; }

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .vip-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 15px;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        display: none;
        padding-left: 20px;
        background: var(--bg-light);
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Auth Section */
.auth-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.auth-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

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

.auth-header p {
    color: var(--text-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 15px;
    color: var(--text-light);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.btn-generate {
    position: absolute;
    right: 5px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.2s;
}

.btn-generate:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.auth-info {
    max-width: 400px;
}

.auth-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.auth-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.auth-info ul li i {
    color: var(--success);
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }
    .auth-info {
        display: none;
    }
}
