/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a56db;
    --primary-dark: #1342a8;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ===== Hero ===== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, #f0f4ff 0%, var(--bg) 100%);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 56px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.2s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Apps ===== */
.app-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.app-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.app-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.app-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.app-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== About ===== */
.about-content {
    max-width: 750px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.about-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.credentials {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.credential strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 12px;
}

.credential ul {
    list-style: none;
    padding: 0;
}

.credential li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.credential li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== Contact ===== */
.contact-info {
    text-align: center;
}

.contact-link {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-location {
    margin-top: 12px;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s;
    }

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

    .hero {
        padding: 130px 0 80px;
    }

    .credentials {
        grid-template-columns: 1fr;
    }

    .app-card {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
