:root {
    --color-bg: #06111f;
    --color-bg-secondary: #091a2f;
    --color-text: #ffffff;
    --color-text-secondary: #9fb3c8;
    --color-accent: #5cc8ff;
    --color-accent-secondary: #2f6dff;
    --gradient-primary: linear-gradient(135deg, #5cc8ff 0%, #2f6dff 100%);
    --gradient-text: linear-gradient(135deg, #d8f3ff, #5cc8ff, #2f6dff);
    
    --font-display: 'Bebas Neue', cursive;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 60px rgba(92, 200, 255, 0.14);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 12% 18%, rgba(92, 200, 255, 0.10), transparent 28rem),
        radial-gradient(circle at 88% 8%, rgba(47, 109, 255, 0.08), transparent 24rem),
        linear-gradient(135deg, rgba(255,255,255,0.025) 25%, transparent 25%) 0 0 / 28px 28px,
        var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

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

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    opacity: 0.5;
}

@media (max-width: 968px) {
    .cursor-dot, .cursor-outline {
        display: none;
    }
    
    body {
        cursor: default;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(6, 17, 31, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-item {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-item:hover::after {
    width: 100%;
}

.nav-download {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(92, 200, 255, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-accent);
}

.nav-download:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

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

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-secondary);
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: #1a4a7a;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-heading .line {
    display: block;
    opacity: 0;
    transform: translateY(100px);
    animation: slideUp 0.8s ease forwards;
}

.hero-heading .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-heading .line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-heading .line:nth-child(3) {
    animation-delay: 0.6s;
}

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

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

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

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
}

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

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-bg);
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(92, 200, 255, 0.4);
}

.btn-secondary {
    border: 2px solid var(--color-text);
    color: var(--color-text);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 6rem;
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

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

.stat-bar {
    width: 100%;
    height: 3px;
    background: rgba(92, 200, 255, 0.2);
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.stat-bar::after {
    content: '';
    display: block;
    width: 70%;
    height: 100%;
    background: var(--gradient-primary);
    animation: fillBar 2s ease forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}


/* Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 6rem;
}

.section-number {
    font-family: var(--font-display);
    font-size: 8rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(92, 200, 255, 0.3);
    line-height: 1;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    letter-spacing: -1px;
}

/* About Section */
.about-section {
    background: var(--color-bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.large-text {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 300;
}

.about-text p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.expertise-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition);
}

.expertise-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    background: rgba(92, 200, 255, 0.05);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.expertise-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
    background: var(--color-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.project-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.project-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.project-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(92, 200, 255, 0.05) 0%, rgba(47, 109, 255, 0.05) 100%);
}

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

.project-number {
    font-family: var(--font-display);
    font-size: 5rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(92, 200, 255, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.project-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(92, 200, 255, 0.1);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.project-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.project-desc {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

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

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
}

.impact-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    background: rgba(92, 200, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.impact-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-accent);
}

.impact-highlight span:last-child {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-tech span {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.project-tech span:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Experience Section */
.experience-section {
    background: var(--color-bg-secondary);
}

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

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

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5.45rem;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border: 4px solid var(--color-bg-secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(92, 200, 255, 0.5);
    z-index: 2;
}

.timeline-year {
    position: absolute;
    left: -11.25rem;
    top: -0.45rem;
    width: 5.5rem;
    text-align: right;
    font-family: var(--font-display);
    font-size: 3rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(92, 200, 255, 0.3);
    z-index: 1;
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-period {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.timeline-points {
    list-style: none;
    margin-bottom: 1.5rem;
}

.timeline-points li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.timeline-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.timeline-skills span {
    padding: 0.5rem 1rem;
    background: rgba(92, 200, 255, 0.1);
    border: 1px solid rgba(92, 200, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-accent);
}

/* Contact Section */
.contact-section {
    background: var(--color-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-header .section-title {
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    border-color: var(--color-accent);
    transform: translateX(10px);
    background: rgba(92, 200, 255, 0.05);
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
}

.contact-link svg {
    color: var(--color-accent);
}

/* Footer */
.footer {
    padding: 3rem 4rem;
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-left p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-right p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

/* Scroll Animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive */
@media (max-width: 968px) {
    .navbar {
        padding: 1.5rem 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .section-container {
        padding: 5rem 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 4rem;
    }
    
    .section-number {
        font-size: 4rem;
    }
    
    .hero {
        padding: 6rem 2rem 4rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-content,
    .contact-content,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured {
        grid-column: 1;
    }
    
    .timeline {
        padding-left: 4rem;
    }
    
    .timeline-year {
        left: -5rem;
        width: 3.5rem;
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}
