/* ===== VARIABLES ===== */
:root {
    --primary: #75a73c;
    --secondary: #8bd6ff;
    --accent: #ff6fbf;
    --dark-bg: #03050d;
    --surface: rgba(10, 18, 40, 0.75);
    --surface-soft: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --card-bg: rgba(15, 22, 40, 0.78);
    --glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f7f8fb;
    --text-secondary: #b8c4df;
    --glow: rgba(0, 217, 255, 0.22);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Sora', sans-serif;
    color-scheme: dark;
}

.about-profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(0, 217, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(0, 217, 255, 0.12), transparent 32%),
                radial-gradient(circle at bottom right, rgba(139, 214, 255, 0.08), transparent 28%),
                linear-gradient(135deg, #050712 0%, #090f1d 35%, #0d172b 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== BACKGROUND EFFECTS ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(139, 214, 255, 0.07) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite;
}

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

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 40px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(8, 12, 22, 0.72);
    border-bottom: 1px solid rgba(0, 217, 255, 0.18);
    box-shadow: 0 20px 90px rgba(0, 0, 0, 0.18);
    z-index: 100;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-decoration: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 18px;
    font-size: 14px;
    position: relative;
    transition: all 0.4s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.35s ease;
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    padding: 120px 24px 100px;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 217, 255, 0.08), transparent 34%),
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05), transparent 20%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: 'BB';
    position: absolute;
    left: clamp(16px, 4vw, 32px);
    bottom: clamp(16px, 4vw, 32px);
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.45em;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    text-transform: uppercase;
}

.hero-media,
.hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    z-index: 0;
    opacity: 0.42;
    filter: saturate(1.1);
}

