/* --- VARIABLES --- */
:root {
    --bg-body: #f3f4f6;
    --primary: #0b5ed7;
    --primary-dark: #0a4cb0;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    /* Footer Colors */
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --footer-heading: #f8fafc;
}

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

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

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-load {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* --- HEADER --- */
.site-header {
    background: var(--primary);
    color: var(--white);
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BRAND LOGO STYLING */
.brand-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 35px;
    width: auto;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

/* --- DESKTOP NAV --- */
.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    opacity: 1;
    font-weight: 600;
}

.btn-contact {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 24px;
    border-radius: 50px;
}

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

/* --- HAMBURGER (ANIMATED X) --- */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2000;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 4px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bar:nth-child(3) {
    bottom: 0;
}

.hamburger.active .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.hamburger.active .bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.hamburger.active .bar {
    background-color: var(--text-main);
}

/* --- MOBILE DRAWER --- */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    right: -300px;
    width: 280px;
    height: 90%;
    background: var(--white);
    z-index: 1001;
    padding: 80px 20px 40px;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.mobile-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 8px;
    transition: 0.2s;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-link i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.mobile-link:hover {
    background-color: #eff6ff;
    color: var(--primary);
    padding-left: 20px;
}

/* --- GENERAL SECTIONS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--primary) 0%, #2563eb 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px 120px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Buttons */
.btn-primary {
    background: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Grids & Cards */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

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

.app-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(11, 94, 215, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.app-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.app-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-card {
    border-top: 5px solid var(--primary);
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Form Styles */
input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* --- PREMIUM FOOTER --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 0;
    margin-top: 80px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--footer-heading);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: var(--footer-heading);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-desc {
    margin-bottom: 20px;
    max-width: 300px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.social-links a {
    color: var(--footer-text);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s;
}

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

.footer-bottom {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto 20px;
    }

    .social-links {
        margin-top: 10px;
    }
}