/* Global Reset and Variables */
:root {
    --primary-color: #0D47A1;
    --primary-dark: #0a3980;
    --text-main: #1c1c1e;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-secondary: #f5f5f7;
    --border-radius: 12px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* New Header Image Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 48px;
    width: auto;
    border-radius: 10px; /* Gives the square image smooth app-like edges */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(13, 71, 161, 0.05) 0%, transparent 50%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
}

.store-text strong {
    display: block;
    font-size: 16px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Updated Device Mockup for Splash Screen */
.app-mockup {
    width: 280px;
    height: 560px;
    border: 12px solid #1c1c1e;
    border-radius: 40px;
    background-color: #121212;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Keeps the splash image from spilling over the phone frame */
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* Roles Section */
.roles {
    background-color: var(--bg-secondary);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px auto;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.role-card {
    background-color: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.role-icon {
    font-size: 40px;
    margin-bottom: 24px;
}

.role-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.role-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Footer Styles */
footer {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 32px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .cta-buttons {
        justify-content: center;
    }
    .roles-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 32px;
    }
    .nav-btn {
        display: none; 
    }
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
