:root {
    --bg-dark: #f8fafc;
    --bg-darker: #f1f5f9;
    --primary: #5525d6;
    --primary-hover: #441eb1;
    --secondary: #06b6d4;
    --text-light: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-highlight: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Gradients */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

body::before {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--primary), transparent);
}

body::after {
    bottom: 20%;
    right: -100px;
    background: radial-gradient(circle, var(--secondary), transparent);
}

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

/* Glassmorphism Utilities */
.glass-header, .glass-card, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--glass-highlight);
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding-top: 100px;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.hero-image {
    flex: 1;
    position: relative;
}

.glass-mockup {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.glass-mockup img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.features {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.feature-card {
    padding: 2.5rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(85, 37, 214, 0.1);
    border-color: rgba(85, 37, 214, 0.2);
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    background: rgba(85, 37, 214, 0.08);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card .icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #FFFFF8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.pro {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.feature-list {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background-color: var(--primary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
}

.feature-list li strong {
    color: var(--text-light);
}

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

/* FAQ Section */
.faq {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.faq-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.faq-subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    transition: transform 0.3s;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.faq-item[open] summary {
    color: var(--primary);
    border-bottom: 1px solid #f1f5f9;
}

.faq-item[open] summary::before {
    content: '−';
}

.faq-content {
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.glass-footer {
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
}

.newsletter-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.newsletter-section h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 800;
}

.newsletter-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 2px solid rgba(99, 102, 241, 0.45);
    border-radius: 8px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:hover,
.newsletter-form input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.65);
    background: rgba(255, 255, 255, 1);
}

.newsletter-form .btn {
    padding: 0.75rem 2rem;
    white-space: nowrap;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-col h3 {
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-col .footer-contact {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* ========== Hamburger Menu ========== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        gap: 0;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 99;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        pointer-events: none;
    }

    nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav a {
        display: block !important;
        padding: 0.9rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid #f1f5f9;
        text-align: center;
    }

    nav a:last-of-type {
        border-bottom: none;
    }

    nav a.btn {
        margin-top: 1rem;
        text-align: center;
        display: block !important;
        width: 100%;
    }

    .nav-container {
        position: relative;
    }
}

/* ========== Responsive: Tablet & Mobile ========== */

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        min-height: auto;
        gap: 2rem;
    }
    
    .hero-content {
        flex: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        margin: 0 auto 2rem;
        max-width: 500px;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-illustration-right {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding-top: 100px;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

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

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .features {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

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

    .feature-card,
    .pricing-card,
    .contact-card,
    .docs-category-card,
    .blog-card {
        text-align: center;
    }

    .pricing-card .feature-list,
    .docs-category-card ul,
    .blog-card .blog-content,
    .blog-card .blog-footer {
        text-align: left;
    }

    .pricing-card .feature-list {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card .icon {
        width: 44px;
        height: 44px;
        margin: 0 auto 1rem;
    }

    .feature-card .icon svg {
        width: 22px;
        height: 22px;
    }

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

    .pricing {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .price {
        font-size: 2.25rem;
    }

    .faq {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

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

    .faq-layout {
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }

    .newsletter-section h3 {
        font-size: 1.5rem;
    }

    .newsletter-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .glass-footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Docs page mobile */
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 3rem;
    }

    .docs-category-card {
        padding: 1.25rem;
    }

    .page-header h1 {
        font-size: 2.25rem !important;
    }

    .page-header {
        padding: 120px 0 30px !important;
    }

    .docs-search-input {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    /* Doc article mobile */
    .doc-header {
        padding: 100px 0 30px !important;
    }

    .doc-header h1 {
        font-size: 1.75rem !important;
    }

    .doc-content {
        padding: 0 1rem 3rem;
    }

    .doc-content h2 {
        font-size: 1.4rem;
    }

    .doc-content table {
        font-size: 0.85rem;
    }

    .doc-content table th,
    .doc-content table td {
        padding: 0.5rem;
    }

    /* Visual guides mobile */
    .visual-guide-body .guide-screenshot {
        padding: 1rem;
    }

    .mock-window .mock-content {
        font-size: 0.7rem;
        padding: 0.75rem;
    }

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

    .key-value-row {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    /* Blog mobile */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Contact mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Plugin page mobile */
    .screenshot-tabs {
        gap: 8px !important;
    }

    .screenshot-tabs button {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
}

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .faq-title {
        font-size: 1.6rem;
    }

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

    .pricing-card {
        padding: 1.5rem;
    }

    .docs-category-card {
        padding: 1rem;
    }

    .doc-content table {
        font-size: 0.75rem;
    }

    .doc-content table th,
    .doc-content table td {
        padding: 0.4rem 0.35rem;
    }
}


/* Remove default focus outline (black border) for buttons and links */
a:focus, button:focus, input:focus, textarea:focus, select:focus, details:focus, summary:focus {
    outline: none !important;
    box-shadow: none;
}



/* Page Header for subpages */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}


/* Agency Pricing */
.agency-pricing {
    padding-bottom: 6rem;
}

.agency-pricing-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.agency-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.agency-features {
    margin-bottom: 2.5rem;
}

.agency-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.5);
}

.agency-table {
    width: 100%;
    border-collapse: collapse;
}

.agency-table th,
.agency-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.agency-table th {
    background: rgba(99, 102, 241, 0.05);
    font-weight: 600;
    color: var(--primary-dark);
}

.agency-table tr:last-child td {
    border-bottom: none;
}

.agency-table td a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.agency-table td a:hover {
    text-decoration: underline;
}

.agency-card {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 3rem 2rem;
}

.agency-card h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.agency-card .price {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.agency-card .btn {
    background: #0f172a;
    color: white;
    border: none;
    margin-bottom: 2rem;
}

.agency-card .btn:hover {
    background: #1e293b;
    color: white;
}

.agency-card .feature-list li {
    color: rgba(255, 255, 255, 0.9);
    justify-content: center;
}

.agency-card .feature-list li::before {
    display: none;
}

.agency-pro-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #10b981;
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .agency-pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
