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

:root {
    --bg-dark: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --accent-primary: #3b82f6;
    --accent-secondary: #60a5fa;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.7);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--accent-primary);
    color: var(--text-primary) !important;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-tech-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.tech-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.tech-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background-color: rgba(59, 130, 246, 0.1);
}

/* Sections */
.features,
.stats-section {
    padding: 100px 24px;
}

.features {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta .btn-primary {
    background-color: var(--text-primary);
    color: var(--accent-primary);
}

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 48px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-left p {
    color: var(--text-secondary);
}

.footer-right p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-tech-stack {
        flex-direction: row;
        overflow-x: auto;
    }

    .tech-item {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 48px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Hero */
.page-hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* About Page */
.about-content {
    padding: 100px 24px;
}

.about-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.about-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.skills-section {
    margin-bottom: 80px;
}

.skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 48px;
    font-weight: 700;
}

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

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--accent-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #2563eb 100%);
    padding: 60px 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-box .btn-primary {
    background-color: var(--text-primary);
    color: var(--accent-primary);
}

.cta-box .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Services Page */
.services-section {
    padding: 100px 24px;
}

.service-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.service-icon-large {
    font-size: 3.5rem;
}

.service-header h3 {
    font-size: 2rem;
    color: var(--text-primary);
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.service-feature::before {
    content: "✓";
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.process-section {
    padding: 100px 24px;
    background-color: var(--bg-secondary);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-item::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 48px);
    background: var(--border-color);
}

.process-item:last-child::before {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.process-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Projects Page */
.projects-section {
    padding: 100px 24px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.project-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.project-header {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-badge {
    background: var(--text-primary);
    color: var(--accent-primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-body {
    padding: 32px;
}

.project-body h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.project-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

/* Contact Page */
.contact-section {
    padding: 100px 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info-section > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.contact-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin: 0;
}

.social-section h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.social-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    gap: 24px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.faq-section {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--accent-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-item::before {
        left: 30px;
        top: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-features {
        grid-template-columns: 1fr;
    }
}
