:root {
    --bg-color: #0b0b12;
    --text-color: #ffffff;
    --accent-color: #7c4dff;
    --accent-glow: rgba(124, 77, 255, 0.4);
    --secondary-color: #00e5ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.site-header {
    padding: 2.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(11, 11, 18, 0.84);
    backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.custom-logo-link img {
    max-height: 70px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.custom-logo-link:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-color);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-navigation a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.main-navigation a:hover {
    color: var(--text-color);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px var(--accent-glow);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.btn-secondary {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    margin-left: 1.5rem;
    border: 1px solid var(--glass-border);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

/* Glow Backgrounds */
.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    animation: moveGlow 15s ease-in-out infinite;
    opacity: 0.5;
}

.second-glow {
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    animation: moveGlowSecond 12s ease-in-out infinite alternate;
    opacity: 0.3;
}

@keyframes moveGlow {
    0%, 100% { transform: translate(-50%, -50%) translate(-200px, -100px); }
    33% { transform: translate(-50%, -50%) translate(200px, 150px); }
    66% { transform: translate(-50%, -50%) translate(-150px, 200px); }
}

@keyframes moveGlowSecond {
    0% { transform: translate(-50%, -50%) translate(300px, -200px); }
    100% { transform: translate(-50%, -50%) translate(-300px, 200px); }
}

.pricing, .contact {
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    word-wrap: break-word;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-visual {
    position: relative;
}

.floating-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Sections */
section {
    padding: 10rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition-smooth);
    position: relative;
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    display: block;
}

/* Steps */
.steps-wrapper {
    display: grid;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.step-number {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Pricing Special */
.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

/* Contact */
.contact-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 5rem;
    border-radius: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
}

#form-response {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: none;
}

#form-response:not(:empty) {
    display: block;
}

#form-response.success {
    background: rgba(0, 229, 255, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

#form-response.error {
    background: rgba(255, 59, 59, 0.1);
    color: #ff3b3b;
    border: 1px solid #ff3b3b;
}

/* Blog Index Styles */
.blog-hero {
    padding: 180px 0 60px;
    background: linear-gradient(to bottom, rgba(124, 77, 255, 0.05), transparent);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.blog-card-image {
    height: 240px;
    overflow: hidden;
    background: #1a1a24;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image.placeholder i {
    font-size: 4rem;
    color: rgba(255,255,255,0.1);
}

.blog-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-card h3 a {
    color: white;
    text-decoration: none;
}

.blog-card p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.read-more {
    margin-top: auto;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Single Post Styles */
.single-post .post-hero {
    padding: 200px 0 100px;
}

.post-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.post-hero-content h1 {
    font-size: 4rem;
    margin-top: 1.5rem;
}

.post-main {
    padding: 6rem 0;
}

.post-layout {
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    margin-bottom: 4rem;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.entry-content p {
    margin-bottom: 2.5rem;
}

.entry-content h2, .entry-content h3 {
    color: white;
    margin: 4rem 0 2rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
}

.blog-pagination .page-numbers {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: var(--transition-smooth);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px var(--accent-glow);
}

@media (max-width: 768px) {
    .post-hero-content h1 {
        font-size: 2.5rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    padding: 8rem 0 0;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(to top, rgba(124, 77, 255, 0.05), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    padding-bottom: 6rem;
}

.footer-info .logo {
    display: inline-block;
    margin-bottom: 2rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.footer-nav h4, 
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-nav a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.heart {
    color: #ff3b3b;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.signature-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.signature-link:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 { font-size: 3.8rem; }
}

@media (max-width: 991px) {
    .container { padding: 0 25px; }
    
    .mobile-menu-toggle { display: flex; }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 11, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1500;
        visibility: hidden;
    }

    .main-navigation.active {
        right: 0;
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 2.5rem;
    }

    .main-navigation a {
        font-size: 1.8rem;
        color: white;
    }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content { order: 1; }
    .hero-visual { order: 2; margin: 0 auto; max-width: 500px; }
    
    .hero { padding: 200px 0 60px; }
    section { padding: 6rem 0; }
    
    .btn-secondary { margin: 1rem 0 0 0; display: inline-block; }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 3rem 2rem;
    }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-title h2 { font-size: 2.5rem; }
    .hero h1 { font-size: 3rem; }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .contact-box { padding: 3rem 1.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-info, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .social-links { justify-content: center; }
    .footer-contact p { justify-content: center; }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .btn-primary, .btn-secondary { width: 100%; margin-left: 0; }
}
