/* ============================================
   CWMG — Consulting Wave Motor Group LLC
   Premium PE/VC Landing Page
   ============================================ */

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

:root {
    --navy: #0a1628;
    --navy-light: #111f3a;
    --navy-mid: #162848;
    --gold: #c9a44c;
    --gold-light: #e8cc7a;
    --gold-dim: rgba(201, 164, 76, 0.15);
    --white: #f4f4f6;
    --white-muted: #a0a8b8;
    --gray: #6b7280;
    --card-bg: rgba(17, 31, 58, 0.6);
    --card-border: rgba(201, 164, 76, 0.12);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
    transition: all var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 2rem;
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    padding: 0.35rem 0.65rem;
    border: 1.5px solid var(--gold);
    border-radius: 4px;
}

.logo-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--white-muted);
    transition: color var(--transition);
}

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

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 164, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(22, 40, 72, 0.8) 0%, transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(201, 164, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 164, 76, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(10, 22, 40, 0.9), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 2rem;
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--white-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 164, 76, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--white-muted);
    border: 1.5px solid rgba(160, 168, 184, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(201, 164, 76, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--navy-light);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 2.5rem 2rem;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--card-border);
}

/* --- Sections --- */
.section {
    padding: 6rem 2rem;
}

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

.section-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.section-desc {
    font-size: 0.95rem;
    color: var(--white-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.section-desc strong {
    color: var(--gold-light);
    font-weight: 600;
}

/* --- About Grid --- */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.82rem;
    color: var(--white-muted);
    line-height: 1.6;
}

/* --- Focus Areas --- */
.focus {
    background: var(--navy-light);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.focus-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.focus-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.focus-card:hover::before {
    opacity: 1;
}

.focus-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-dim);
    margin-bottom: 1rem;
}

.focus-card:hover .focus-number {
    color: var(--gold);
}

.focus-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.focus-card p {
    font-size: 0.85rem;
    color: var(--white-muted);
    line-height: 1.7;
}

/* --- Timeline / Approach --- */
.timeline {
    max-width: 700px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dim));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-marker {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    z-index: 2;
}

.timeline-content {
    padding-top: 0.35rem;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--white-muted);
    line-height: 1.7;
}

/* --- Contact --- */
.contact {
    background: var(--navy-light);
}

.contact-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.contact-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition);
}

.contact-item:hover {
    border-color: var(--gold);
}

.contact-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-value {
    font-size: 0.82rem;
    color: var(--white-muted);
    transition: color var(--transition);
}

.contact-value:hover {
    color: var(--gold-light);
}

.contact-note {
    font-size: 0.78rem;
    color: var(--gray);
    font-style: italic;
}

/* --- Footer --- */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--card-border);
}

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

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand p {
    font-size: 0.78rem;
    color: var(--white-muted);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--white-muted);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.72rem;
    color: var(--gray);
}

.footer-legal {
    max-width: 400px;
    text-align: right;
    font-style: italic;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .section-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .focus-grid { grid-template-columns: 1fr 1fr; }
    .stats-container { flex-wrap: wrap; gap: 1.5rem; }
    .stat-divider { display: none; }
    .stat-item { min-width: 45%; }
    .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .footer-legal { text-align: center; max-width: 100%; }
    .contact-item { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
    .focus-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .section { padding: 4rem 1.5rem; }
    .logo-text { display: none; }
}

/* --- Animations on Scroll --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
