/* ============================================
   MX Development - Modern Layout Stylesheet
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #e4e4e4;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.fixed-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    background: linear-gradient(to bottom, #0a0a0f 0%, #0d1117 50%, #0a0a0f 100%);
}

#stars-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 102, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 204, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.grid-pattern {
    display: none;
}

.glow-orb {
    display: none;
}

.fade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.2) 0%, transparent 20%, transparent 80%, rgba(10, 10, 15, 0.3) 100%);
    pointer-events: none;
}

/* Header */
header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 2rem);
    max-width: 1000px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    max-width: 920px;
    padding: 10px 22px;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 150, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.08);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

/* Nav Center */
.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 9999px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Language Button - Icon only */
.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 9999px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #00ccff;
    background: rgba(0, 204, 255, 0.1);
}

.lang-btn svg {
    width: 18px;
    height: 18px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.lang-option.active {
    background: rgba(0, 204, 255, 0.1);
    color: #00ccff;
}

.lang-option .flag {
    font-size: 20px;
}

/* Circular flag icons */
.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-option.active .flag-icon {
    box-shadow: 0 0 0 2px rgba(0, 204, 255, 0.5);
}

/* CTA Button */
.cta-nav {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.3);
}

.cta-nav:hover {
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.5);
    transform: translateY(-1px);
}

/* Hero Section - Split Layout */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    animation: fadeInLeft 1s ease;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: #00ccff;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.sparkle {
    width: 14px;
    height: 14px;
}

.hero-left h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
}

/* Code Window */
.hero-right {
    animation: fadeInRight 1s ease;
}

.code-window {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.window-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.window-title {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
}

.code-content {
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-comment { color: #6b7280; }
.code-keyword { color: #0066ff; }
.code-string { color: #00ccff; }
.code-function { color: #667eea; }

/* Section Styles */
section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 50px;
    color: #00ccff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: #9ca3af;
    font-size: 1.125rem;
}

/* About Section - Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.about-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 204, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    color: #00ccff;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.about-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Skills Bento Grid */
/* Skills Grid - Uniform 3x2 */

/* Portfolio Section */
#portfolio {
    padding: 80px 20px;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.server-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.server-item img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: contain;
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    transition: all 0.3s ease;
}

.server-item:hover img {
    transform: translateY(-5px);
    border-color: rgba(0, 150, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.15);
}

.server-name {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

@media (max-width: 768px) {
    .server-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .server-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-card {
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 150, 255, 0.3);
    background: rgba(0, 102, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.15);
}

.skill-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.skill-icon svg {
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon svg {
    transform: scale(1.1);
}

.skill-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 600;
}

.skill-card p {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Services Grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card-new {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.service-card-new:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.2);
}

.service-icon-new {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 204, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon-new svg {
    color: #00ccff;
}

.service-card-new h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.service-card-new p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card-new {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card-new:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.2);
}

.pricing-card-new.popular {
    border: 2px solid #0066ff;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 0, 0, 0.4));
}

.popular-badge-new {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0066ff, #00ccff);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #00ccff;
    margin-bottom: 16px;
}

.pricing-card-new h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.price-tag {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.5rem;
    color: #00ccff;
    font-weight: 600;
    margin-top: 8px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0066ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.price-desc {
    color: #9ca3af;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #e4e4e4;
}

.features-list li svg {
    color: #00ccff;
    flex-shrink: 0;
}

.features-list li.disabled {
    color: #6b7280;
}

.features-list li.disabled svg {
    color: #6b7280;
}

.features-list li.highlight {
    color: #00ccff;
    font-weight: 600;
}

.pricing-actions {
    display: flex;
    gap: 12px;
}

.btn-pricing, .btn-pricing-popular {
    flex: 1;
    padding: 14px 24px;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-pricing {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.btn-pricing:hover {
    background: rgba(0, 102, 255, 0.2);
}

.btn-pricing-popular {
    background: linear-gradient(135deg, #0066ff, #00ccff);
    color: white;
    border: none;
}

.btn-pricing-popular:hover {
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
    transform: translateY(-2px);
}

.btn-info-new {
    padding: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50%;
    color: #00ccff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-info-new:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
    border-color: #00ccff;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-info-new i {
    transition: transform 0.3s;
}

.btn-info-new:hover i {
    transform: scale(1.1);
}

.pricing-note-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
}

.pricing-note-new svg {
    color: #00ccff;
    flex-shrink: 0;
}

.pricing-note-new p {
    color: #9ca3af;
    margin: 0;
}

.pricing-note-new a {
    color: #00ccff;
    text-decoration: none;
    font-weight: 600;
}

.pricing-note-new a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #fff;
}

.contact-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #e4e4e4;
}

.contact-benefits svg {
    color: #00ccff;
}

.contact-stats-box {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-box-item {
    text-align: center;
}

.stat-box-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0066ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box-label {
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-form-new {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-new {
    margin-bottom: 24px;
}

.form-group-new label {
    display: block;
    margin-bottom: 8px;
    color: #e4e4e4;
    font-weight: 500;
    font-size: 14px;
}

.form-group-new input,
.form-group-new textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 10px;
    color: #e4e4e4;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group-new input:focus,
.form-group-new textarea:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group-new textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0066ff, #00ccff);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.4);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    padding: 40px 20px;
}

.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: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-logo span {
    font-weight: 700;
    color: #fff;
}

.footer-left p {
    color: #9ca3af;
    font-size: 14px;
}

/* Footer Link */
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #00ccff;
}

/* FAQ Section */
#faq {
    padding: 80px 20px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 150, 255, 0.2);
}

.faq-item.active {
    border-color: rgba(0, 150, 255, 0.3);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.faq-question svg {
    color: #9ca3af;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: #00ccff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: #9ca3af;
    line-height: 1.7;
    margin: 0;
}

/* Discord Button */
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 18px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    width: fit-content;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn svg {
    flex-shrink: 0;
}

.footer-right p {
    color: #6b7280;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(10, 10, 15, 0.95);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #00ccff;
}

/* Modal Content Styling */
.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.modal-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.modal-section p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 16px;
}

.modal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-section li {
    position: relative;
    padding-left: 24px;
    color: #d1d5db;
    line-height: 1.6;
}

.modal-section li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #00ccff;
}

.modal-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations for cards */
.reveal-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    header {
        padding: 12px 20px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .pricing-grid-new {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 20px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid-new {
        grid-template-columns: 1fr;
    }
    
    .contact-stats-box {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 24px;
        margin: 10% auto;
    }
}
/* ============================================
   Cookie Banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.cookie-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    font-size: 16px;
}

.cookie-desc {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-desc a {
    color: #00ccff;
    text-decoration: none;
}

.cookie-desc a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
    color: white;
}

.cookie-btn-accept:hover {
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
    transform: translateY(-1px);
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links .footer-link {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}