/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme */
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --secondary: #8338ec;
    --accent: #ff006e;
    --success: #06d6a0;
    --warning: #ffd166;
    
    --bg-primary: #0a0b0f;
    --bg-secondary: #12131a;
    --bg-card: #1a1b26;
    --bg-glass: rgba(26, 27, 38, 0.7);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a8c3;
    --text-muted: #6c7289;
    
    --border: #2a2b3a;
    --border-light: #3a3b4a;
    
    --gradient-primary: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    --gradient-secondary: linear-gradient(135deg, #ff006e 0%, #ffbe0b 100%);
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
    --glow: 0 0 20px rgba(58, 134, 255, 0.3);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 8px;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7ff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    
    --text-primary: #1a1b26;
    --text-secondary: #4a4b66;
    --text-muted: #8a8ba3;
    
    --border: #e2e8f0;
    --border-light: #edf2f7;
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.blockchain-loader {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.blockchain-loader .block {
    width: 20px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: blockLoad 1.5s infinite ease-in-out;
}

.blockchain-loader .block:nth-child(2) { animation-delay: 0.1s; }
.blockchain-loader .block:nth-child(3) { animation-delay: 0.2s; }
.blockchain-loader .block:nth-child(4) { animation-delay: 0.3s; }
.blockchain-loader .block:nth-child(5) { animation-delay: 0.4s; }

@keyframes blockLoad {
    0%, 40%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    20% { transform: scaleY(1); opacity: 1; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Social Media in Navigation */
.social-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-social {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.nav-social:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-social:nth-child(1):hover {
    background: #1877f2;
    border-color: #1877f2;
}

.nav-social:nth-child(2):hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.nav-social:nth-child(3):hover {
    background: #ea4335;
    border-color: #ea4335;
}

.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(30deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.badge-icon {
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.subtitle {
    display: block;
    font-size: 2rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.typewriter {
    color: var(--primary);
    border-right: 3px solid var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Social Icons in Hero Section */
.social-hero {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.social-hero-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-decoration: none;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-hero-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: 1;
}

.social-hero-link:hover::before {
    left: 0;
}

.social-hero-link i {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.social-hero-link:hover i {
    color: white;
    transform: rotate(360deg) scale(1.2);
}

/* Facebook specific */
.social-hero-link[title*="Facebook"]:hover {
    border-color: #1877f2;
}

.social-hero-link[title*="Facebook"]::before {
    background: linear-gradient(135deg, #1877f2 0%, #0d5ab9 100%);
}

/* Instagram specific */
.social-hero-link[title*="Instagram"]:hover {
    border-color: #e4405f;
}

.social-hero-link[title*="Instagram"]::before {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

/* Twitter specific */
.social-hero-link[title*="Twitter"]:hover {
    border-color: #1da1f2;
}

.social-hero-link[title*="Twitter"]::before {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

/* Telegram specific */
.social-hero-link[title*="Telegram"]:hover {
    border-color: #0088cc;
}

.social-hero-link[title*="Telegram"]::before {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

/* Email specific */
.social-hero-link[title*="Email"]:hover {
    border-color: #ea4335;
}

.social-hero-link[title*="Email"]::before {
    background: linear-gradient(135deg, #ea4335 0%, #c23321 100%);
}

/* Hero Image */
.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.profile-frame {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    margin: 0 auto;
    box-shadow: var(--shadow-lg), var(--glow);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chain-link {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: chainRotate 20s linear infinite;
}

.chain-link:nth-child(1) { top: -20px; left: 50%; transform: translateX(-50%); }
.chain-link:nth-child(2) { top: 50%; right: -20px; transform: translateY(-50%); }
.chain-link:nth-child(3) { bottom: -20px; left: 50%; transform: translateX(-50%); }

@keyframes chainRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.floating-element.eth {
    color: #627eea;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.btc {
    color: #f7931a;
    top: 70%;
    right: 10%;
    animation-delay: 1s;
}

.floating-element.sol {
    color: #00ffa3;
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary);
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.principle {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.principle:hover {
    background: var(--bg-card);
    transform: translateY(-3px);
}

.principle i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.principle h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.principle p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.timeline-date {
    position: absolute;
    left: -120px;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-content {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.skill-category {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--primary);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.skill-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tool {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.tool:hover {
    background: var(--bg-card);
    transform: translateX(5px);
}

.tool i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Blockchain Visualization */
.blockchain-visual {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.blocks-chain {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.block {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    position: relative;
    border: 2px solid var(--border);
    transition: var(--transition);
    animation: blockPulse 3s infinite;
}

.block::before {
    content: attr(data-content);
    color: var(--primary);
}

.block::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    width: 15px;
    height: 2px;
    background: var(--primary);
}

.block:last-child::after {
    display: none;
}

@keyframes blockPulse {
    0%, 100% { transform: translateY(0); box-shadow: var(--shadow-sm); }
    50% { transform: translateY(-10px); box-shadow: var(--shadow-md); }
}

.visual-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== JOURNEY SECTION ===== */
.journey-container {
    position: relative;
    padding: 40px 0;
}

.journey-path {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.journey-path::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1;
}

.path-node {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 180px;
}

.node-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--border);
    transition: var(--transition);
    font-size: 1.5rem;
    color: var(--primary);
}

.path-node.active .node-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-md), var(--glow);
}

.node-content {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.path-node.active .node-content {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.node-content h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.node-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.project-badge {
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.project-tech span {
    background: var(--bg-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    gap: 12px;
    color: var(--secondary);
}

.github-stats {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border);
}

.stat-card {
    text-align: center;
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.stat-card h4 {
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contribution-graph {
    display: grid;
    grid-template-columns: repeat(52, 1fr);
    gap: 3px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contribution-day {
    width: 12px;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.contribution-day:hover {
    transform: scale(1.3);
    background: var(--primary);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    grid-column: span 1;
}

.info-card:nth-child(3) {
    grid-column: span 2;
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Email Container Styles */
.email-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
}

.email-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    padding: 5px;
    outline: none;
    width: 100%;
}

.copy-email-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.copy-email-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.copy-success {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.copy-success.active {
    transform: translateX(0);
    opacity: 1;
}

.copy-success i {
    font-size: 1.2rem;
}

/* Social Links in Contact Section */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    grid-column: span 2;
    justify-content: center;
}

.social-link {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.3rem;
    text-decoration: none;
    border: 2px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: scale(0);
    transition: var(--transition);
    border-radius: 50%;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link i {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.social-link:hover i {
    transform: scale(1.2) rotate(10deg);
    color: white;
}

.social-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    z-index: 100;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Individual platform colors */
.social-link:nth-child(1):hover { border-color: #1877f2; }
.social-link:nth-child(1)::before { background: #1877f2; }

.social-link:nth-child(2):hover { border-color: #e4405f; }
.social-link:nth-child(2)::before { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }

.social-link:nth-child(3):hover { border-color: #1da1f2; }
.social-link:nth-child(3)::before { background: #1da1f2; }

.social-link:nth-child(4):hover { border-color: #0088cc; }
.social-link:nth-child(4)::before { background: #0088cc; }

.social-link:nth-child(5):hover { border-color: #ea4335; }
.social-link:nth-child(5)::before { background: #ea4335; }

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c7289' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-group h4 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.1rem;
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Social Links in Footer */
.social-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.footer-social-link:hover {
    color: white;
    transform: translateX(10px);
    border-color: var(--primary);
    background: var(--gradient-primary);
}

.footer-social-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.footer-social-link span {
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.crypto-address {
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.8rem;
    color: var(--primary);
}

/* ===== QUICK CONTACT FLOATING BUTTON ===== */
.quick-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-float {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg), var(--glow);
    transition: var(--transition);
    position: relative;
    border: none;
}

.contact-float:hover {
    transform: scale(1.1) rotate(15deg);
}

.contact-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.contact-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-popup h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-popup-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-popup-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-popup-link:hover {
    background: var(--bg-secondary);
    border-color: var(--border);
    color: var(--primary);
    transform: translateX(5px);
}

.contact-popup-link i {
    width: 20px;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .skills-grid,
    .projects-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .profile-frame {
        width: 350px;
        height: 350px;
    }
    
    .principles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .journey-path {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .journey-path::before {
        display: none;
    }
    
    .path-node {
        width: 45%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-card);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .social-hero {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .social-hero-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .profile-frame {
        width: 300px;
        height: 300px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .info-card:nth-child(3) {
        grid-column: span 1;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-popup {
        right: -50px;
        min-width: 220px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .profile-frame {
        width: 250px;
        height: 250px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .path-node {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .principles {
        grid-template-columns: 1fr;
    }
}