/* ========================================
   Richard Holland - Personal Site
   Dark canvas with orange/purple/green accents
   ======================================== */

/* --- CSS Variables --- */
:root {
    --bg: #0a0a0a;
    --bg-alt: #0f0f0f;
    --surface: #141414;
    --surface-hover: #1a1a1a;
    --border: #222222;
    --border-light: #2a2a2a;

    --text: #f0f0f0;
    --text-secondary: #999999;
    --text-muted: #666666;

    --orange: #FF6B35;
    --orange-glow: rgba(255, 107, 53, 0.15);
    --purple: #9B5DE5;
    --purple-glow: rgba(155, 93, 229, 0.15);
    --green: #00F5A0;
    --green-glow: rgba(0, 245, 160, 0.15);

    --gradient-main: linear-gradient(135deg, #FF6B35, #9B5DE5, #00F5A0);
    --gradient-orange-purple: linear-gradient(135deg, #FF6B35, #9B5DE5);
    --gradient-purple-green: linear-gradient(135deg, #9B5DE5, #00F5A0);
    --gradient-green-orange: linear-gradient(135deg, #00F5A0, #FF6B35);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --nav-height: 72px;
    --section-padding: 120px;
    --max-width: 1200px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 9999;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Utility --- */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-dot {
    color: var(--green);
    -webkit-text-fill-color: var(--green);
}

/* --- Tags --- */
.tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tag-orange {
    background: var(--orange-glow);
    color: var(--orange);
    border: 1px solid rgba(255, 107, 53, 0.25);
}

.tag-purple {
    background: var(--purple-glow);
    color: var(--purple);
    border: 1px solid rgba(155, 93, 229, 0.25);
}

.tag-green {
    background: var(--green-glow);
    color: var(--green);
    border: 1px solid rgba(0, 245, 160, 0.25);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gradient-main);
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(155, 93, 229, 0.3);
}

.btn-primary:hover::before {
    opacity: 0.6;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--purple-glow);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s;
    letter-spacing: 0.01em;
}

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

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-light) !important;
    color: var(--text-secondary) !important;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-icon:hover {
    border-color: var(--purple) !important;
    color: var(--purple) !important;
    box-shadow: 0 0 16px var(--purple-glow);
}

.nav-cta {
    padding: 10px 24px !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 100px;
    color: var(--text) !important;
    transition: all 0.3s var(--ease-out) !important;
    font-family: var(--font-mono) !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.02em;
}

.nav-cta:hover {
    border-color: var(--green) !important;
    color: var(--green) !important;
    box-shadow: 0 0 20px var(--green-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease-out);
    border-radius: 2px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 40px 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(155, 93, 229, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0, 245, 160, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 107, 53, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Split hero layout */
.hero-split {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hero-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 0 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Photo */
.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.6s var(--ease-out);
}

.hero-photo-frame:hover img {
    filter: grayscale(40%) contrast(1.05) brightness(0.95);
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(10, 10, 10, 0.4) 70%,
        rgba(10, 10, 10, 0.8) 100%
    );
    pointer-events: none;
}

/* Accent glow behind photo */
.hero-photo-accent {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(155, 93, 229, 0.2), rgba(0, 245, 160, 0.15));
    filter: blur(60px);
    z-index: -1;
    animation: accentPulse 6s ease-in-out infinite alternate;
}

@keyframes accentPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

/* Placeholder state when no headshot */
.hero-photo-frame.placeholder {
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-frame.placeholder img {
    display: none;
}

.hero-photo-frame.placeholder::after {
    content: 'Your photo here';
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* --- Scrolling Ticker --- */
.ticker-wrap {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    margin-top: 48px;
}

.ticker {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
    width: max-content;
}

.ticker-item {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    transition: color 0.3s;
}

.ticker:hover .ticker-item {
    color: var(--text-secondary);
}

.ticker-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gradient-main);
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-scroll {
    text-align: center;
    padding: 16px 0 8px;
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--green);
    border-radius: 3px;
    animation: scrollBounce 2s infinite;
}

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

/* --- Sections --- */
.section {
    position: relative;
    padding: var(--section-padding) 40px;
}

.section-alt {
    background: var(--bg-alt);
}

/* Gradient divider between sections */
.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 93, 229, 0.3), rgba(0, 245, 160, 0.3), transparent);
}

