/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #0b1a2e;
    line-height: 1.6;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header/Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b1a2e;
    letter-spacing: -0.5px;
}
.logo i {
    color: #2563eb;
    margin-right: 6px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #1e293b;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0b1a2e;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}
.btn-primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.btn-outline {
    background: transparent;
    color: #0b1a2e;
    border-color: #cbd5e1;
}
.btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.04);
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag {
    display: inline-block;
    background: #e0edff;
    color: #2563eb;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.6rem;
}
.section-header p {
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero (home) */
.hero {
    padding: 2rem 0 4rem;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-content .badge {
    background: #e0edff;
    color: #2563eb;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1rem 0 0.8rem;
}
.hero-content h1 .highlight {
    color: #2563eb;
}
.hero-content p {
    color: #475569;
    max-width: 500px;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.hero-stats div {
    font-size: 0.95rem;
    color: #475569;
}
.hero-stats span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b1a2e;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
}
.hero-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb15, #7c3aed15);
    position: absolute;
    z-index: 0;
}
.floating-card {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    z-index: 1;
}
.floating-card i {
    font-size: 1.3rem;
    color: #2563eb;
}
.card-1 { top: 10%; left: 5%; }
.card-2 { top: 60%; right: 5%; }
.card-3 { bottom: 10%; left: 30%; }

/* About page */
.about-page,
.services-page,
.contact-page,
.policy-page {
    padding: 4rem 0;
}

.about-company {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.about-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.about-text p {
    color: #475569;
    margin-bottom: 1.2rem;
}
.about-list {
    list-style: none;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
    color: #1e293b;
}
.about-list li i {
    color: #2563eb;
}
.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.developers h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}
.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.dev-card {
    background: white;
    padding: 1.8rem 1rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: 0.25s;
}
.dev-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.dev-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.8rem;
}
.dev-card h4 {
    font-size: 1.1rem;
}
.dev-card span {
    color: #2563eb;
    font-weight: 500;
    font-size: 0.9rem;
}
.dev-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.4rem 0 0.6rem;
}
.dev-social a {
    color: #94a3b8;
    margin: 0 0.3rem;
    font-size: 1.1rem;
    transition: 0.2s;
}
.dev-social a:hover {
    color: #2563eb;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: 0.25s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.service-icon {
    font-size: 2.2rem;
    color: #2563eb;
    margin-bottom: 0.8rem;
}
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.service-card p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.service-card ul {
    list-style: none;
    padding: 0;
}
.service-card ul li {
    font-size: 0.9rem;
    color: #64748b;
    padding: 0.2rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.service-card ul li:last-child {
    border-bottom: none;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 2rem;
    margin-top: 0.2rem;
}
.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.1rem;
}
.contact-item p {
    color: #475569;
}
.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0b1a2e;
    transition: 0.2s;
    font-size: 1.1rem;
}
.contact-social a:hover {
    background: #2563eb;
    color: white;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #2563eb20;
}
.form-feedback {
    margin-top: 1rem;
    font-weight: 500;
    color: #2563eb;
}

/* Policy */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.policy-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: 0.2s;
}
.policy-card:hover {
    transform: translateY(-4px);
}
.policy-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.8rem;
}
.policy-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}
.policy-card p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.policy-card ul {
    list-style: none;
    padding: 0;
}
.policy-card ul li {
    font-size: 0.9rem;
    color: #64748b;
    padding: 0.2rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.policy-card ul li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: #0b1a2e;
    color: #e2e8f0;
    padding-top: 3rem;
    margin-top: 2rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1e293b;
}
.footer-brand .logo {
    color: white;
}
.footer-brand p {
    margin: 0.6rem 0 1rem;
    opacity: 0.8;
}
.footer-social a {
    display: inline-block;
    background: #1e293b;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 0.4rem;
    transition: 0.2s;
}
.footer-social a:hover {
    background: #2563eb;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.footer-links h4 {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
}
.footer-links a {
    display: block;
    opacity: 0.7;
    margin-bottom: 0.4rem;
    transition: 0.2s;
}
.footer-links a:hover {
    opacity: 1;
    color: #2563eb;
}
.footer-bottom {
    padding: 1.2rem 0;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2563eb;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: 0.25s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container,
    .about-company,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        min-height: 200px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 650px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1.5rem;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        gap: 1.2rem;
    }
    .nav-links.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .dev-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .dev-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== AUTH (Login) ===== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem 0;
}
.auth-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.auth-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-header i {
    font-size: 2.8rem;
    color: #2563eb;
    background: #e0edff;
    padding: 0.8rem;
    border-radius: 50%;
    margin-bottom: 0.6rem;
}
.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}
.auth-header p {
    color: #64748b;
}
.auth-form .btn-block {
    width: 100%;
    justify-content: center;
}
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
}
.auth-footer strong {
    color: #0b1a2e;
}
#loginFeedback {
    text-align: center;
    margin-top: 0.8rem;
}

/* ===== DASHBOARD ===== */
.dashboard-page {
    padding: 3rem 0;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.dashboard-header h2 {
    font-size: 2rem;
    font-weight: 700;
}
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.stat-card {
    background: white;
    padding: 1.5rem 1.2rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    text-align: center;
}
.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b1a2e;
}
.stat-label {
    color: #64748b;
    font-size: 0.9rem;
}
.dashboard-activity {
    background: white;
    padding: 1.8rem 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.dashboard-activity h3 {
    margin-bottom: 1rem;
}
.dashboard-activity ul {
    list-style: none;
    padding: 0;
}
.dashboard-activity ul li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}
.dashboard-activity ul li:last-child {
    border-bottom: none;
}