
/* ===========================
   GLOBAL STYLES
   =========================== */

:root {
    --primary: #0066cc;
    --accent: #00d4ff;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

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

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.navbar-brand h1 {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

.navbar-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 8px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: #005cb8;
    transform: translateY(-2px);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: #005cb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

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

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

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-text {
    background: none;
    color: var(--primary);
    padding: 0;
    text-decoration: underline;
}

.btn-google {
    background: #f5f5f5;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-google:hover {
    background: #e9ecef;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #005cb8 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ===========================
   FEATURES SECTION
   =========================== */

.features {
    padding: 80px 20px;
    background: white;
}

.features h2, .pricing h2, .testimonials h2, .cta h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ===========================
   PRICING SECTION
   =========================== */

.pricing {
    padding: 80px 20px;
    background: #f8f9fa;
}

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

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 36px;
    color: var(--primary);
    font-weight: 700;
    margin: 20px 0;
}

.pricing-card .plan-desc {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    color: #333;
    border-bottom: 1px solid var(--border);
}

.features-list li:last-child {
    border-bottom: none;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    padding: 80px 20px;
    background: white;
}

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

.testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.testimonial p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial .author {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #005cb8 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ===========================
   FOOTER
   =========================== */

footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
}

/* ===========================
   DASHBOARD STYLES
   =========================== */

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 60px);
}

.sidebar {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid var(--border);
    padding: 20px;
    overflow-y: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-info p {
    margin: 0;
    font-size: 13px;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.user-email {
    color: var(--gray);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.menu-item:hover {
    background: white;
}

.menu-item.active {
    background: var(--primary);
    color: white;
}

.dashboard-main {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    margin: 0;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    gap: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 32px;
    min-width: 50px;
}

.stat-label {
    color: var(--gray);
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin: 5px 0 0;
}

.quick-actions h3 {
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    padding: 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

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

/* ===========================
   FORMS
   =========================== */

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ===========================
   AUTH PAGE
   =========================== */

.auth-page {
    background: linear-gradient(135deg, var(--primary) 0%, #005cb8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    align-items: center;
    width: 90%;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.auth-header h1 {
    color: var(--primary);
    margin-bottom: 10px;
}

.auth-form {
    display: none;
}

.auth-form.active-form {
    display: block;
}

.form-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 25px;
    font-size: 14px;
}

.form-divider {
    text-align: center;
    color: var(--gray);
    margin: 25px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.form-divider::after {
    content: 'or';
    position: relative;
    background: white;
    padding: 0 10px;
}

.form-agreement {
    display: flex;
    gap: 8px;
    font-size: 13px;
    margin: 15px 0 25px;
}

.form-agreement input {
    margin-top: 2px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

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

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: white;
}

.benefit-item {
    display: flex;
    gap: 15px;
}

.benefit-icon {
    font-size: 32px;
    min-width: 50px;
}

.benefit-item p {
    margin: 0;
}

.benefit-item strong {
    display: block;
    margin-bottom: 5px;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .navbar-menu {
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-benefits {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