.hero-backdrop {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 5, 13, 0.94) 0%, rgba(3, 5, 13, 0.58) 48%, rgba(3, 5, 13, 0.9) 100%),
        radial-gradient(circle at top left, rgba(0, 217, 255, 0.16), transparent 38%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 3;
    max-width: 860px;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-content p,
.hero-content .tagline {
    max-width: 780px;
    margin: 0 auto;
}

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

.ai-title {
    font-size: clamp(3.8rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 22px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.tagline {
    color: var(--primary);
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.btn {
    padding: 16px 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    font-family: 'Sora', sans-serif;
    font-size: 0.98rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 217, 255, 0.18);
    z-index: -1;
    transition: transform 0.35s ease;
}

.btn:hover {
    color: var(--dark-bg);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-secondary {
    border-color: rgba(139, 214, 255, 0.45);
    color: var(--secondary);
    background: rgba(139, 214, 255, 0.08);
}

/* Icon link styles: consistent sizing, hover, focus, accessible */
.icon-link,
.social-btn {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.22s ease, color 0.22s ease;
    cursor: pointer;
}

.icon-inline,
.social-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-btn {
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 8px;
}

.icon-link:hover .icon-inline,
.social-btn:hover .social-icon {
    transform: scale(1.08);
    color: var(--primary);
}

.icon-link:hover,
.social-btn:hover {
    transform: translateY(-3px) scale(1.02);
    color: var(--primary);
}

.icon-link:focus-visible,
.social-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.btn-secondary::before {
    background: rgba(139, 214, 255, 0.22);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(20px); }
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
}

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

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

/* ===== 3D SILICON ATOM HERO ===== */
.globe-container {
    position: absolute;
    right: clamp(1rem, 4vw, 3.5rem);
    top: 50%;
    transform: translateY(-50%);
    width: min(30vw, 360px);
    aspect-ratio: 1;
    z-index: 2;
    display: grid;
    place-items: center;
    pointer-events: auto;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(139, 214, 255, 0.12), rgba(3, 5, 13, 0.04) 60%, rgba(0, 0, 0, 0.18));
    box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.06), 0 0 80px rgba(117, 167, 60, 0.12);
}

.globe-container::before {
    content: '';
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    border: 1px solid rgba(139, 214, 255, 0.16);
    animation: pulseHalo 6s ease-in-out infinite;
}

.globe-container::after {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    animation: spinLines 18s linear infinite;
}

.globe-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.globe-container.is-fallback {
    background: radial-gradient(circle at 30% 30%, rgba(139, 214, 255, 0.18), rgba(3, 5, 13, 0.24) 60%, rgba(0, 0, 0, 0.38));
}

.globe-container.is-fallback canvas {
    display: none;
}

@keyframes pulseHalo {
    0%, 100% { transform: scale(0.96); opacity: 0.6; }
    50% { transform: scale(1.03); opacity: 1; }
}

@keyframes spinLines {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .hero {
        padding: 150px 24px 100px;
    }

    .globe-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: min(72vw, 280px);
        margin: 0 auto 28px;
    }

    .hero-content {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 0;
        padding: 140px 18px 90px;
    }

    .hero-content {
        max-width: 100%;
    }

    .cta-buttons {
        margin-top: 28px;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .globe-container {
        width: min(80vw, 240px);
    }

    .hero::after {
        left: 16px;
        bottom: 16px;
        letter-spacing: 0.3em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media,
    .globe-container::before,
    .globe-shell::before,
    .particle,
    .robot-silhouette {
        animation: none !important;
    }

    .hero-media {
        opacity: 0.24;
    }

    .globe-container {
        pointer-events: none;
    }
}

/* ===== CONTENT SECTIONS ===== */
section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(2.6rem, 4vw, 4.8rem);
    font-weight: 800;
    margin-bottom: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px;
    border-radius: 18px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    animation: cardFloat 4s ease-in-out infinite;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 24px 50px rgba(0, 0, 0, 0.15);
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Space Mono', monospace;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 1px;
}

.about-image {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.14), rgba(12, 25, 56, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 120px rgba(0, 0, 0, 0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 170%;
    height: 170%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.16) 0%, transparent 70%);
    animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

/* ===== VISION SECTION ===== */
.vision-container {
    background: rgba(12, 20, 42, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 68px 60px;
    text-align: center;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.vision-container::before {
    content: '';
    position: absolute;
    top: -120%;
    right: -120%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    animation: orbitFloat 10s linear infinite;
}

@keyframes orbitFloat {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes robotWork {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
    50% { transform: translateY(-8px) rotate(-3deg); opacity: 0.16; }
}

.vision-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.vision-highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.55rem;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.skill-card {
    position: relative;
    isolation: isolate;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px;
    border-radius: 24px;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 15px 40px rgba(0,0,0,0.14);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.18), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover {
    border-color: rgba(139, 214, 255, 0.44);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
    transform: translateY(-10px);
}

.skill-card:hover::before {
    left: 100%;
}

.robot-silhouette {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 82px;
    height: 82px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    animation: robotWork 8s ease-in-out infinite;
}

.robot-silhouette svg {
    width: 100%;
    height: 100%;
    stroke: rgba(139, 214, 255, 0.8);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transform-origin: center;
}

.skill-card > *,
.project-card > * {
    position: relative;
    z-index: 1;
}

.skill-icon {
    font-size: 44px;
    margin-bottom: 18px;
}

.skill-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.skill-items {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    position: relative;
    isolation: isolate;
    background: rgba(9, 14, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow);
}

.project-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.14), rgba(22, 32, 62, 0.94));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 45%);
}

.project-info {
    padding: 34px;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 22px;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 217, 255, 0.12);
    border: 1px solid rgba(0, 217, 255, 0.18);
    color: var(--primary);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 217, 255, 0.18);
    border-color: rgba(139, 214, 255, 0.35);
}

/* ===== EXPERIENCE SECTION ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

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

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow);
}

.timeline-year {
    font-family: 'Space Mono', monospace;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    background: rgba(15, 22, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 80px 68px;
    text-align: center;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -35%;
    width: 190%;
    height: 190%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.16) 0%, transparent 70%);
    animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.05); opacity: 0.75; }
}

.contact-title {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    margin-bottom: 24px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 42px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.contact-value {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--primary);
    word-break: normal;
    overflow-wrap: break-word;
}

.social-links {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.social-btn {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 22px;
    transition: all 0.35s ease;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: scale(1.1) translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--glow);
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    z-index: 2;
}

footer .footer-credit {
    margin-top: 10px;
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav a {
        margin: 10px 0;
        display: block;
    }

    .ai-title {
        font-size: 42px;
    }

    .subtitle {
        font-size: 18px;
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-grid,
    .vision-container {
        padding: 30px;
    }

    .globe-container {
        display: none;
    }

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

    .contact-container {
        padding: 40px 20px;
    }
}
