/* Root Variables */
:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #ff006e;
    --tertiary: #8338ec;
    --bg-dark: #0a0e27;
    --bg-darker: #050911;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #00d4ff;
    --border: #1a1f3a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility - Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    animation: glow-rotate 3s infinite;
    object-fit: contain;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
}

@keyframes glow-rotate {
    0% {
        box-shadow: 0 0 15px var(--primary), 0 0 30px var(--tertiary);
    }
    50% {
        box-shadow: 0 0 25px var(--primary), 0 0 40px var(--tertiary);
    }
    100% {
        box-shadow: 0 0 15px var(--primary), 0 0 30px var(--tertiary);
    }
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--tertiary));
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(10, 14, 39, 0.85);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 4px 0;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger open/close animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hamburger:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(131, 56, 236, 0.15));
    border-color: var(--primary);
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

.canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0.2)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0, 0, 0, 0.3)),
        radial-gradient(1px 1px at 50px 50px, #fff, rgba(0, 0, 0, 0.3)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0, 0, 0, 0.2));
    background-size: 200px 200px;
    animation: twinkle 5s infinite;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -2px;
}

.glow {
    display: block;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: float 3s ease-in-out infinite;
}

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

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

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    color: var(--bg-dark);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.services h2,
.technologies h2,
.contact h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(131, 56, 236, 0.1));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* Technologies Section */
.technologies {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-dark);
}

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

.tech-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(131, 56, 236, 0.15));
    color: var(--text-light);
    padding: 0.7rem 1.3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-badge:hover {
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* WordPress Expertise Section */
.wordpress-expertise {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(0, 212, 255, 0.08), rgba(131, 56, 236, 0.08));
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.wp-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.wp-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.wp-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.wp-bullets {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.wp-bullet {
    padding: 0.9rem 1.1rem;
    background: rgba(0, 212, 255, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    color: var(--text-light);
}

.wp-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.wp-highlight {
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.8rem;
    text-align: center;
}

.wp-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    color: var(--bg-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.wp-stats {
    display: grid;
    gap: 1rem;
}

.wp-stat {
    padding: 1rem;
    background: rgba(10, 14, 39, 0.8);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.wp-stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.wp-highlight .accent {
    color: var(--secondary);
}

/* FAQ Section */
.faq {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-dark);
}

.faq-inner {
    display: grid;
    gap: 2rem;
}

.faq-subtitle {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

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

.faq-item {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    margin-bottom: 0.7rem;
    color: var(--primary);
    font-size: 1.15rem;
}

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

.wp-stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .wp-inner {
        grid-template-columns: 1fr;
    }

    .wordpress-expertise {
        padding: 4rem 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
}

.contact-item .icon {
    font-size: 1.8rem;
    min-width: 50px;
}

.contact-item .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.honeypot {
    display: none !important;
    visibility: hidden !important;
    height: 0;
    overflow: hidden;
}

.captcha-group label {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
    }

    .hamburger {
        display: flex;
        padding: 10px;
    }

    .nav-links a {
        background: rgba(0, 212, 255, 0.06);
        padding: 0.8rem 1rem;
        border-radius: 8px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .services h2,
    .technologies h2,
    .contact h2 {
        font-size: 2rem;
    }

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

    .tech-container {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

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

    .glow {
        display: inline;
    }

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

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        width: 35px;
        height: 35px;
    }

    .brand {
        font-size: 1.2rem;
    }
}
