/* The AIM Inc. — Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --teal: #60a5fa;
    --teal-dark: #2563eb;
    --gold: #f59e0b;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-700: #334155;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--blue-light); }

img { max-width: 100%; height: auto; }

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 44px;
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--gray-400);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: #2563eb;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.nav-cta:hover { background: #1d4ed8; color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

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

section:first-of-type {
    padding-top: 160px;
}

/* Section label */
.section-label {
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Headings */
h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--white) 0%, #60a5fa 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 20px;
    color: var(--gray-400);
    max-width: 650px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #1d4ed8;
    color: var(--white);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-700);
}

.btn-secondary:hover {
    border-color: var(--blue-light);
    color: var(--blue-light);
}

.btn-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.3s;
}

.card:hover {
    border-color: var(--teal);
}

.card h3 {
    color: var(--white);
}

.card p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

/* Principles row */
.principles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.principle {
    text-align: center;
    padding: 24px 16px;
}

.principle-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--teal);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.principle h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.principle p {
    color: var(--gray-400);
    font-size: 14px;
}

/* Badges / Tags */
.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.badge {
    background: var(--navy-light);
    border: 1px solid var(--gray-700);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--gray-300);
}

/* Quote block */
.quote-section {
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.quote {
    font-size: 32px;
    font-weight: 600;
    font-style: italic;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 16px;
    line-height: 1.4;
}

.quote-attr {
    color: var(--teal);
    font-size: 16px;
}

/* Split section */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--navy-light) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-radius: 20px;
    padding: 80px 40px;
    margin: 40px 0;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section .subtitle { margin: 0 auto 32px; }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2563eb;
    color: var(--white);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 20px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--gray-400); font-size: 15px; }

/* Features grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 28px;
}

.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--gray-400); font-size: 14px; }

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy);
    border: 1px solid var(--gray-700);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--navy-light);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 14px;
    margin-top: 12px;
    max-width: 280px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand .footer-logo img {
    height: 36px;
}

.footer-brand .footer-logo span {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h4 {
    color: var(--gray-300);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
    text-align: center;
    color: var(--gray-500);
    font-size: 13px;
}

/* Alternating section backgrounds */
.bg-dark { background: var(--navy); }
.bg-darker { background: #0a0f1a; }
.bg-card { background: var(--navy-light); }

.text-center { text-align: center; }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .subtitle { font-size: 17px; }
    .quote { font-size: 24px; }

    section { padding: 60px 0; }
    section:first-of-type { padding-top: 120px; }

    .card-grid { grid-template-columns: 1fr; }
    .principles { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split-reverse { direction: ltr; }
    .steps { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .badge-grid { justify-content: center; }

    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-700);
    }
    .nav-toggle { display: block; }
}

@media (max-width: 480px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    .btn-group { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .principles { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
