:root {
    --bg-color: #050510;
    --bg-secondary: #0a0a1f;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --accent-cyan: #00f3ff;
    --accent-pink: #ff2a2a;
    --accent-yellow: #f0e600;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.2));
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.6;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 120%);
    z-index: 99;
    pointer-events: none;
}

/* Header */
header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.highlight {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

/* Main Layout */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 10;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 1rem;
    /* Glitch Effect Base */
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-statement {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Connect Section */
.connect-section {
    width: 100%;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-pink);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px var(--accent-pink);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink);
    margin-top: 5px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Cyber Cards */
.cyber-card {
    position: relative;
    width: 150px;
    /* Smaller square for just logo */
    height: 150px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    /* Thicker border base */
    display: flex;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50%;
    /* Rounded corners for app-icon feel */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.cyber-card:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    z-index: 20;
}

.card-content {
    text-align: center;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.card-content i {
    font-size: 4rem;
    /* Large Icon */
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.card-content h3,
.card-content p {
    display: none;
    /* Hide text as requested */
}

/* LinkedIn Styling */
.linkedin {
    border-color: #0077b5;
    box-shadow: 0 0 10px #0077b5, inset 0 0 10px rgba(0, 119, 181, 0.3);
}

.linkedin i {
    color: #0077b5;
}

.linkedin:hover {
    box-shadow: 0 0 25px #0077b5, inset 0 0 20px rgba(0, 119, 181, 0.5);
}

.linkedin:hover i {
    color: #fff;
    text-shadow: 0 0 15px #0077b5;
}

/* Medium Styling */
.medium {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.medium i {
    color: #ffffff;
}

.medium:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.medium:hover i {
    color: #000;
    text-shadow: 0 0 15px #fff;
}

/* Card Borders (Neon Glow) - Removed as we're using box-shadow on main element now */
.card-border {
    display: none;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    z-index: 10;
}

/* Glitch Effect CSS */
.glitch {
    position: relative;
    color: white;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(32px, 9999px, 89px, 0);
    }

    20% {
        clip: rect(54px, 9999px, 12px, 0);
    }

    40% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    60% {
        clip: rect(80px, 9999px, 6px, 0);
    }

    80% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(98px, 9999px, 2px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 90px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 10px, 0);
    }

    40% {
        clip: rect(40px, 9999px, 60px, 0);
    }

    60% {
        clip: rect(2px, 9999px, 100px, 0);
    }

    80% {
        clip: rect(60px, 9999px, 80px, 0);
    }

    100% {
        clip: rect(35px, 9999px, 15px, 0);
    }
}

/* Hero Logo */
.hero-logo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px var(--accent-cyan));
    /* animation: float 6s ease-in-out infinite; */
    border: 2px solid var(--accent-cyan);
    margin-top: 4rem;
    display: inline-block;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Radar Scanner Animation (Logo Placeholder - Kept for fallback/styles) */
.scan-circle {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px var(--accent-cyan), inset 0 0 20px var(--accent-cyan);
    overflow: hidden;
    margin: 0 auto;
}

.scan-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: conic-gradient(transparent, var(--accent-cyan));
    transform-origin: top left;
    animation: radar-scan 4s linear infinite;
    opacity: 0.5;
}

.scan-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-radial-gradient(transparent 0,
            transparent 19px,
            rgba(0, 243, 255, 0.2) 20px);
    border-radius: 50%;
}

@keyframes radar-scan {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 5;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    overflow: hidden;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.contact-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--accent-cyan);
}

.contact-btn i {
    font-size: 1.5rem;
}

/* About Section */
.about-section {
    width: 100%;
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(180deg, transparent, rgba(0, 243, 255, 0.03), transparent);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-text strong {
    color: #fff;
    font-weight: 600;
}

.experience-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-cyan);
}

.current-role {
    margin-top: 0.5rem;
    color: var(--accent-cyan) !important;
}

.specialties-grid {
    flex: 1;
    min-width: 300px;
}

.subsection-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.tech-list li:hover {
    color: var(--accent-cyan);
}

.tech-list i {
    color: var(--accent-pink);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.philosophy {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.05), transparent 70%);
}

.philosophy h3 {
    font-family: var(--font-heading);
    color: var(--accent-pink);
    margin-bottom: 1rem;
}

.philosophy p {
    font-size: 1.3rem;
    font-style: italic;
    color: #fff;
}

.highlight-pink {
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--accent-pink);
}

.highlight-cyan {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

.lead-text {
    font-size: 1.5rem !important;
    font-weight: 300;
    line-height: 1.4;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    header {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}