:root {
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --bg-dark: #0a0e14;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --accent-glow: rgba(0, 242, 254, 0.2);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(0, 242, 254, 0.05) 0%, transparent 40%);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
}

.hero-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 60%, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn.primary {
    background: var(--primary-color);
    color: #000;
}

.btn.primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-3px);
}

.btn.secondary {
    border: 1px solid var(--border-color);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.image-wrapper img {
    width: 100%;
    display: block;
    filter: grayscale(20%);
    transition: var(--transition);
}

.image-wrapper:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Expertise Grid */
.expertise {
    padding: 8rem 0;
}

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

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass:hover {
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.expertise-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.expertise-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Timeline */
.experience {
    padding: 8rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-date {
    width: 100px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 2rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.role {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dim);
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.main-exp .timeline-content {
    border-left: 4px solid var(--primary-color);
}

/* Portfolio */
.portfolio {
    padding: 8rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    overflow: hidden;
    padding: 0;
}

.portfolio-img {
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.case-results {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    display: block;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.glass-contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border-radius: 30px;
    padding: 4rem;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-links {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.contact-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.contact-links a:hover {
    color: var(--primary-color);
}

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

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

/* Media Queries */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .glass-contact {
        flex-direction: column;
        text-align: center;
    }
    .contact-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-date {
        width: 100%;
        text-align: left;
        padding-top: 0;
        margin-bottom: 1rem;
    }
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
}
