/* ==========================================================================
   APPLE-INSPIRED MODERN DESIGN SYSTEM
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-main: #000000;              /* True Apple Pure Black */
    --card-bg: rgba(255, 255, 255, 0.04); /* Subtle Frosted Glass Slate */
    --card-hover: rgba(255, 255, 255, 0.08);
    --accent: #2997ff;             /* Apple Interactive Blue */
    --accent-gradient: linear-gradient(135deg, #2997ff 0%, #9e00ff 100%);
    --text-primary: #f5f5f7;       /* Off-white Apple Primary Text */
    --text-muted: #86868b;         /* Neutral Apple Secondary Text */
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-nav: rgba(0, 0, 0, 0.72);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.47059;
    letter-spacing: -0.022em;
}

/* ==========================================================================
   FROSTED GLASS NAVIGATION BAR
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background-color: var(--glass-nav);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 52px;
    z-index: 99999;
}

.logo, .logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 2px;
}

.nav-logo {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: -0.01em;
    transition: color 0.2s cubic-bezier(0, 0, 0.2, 1);
}

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

.cta-btn {
    background: #0071e3;
    color: #ffffff;
    text-decoration: none;
    padding: 4px 12px;
    font-weight: 400;
    font-size: 12px;
    border-radius: 980px;
    border: none;
    transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

.cta-btn:hover {
    background: #0077ed;
    transform: scale(1.02);
}

/* ==========================================================================
   LANDING HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px 20px;
    background: radial-gradient(circle at 50% 30%, rgba(41, 151, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-content {
    max-width: 800px;
}

.subtitle {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.003em;
    line-height: 1.0625;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-tagline {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px auto;
}

.hero-btn {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-main);
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 980px;
    transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

.hero-btn:hover {
    background: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   INTERIOR PAGES & BENTO GRID LAYOUT
   ========================================================================== */
.page-content {
    padding-top: 140px; 
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-container {
    max-width: 700px;
    width: 100%;
    padding: 0 24px;
    text-align: center;
}

.large-container {
    max-width: 1080px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.003em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-container p {
    font-size: 19px;
    line-height: 1.4211;
    color: var(--text-muted);
}

/* Apple Bento Grid Cards */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.grid-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.grid-card:hover {
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.grid-card h2 {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.grid-card p {
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-muted);
}

.metric-number {
    font-size: 44px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* Contact Form Elements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    text-align: left;
}

.contact-form input, .contact-form textarea {
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-primary);
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent);
}

.form-btn {
    background: #0071e3;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-btn:hover {
    background: #0077ed;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .navbar { padding: 0 16px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 11px; }
    .main-title { font-size: 40px; }
    .page-title { font-size: 32px; }
    .grid-layout { grid-template-columns: 1fr; }
}