.section-alt + .section::before,
.section + .section-alt::before {
    background: none;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 48px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- Aurora Background --- */
.aurora-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora-bg::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 60%;
    top: 20%;
    left: -25%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 245, 160, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(155, 93, 229, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
    filter: blur(60px);
    animation: auroraShift 12s ease-in-out infinite alternate;
}

.aurora-bg-bottom::before {
    top: auto;
    bottom: -20%;
}

@keyframes auroraShift {
    0% { transform: translateX(-5%) rotate(-2deg); }
    100% { transform: translateX(5%) rotate(2deg); }
}

/* --- About --- */
.about-grid {
    display: grid;
    gap: 48px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* --- Timeline / Career --- */
.timeline {
    position: relative;
    margin-top: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--green), var(--purple), var(--orange), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 64px;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 13px;
    top: calc(50% - 24px);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--green);
    z-index: 2;
    transition: all 0.3s;
}

.timeline-item:last-child .timeline-marker {
    top: 50%;
}

.timeline-item:nth-child(2) .timeline-marker { border-color: var(--purple); }
.timeline-item:nth-child(3) .timeline-marker { border-color: var(--orange); }
.timeline-item:nth-child(4) .timeline-marker { border-color: var(--green); }

.timeline-item:hover .timeline-marker {
    scale: 1.4;
    box-shadow: 0 0 20px var(--green-glow);
}

.timeline-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s var(--ease-out);
}

.timeline-card:hover {
    border-color: var(--border-light);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* --- Company Icons --- */
.timeline-company-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px;
}

.company-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Company logo image treatment */
.company-icon img {
    border-radius: 6px;
}

.company-icon--infillion:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px var(--green-glow);
    border-color: rgba(0, 245, 160, 0.3);
}

.company-icon--adswerve:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px var(--purple-glow);
    border-color: rgba(155, 93, 229, 0.3);
}

.company-icon--aol:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px var(--orange-glow);
    border-color: rgba(255, 107, 53, 0.3);
}

.company-icon--google:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px var(--green-glow);
    border-color: rgba(0, 245, 160, 0.3);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.timeline-company {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.timeline-role {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.timeline-date {
    flex-shrink: 0;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- MEDDPICC Showcase --- */
.meddpicc-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 16px;
}

.meddpicc-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.download-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.download-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-style: italic;
}

.download-meta {
    display: flex;
    gap: 24px;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Education --- */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 16px;
}

.edu-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s;
}

.edu-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

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

.edu-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.edu-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.edu-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edu-badge {
    flex-shrink: 0;
}

.edu-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.edu-degree {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.edu-card > p:last-child {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* --- Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 16px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-card:hover {
    border-color: var(--border-light);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.blog-card-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
}

.blog-card-tag {
    margin-top: 20px;
}

/* --- Radar --- */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.radar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

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

.radar-card-type {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.radar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.radar-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

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

.community-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.community-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.community-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.community-card:hover::after {
    opacity: 1;
}

.community-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.community-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.community-role {
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.community-card > p:last-child {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.pursuit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
}

.pursuit-item:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.pursuit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.pursuit-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pursuit-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- Contact --- */
#contact {
    text-align: center;
}

#contact .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.contact-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 40px 40px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-split {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-photo-frame {
        max-width: 360px;
    }

    .meddpicc-showcase {
        grid-template-columns: 1fr;
    }

    .download-card {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .nav-inner {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 24px 0;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 1;
    }

    .hero-photo {
        order: 0;
    }

    .hero-photo-frame {
        max-width: 280px;
        aspect-ratio: 1;
        border-radius: 20px;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-item {
        padding-left: 44px;
    }

    .timeline-marker {
        left: 5px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .edu-grid,
    .community-grid,
    .pursuits-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .radar-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-photo-frame {
        max-width: 220px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
