/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: #6d28d9;
    color: #fff;
    border-color: #6d28d9;
}
.btn-primary:hover { background: #5b21b6; border-color: #5b21b6; }
.btn-outline {
    background: transparent;
    color: #6d28d9;
    border-color: #6d28d9;
}
.btn-outline:hover { background: #6d28d9; color: #fff; }
.btn-text {
    background: transparent;
    color: #1a1a2e;
    border: none;
    padding: 10px 16px;
}
.btn-text:hover { color: #6d28d9; }
.btn-white {
    background: #fff;
    color: #6d28d9;
    border-color: #fff;
}
.btn-white:hover { background: #f3f4f6; }
.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    height: 64px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: #6d28d9;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}
.logo-icon-white { background: rgba(255,255,255,0.2); }
.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a2e;
}
.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}
.logo-img-footer {
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
}
.nav {
    display: flex;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: #6d28d9; background: #f5f3ff; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    background: #faf9fc;
    padding: 80px 0;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: #f5f3ff;
    color: #6d28d9;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #1a1a2e;
}
.hero-title em {
    color: #6d28d9;
    font-style: italic;
}
.hero-subtitle {
    font-size: 17px;
    color: #6b7280;
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.stat {
    text-align: center;
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #6d28d9;
}
.stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}
.hero-image img {
    border-radius: 16px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(109,40,217,0.15);
}

/* Features */
.features {
    padding: 100px 0;
    background: #fff;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a2e;
}
.section-header p {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: #e9d5ff;
    box-shadow: 0 8px 30px rgba(109,40,217,0.08);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: #f5f3ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6d28d9;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}
.feature-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* Business */
.business {
    padding: 100px 0;
    background: #faf9fc;
}
.business-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.business-image img {
    border-radius: 16px;
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.business-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a2e;
}
.business-content h2 strong { color: #6d28d9; }
.business-list {
    margin-bottom: 32px;
}
.business-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.business-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.business-list li strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a2e;
}
.business-list li p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Community */
.community {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
    text-align: center;
}
.community-inner h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.community-inner p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.community-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer {
    background: #111827;
    padding: 60px 0 30px;
    color: #9ca3af;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: #9ca3af;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 24px;
    font-size: 13px;
    text-align: center;
}

/* Login Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.modal-close:hover { background: #f3f4f6; color: #1a1a2e; }
.modal-header {
    text-align: center;
    margin-bottom: 32px;
}
.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 4px;
    color: #1a1a2e;
}
.modal-header p {
    color: #6b7280;
    font-size: 14px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus {
    border-color: #6d28d9;
    box-shadow: 0 0 0 3px rgba(109,40,217,0.1);
}
.password-field {
    position: relative;
}
.password-field input { padding-right: 44px; }
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
}
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #6d28d9;
}
.forgot-link { color: #6d28d9; font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }
.form-error {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}
.form-error.active { display: block; }
.modal-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
}
.modal-footer a {
    color: #6d28d9;
    font-weight: 600;
}
.modal-footer a:hover { text-decoration: underline; }

/* Loading spinner */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}
.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { order: -1; }
    .hero-title { font-size: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .business-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .header-actions .btn-text { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 60px 0; }
    .hero-title { font-size: 32px; }
    .hero-stats { gap: 16px; }
    .stat { padding: 12px 16px; }
    .stat-number { font-size: 22px; }
    .features, .business, .community { padding: 60px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .section-header h2, .business-content h2 { font-size: 28px; }
    .community-inner h2 { font-size: 30px; }
    .community-buttons { flex-direction: column; align-items: center; }
    .hero-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .modal { margin: 16px; padding: 24px; }
}
@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 12px; }
    .hero-title { font-size: 28px; }
}
