@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

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

:root {
    --primary: #00ffff;
    --secondary: #ff6600;
    --accent: #ffff00;
    --dark: #0a0a0f;
    --dark-lighter: #1a1a2e;
    --purple: #ff6600;
    --blue: #06ffa5;
    --pink: #ff6600;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
    background: rgba(26, 26, 46, 0.8);
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.lang-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.lang-btn.active {
    color: var(--dark);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    margin-bottom: 2rem;
}

.dots span {
    animation: blink 1.4s infinite;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 10px var(--primary);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0;
    animation: progress 2s ease-in-out forwards;
}

@keyframes progress {
    to { width: 100%; }
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container */
.container {
    position: relative;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #ff6600 0%, transparent 70%);
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

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

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    animation: glitch-1 0.3s infinite;
    color: var(--primary);
    z-index: -1;
}

.glitch:hover::after {
    animation: glitch-2 0.3s infinite;
    color: var(--secondary);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(2px, -2px); }
    66% { transform: translate(-2px, 2px); }
}

.subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    margin-bottom: 3rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    color: var(--primary);
    animation: float 2s ease-in-out infinite;
}

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

.arrow-down {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
}

.arrow-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translateX(-50%) rotate(45deg);
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 1rem auto;
    box-shadow: 0 0 10px var(--primary);
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(6, 255, 165, 0.1) 100%);
}

.section-text {
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.icon-svg {
    width: 80px;
    height: 80px;
}

.icon-shape {
    fill: var(--primary);
    stroke: none;
    transition: fill 0.3s ease;
}

.icon-detail {
    fill: var(--secondary);
    stroke: none;
    transition: fill 0.3s ease;
}

.icon-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke 0.3s ease;
}

.tech-item:hover .icon-shape {
    fill: var(--secondary);
}

.tech-item:hover .icon-detail {
    fill: var(--primary);
}

.tech-item:hover .icon-line {
    stroke: var(--secondary);
}

.project-card .icon-svg {
    width: 70px;
    height: 70px;
}

.tech-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.tech-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Expertise Section */
.expertise {
    background: radial-gradient(circle at top right, rgba(255, 102, 0, 0.1) 0%, transparent 50%);
}

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

.expertise-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary);
    transform: translateX(10px);
}

.expertise-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    min-width: 100px;
    width: 100px;
    flex-shrink: 0;
    text-shadow: 0 0 20px var(--secondary);
}

.expertise-item > div:last-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.expertise-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.expertise-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    height: 3rem;
    display: flex;
    align-items: center;
}

.expertise-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-top: auto;
}

/* Projects Section */
.projects {
    background: radial-gradient(circle at bottom left, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--secondary);
    box-shadow: 0 20px 60px rgba(255, 102, 0, 0.3);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.project-card:hover .icon-shape {
    fill: var(--secondary);
    transition: fill 0.3s ease;
}

.project-card:hover .icon-detail {
    fill: var(--blue);
    transition: fill 0.3s ease;
}

.project-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.project-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.project-tags span {
    padding: 0.3rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

/* Contact Section */
.contact {
    background: radial-gradient(circle at center, rgba(255, 102, 0, 0.2) 0%, transparent 70%);
}

.contact-text {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    font-family: 'Orbitron', sans-serif;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-btn:hover::before {
    width: 300px;
    height: 300px;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

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

.contact-btn.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .language-switcher {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem;
    }
    
    .lang-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-item {
        flex-direction: column;
    }
    
    .expertise-number {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
        text-align: center;
    }
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

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

.footer-links a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Contact Form Styles */
.consent-group {
    margin: 1.5rem 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.consent-label:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Honeypot field (hidden) */
.honeypot {
    display: none !important;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: rgba(6, 255, 165, 0.2);
    border: 1px solid var(--blue);
    color: var(--blue);
    box-shadow: 0 10px 30px rgba(6, 255, 165, 0.3);
}

.notification-error {
    background: rgba(255, 102, 0, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
}

/* Submit button disabled state */
.contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}
