/*
Theme Name: Zia Kamal SEO
Theme URI: https://ziakamal.com
Author: Antigravity
Author URI: https://google.com
Description: A high-converting One-Page SEO Portfolio Theme
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zia-kamal
*/

:root {
    /* Premium Color Palette */
    --primary-color: #0f1115;
    /* Deep Charcoal/Black */
    --accent-color: #cde200;
    /* Electric Lime */
    --accent-hover: #a3b800;
    /* Darker Lime */
    --accent-glow: rgba(205, 226, 0, 0.4);
    /* Stronger glow */

    --text-color: #334155;
    /* Slate 700 */
    --text-light: #f8fafc;
    /* Slate 50 */
    --text-grey: #64748b;
    /* Slate 500 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    --bg-light: #ffffff;
    --bg-off-white: #f8fafc;
    /* Very light slate */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-darker: #020617;
    /* Slate 950 */

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --spacing-section: 120px;
    --border-radius: 16px;
    /* More modern curve */
    --container-width: 1280px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 8px rgba(0, 0, 0, 0.04), 0 10px 24px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 40px -10px var(--accent-glow);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility: Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons: Enhanced */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(205, 226, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 226, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary-dark {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary-dark:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Header: Glassmorphism */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo .dot {
    color: var(--accent-color);
}

#main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

#main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

#main-nav a:hover {
    color: var(--accent-color);
}

/* Hero Section: Immersive */
.hero-section {
    background: radial-gradient(circle at top right, #1e293b, var(--bg-dark));
    color: #fff;
    padding: 180px 0 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero Background Glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(205, 226, 0, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-content .subheadline {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-signals i {
    color: var(--accent-color);
    margin-right: 8px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Section Common */
section {
    padding: var(--spacing-section) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-grey);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services: Glass Cards */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-block {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.service-block:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(205, 226, 0, 0.2);
}

.service-block h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-block ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text-grey);
}

.service-block ul li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Why Choose Me */
.why-me-section {
    background-color: var(--bg-off-white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.reason-item {
    background: #fff;
    padding: 40px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid transparent;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(205, 226, 0, 0.2);
}

.reason-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    background: rgba(205, 226, 0, 0.08);
    padding: 24px;
    border-radius: 50%;
    transition: 0.3s;
}

.reason-item:hover i {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(205, 226, 0, 0.3);
}

.reason-item h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.reason-item p {
    font-size: 0.95rem;
    color: var(--text-grey);
}

/* Results Section: Dark & Sleek */
.results-section {
    background-color: var(--bg-dark);
    color: #fff;
    position: relative;
}

.results-section .section-title h2 {
    color: #fff;
}

.results-section .section-title p {
    color: var(--text-muted);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 50px 0;
}

.metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.metric-item h4 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.metric-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Pricing: Highlighted */
.pricing-section {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 16px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-grey);
    font-weight: 500;
}

.features-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.features-list i {
    color: var(--accent-color);
}

.features-list li.disabled {
    color: #cbd5e1;
}

.features-list li.disabled i {
    color: #cbd5e1;
}

.card-footer {
    margin-top: 30px;
    text-align: center;
}

.pricing-card .btn {
    width: 100%;
}

/* Contact Form */
.contact-section {
    background-color: var(--bg-off-white);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.2s;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
#site-footer {
    background-color: var(--bg-darker);
    color: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    #main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-section {
        padding: 140px 0 100px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
    /* subtle nudge */
}

.social-links a {
    color: #fff;
    margin-right: 20px;
    font-weight: 600;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}


/* Pricing */
.pricing-section {
    background-color: var(--bg-light);
    /* Switch to light for contrast */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    /* More rounded */
    padding: 48px 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(205, 226, 0, 0.2);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    z-index: 2;
    background: linear-gradient(to bottom, #fff, #f8fafc);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-tag {
    position: absolute;
    top: 24px;
    right: -32px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 40px;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 32px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.card-header .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    /* Dark text for price */
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
}

.card-header .price span {
    font-size: 1.1rem;
    color: var(--text-grey);
    font-weight: 500;
    letter-spacing: normal;
}

.plan-desc {
    margin-top: 16px;
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1.5;
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 16px;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    /* Align top for multi-line */
    font-size: 1rem;
    line-height: 1.5;
}

.features-list li i {
    margin-right: 14px;
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    margin-top: 3px;
    /* visual adjustment */
}

.features-list li.disabled {
    color: #94a3b8;
    text-decoration: line-through;
    opacity: 0.6;
}

.features-list li.disabled i {
    color: #cbd5e1;
}

.card-footer {
    text-align: center;
}

.card-footer .btn {
    width: 100%;
    padding: 16px;
}

.btn-secondary-dark {
    background-color: var(--bg-off-white);
    color: var(--primary-color);
    border: 1px solid #e2e8f0;
}

.btn-secondary-dark:hover {
    background-color: #e2e8f0;
    color: var(--primary-color);
    border-color: #cbd5e1;
}

/* Who I Help Refined */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.help-card {
    background: #fff;
    padding: 40px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid transparent;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(205, 226, 0, 0.2);
}

.help-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    background: rgba(37, 99, 235, 0.08);
    padding: 24px;
    border-radius: 50%;
    transition: 0.3s;
}

.help-card:hover i {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.help-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.help-card p {
    font-size: 0.95rem;
    color: var(--text-grey);
}

/* Process Section */
.process-section {
    background-color: var(--bg-off-white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #fff;
    color: var(--accent-color);
    font-family: var(--font-heading);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 32px;
    position: relative;
    transition: 0.3s;
}

.step:hover .step-number {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.1);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-grey);
    max-width: 280px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-card.popular {
        transform: scale(1);
        /* Reset scale on mobile */
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }

    #main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        display: none;
        flex-direction: column;
        text-align: center;
        z-index: 999;
    }

    #main-nav.active {
        display: flex;
        border-bottom: 1px solid #eee;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .process-steps {
        flex-direction: column;
        gap: 60px;
    }

    .process-steps::before {
        height: 100%;
        width: 3px;
        top: 0;
        left: 50%;
        margin-left: -1.5px;
        z-index: 0;
    }

    .step-number {
        margin-bottom: 20px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}