/* ========================================
   Base Styles & Variables
======================================== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #8b5cf6;
    --accent-secondary: #d946ef;
    --gradient: linear-gradient(135deg, #8b5cf6, #d946ef);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--accent);
    color: white;
}

/* ========================================
   Custom Cursor
======================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease-out;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-secondary);
    background: rgba(139, 92, 246, 0.1);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none; }
    html { cursor: auto; }
}

/* ========================================
   Sidebar Navigation
======================================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    z-index: 100;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.sidebar-link:hover, .sidebar-link.active {
    color: white;
}

.sidebar-link.active::before {
    height: 100%;
}

.link-number {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.5;
}

.link-text {
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 4px;
}

.sidebar-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .sidebar { display: none; }
}

/* ========================================
   Mobile Header & Menu
======================================== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 1.5rem;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99;
    padding-top: 100px;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    opacity: 1;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .mobile-header { display: flex; }
}

/* ========================================
   Main Content
======================================== */
.main-content {
    margin-left: 100px;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .main-content { margin-left: 0; padding-top: 70px; }
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(2) .title-word {
    animation-delay: 0.2s;
}

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

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

.hero-role {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.role-line {
    width: 40px;
    height: 1px;
    background: var(--text-secondary);
}

.role-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    display: inline;
}

.stat-plus {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(139, 92, 246, 0.1);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Hero Visuals - Profile */
.hero-visuals {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 500px;
}

.profile-frame {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.5s ease;

}

.profile-frame:hover .profile-image {
    filter: grayscale(0%);
}

.profile-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(20px);
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(21, 21, 21, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    font-size: 1.2rem;
}

.badge-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30%;
    left: -40px;
    animation-delay: -1.5s;
}

.badge-3 {
    bottom: 10%;
    right: 0;
    animation-delay: -3s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

@media (max-width: 1200px) {
    .hero-visuals { display: none; }
}

@media (max-width: 768px) {
    .hero-section { padding: 2rem 1.5rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .stat-number, .stat-plus { font-size: 2rem; }
}

/* ========================================
   Sections Common
======================================== */
.section {
    padding: 6rem 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.section-header {
    margin-bottom: 3rem;
}

.section-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-top: 0.5rem;
}

.section-desc {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .section { padding: 4rem 1.5rem; }
}

/* ========================================
   About Section
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    flex: 1;
}

.about-text {
    max-width: 550px;
}

.about-intro {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-body {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-body strong {
    color: var(--accent);
}

.about-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.about-location svg {
    color: var(--accent);
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 300px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.about-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exp-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.exp-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .about-achievements { order: 1; }
}

/* About Achievements Grid */
.about-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.achievement-card:nth-child(2) { animation-delay: -1s; }
.achievement-card:nth-child(3) { animation-delay: -2s; }
.achievement-card:nth-child(4) { animation-delay: -3s; }
.achievement-card:nth-child(5) { animation-delay: -4s; }
.achievement-card:nth-child(6) { animation-delay: -5s; }

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.achievement-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.achievement-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
}

.achievement-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.achievement-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .about-achievements { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .about-achievements { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .achievement-card { padding: 1rem 0.5rem; }
    .achievement-number { font-size: 1.5rem; }
}

/* ========================================
   Experience Section (Timeline)
======================================== */
.experience-section {
    min-height: auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

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

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-5px);
    box-shadow: 0 0 20px var(--accent);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

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

.timeline-company {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.timeline-role {
    color: var(--accent);
    font-weight: 500;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(139, 92, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-achievements {
    list-style: none;
    padding: 0;
}

.timeline-achievements li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.timeline-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.timeline-achievements li strong {
    color: white;
}

/* ========================================
   Stack Section
======================================== */
.stack-section {
    min-height: auto;
}

.stack-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stack-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stack-tab:hover {
    border-color: var(--accent);
    color: white;
}

.stack-tab.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stack-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.stack-icon-dev {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.stack-name {
    font-weight: 500;
    font-size: 0.85rem;
}

/* ========================================
   Projects Section
======================================== */
.projects-section {
    min-height: auto;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-card {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.project-card:hover::before {
    opacity: 0.03;
}

.project-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.project-info {
    position: relative;
    z-index: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-primary {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent);
}

.tag-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.project-subtitle {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-desc strong {
    color: white;
}

/* Project Highlights */
.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
}

.highlight-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    flex-shrink: 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--accent);
}

.project-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.project-link:hover svg {
    transform: translate(4px, -4px);
}

.project-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.project-image-wrapper {
    width: 240px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.project-card:hover .project-image-wrapper {
    transform: translateY(-10px) rotate(2deg);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .project-card { grid-template-columns: 1fr; gap: 1.5rem; }
    .project-number { position: absolute; top: 1rem; right: 1.5rem; font-size: 2.5rem; }
    .project-visual { order: -1; }
    .project-image-wrapper { width: 180px; height: 360px; }
}

@media (max-width: 768px) {
    .project-card { padding: 1.5rem; }
    .project-image-wrapper { width: 150px; height: 300px; }
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    min-height: auto;
}

.contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 900px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.contact-icon-svg {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
}

.contact-icon-svg svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
}

/* For filled icons like LinkedIn and GitHub */
.contact-icon-svg svg[fill="currentColor"] {
    fill: var(--accent);
    stroke: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.contact-value {
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ========================================
   Footer
======================================== */
.footer {
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer { padding: 2rem 1.5rem; }
    .footer-content { justify-content: center; text-align: center; }
}

/* ========================================
   Magnetic Effect & Reveal
======================================== */
.magnetic {
    transition: transform 0.3s ease;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}
