/* 
 * Zahidiom Custom Homepage Styles
 * Figma Design Implementation
 */

 :root {
    --zh-bg: #09090b;
    --zh-bg-card: rgba(255, 255, 255, 0.02);
    --zh-bg-card-hover: rgba(255, 255, 255, 0.05);
    --zh-border: rgba(255, 255, 255, 0.05);
    --zh-border-hover: rgba(255, 255, 255, 0.1);
    --zh-gold: #FBBF24; /* Amber 400 */
    --zh-gold-glow: rgba(251, 191, 36, 0.2);
    --zh-text: #F3F4F6;
    --zh-text-muted: #9CA3AF;
    --zh-font-sans: 'Inter', sans-serif;
    --zh-font-serif: 'Playfair Display', serif;
}

body.zahidiom-custom-home,
body.elementor-page {
    background-color: var(--zh-bg);
    color: var(--zh-text);
    font-family: var(--zh-font-sans);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.zh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.zahidiom-custom-home h1, 
.zahidiom-custom-home h2, 
.zahidiom-custom-home h3 {
    font-family: var(--zh-font-serif);
    margin: 0;
    color: #fff;
    line-height: 1.1;
}
.zahidiom-custom-home p {
    color: var(--zh-text-muted);
    font-size: 1.125rem;
}
.zh-gold {
    color: var(--zh-gold);
}

/* Navigation */
.zh-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--zh-border);
}
.zh-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.zh-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}
.zh-logo-icon {
    background: var(--zh-gold);
    color: #000;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}
.zh-logo-text {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.zh-nav-links {
    display: flex;
    gap: 32px;
}
.zh-nav-links a {
    color: var(--zh-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.zh-nav-links a:hover {
    color: #fff;
}
.zh-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.zh-btn-text {
    color: var(--zh-text-muted);
    text-decoration: none;
    font-weight: 500;
}
.zh-btn-text:hover { color: #fff; }

.zh-btn-primary {
    background: var(--zh-gold);
    color: #000;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.zh-btn-primary:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--zh-gold-glow);
}

.zh-btn-outline {
    background: transparent;
    color: #fff;
    padding: 10px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.zh-btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
}

.zh-btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}
.zh-btn-full {
    width: 100%;
    box-sizing: border-box;
}

/* Hero Section */
.zh-hero {
    padding: 200px 0 120px;
    text-align: center;
    position: relative;
}
.zh-hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(251,191,36,0.08) 0%, rgba(9,9,11,0) 70%);
    z-index: -1;
}
/* Global Utilities for Elementor Widgets */
.zh-badge,
.elementor-widget-button.zh-badge .elementor-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--zh-text-muted);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.zh-glass-card,
.elementor-widget-icon-box.zh-glass-card .elementor-widget-container,
.elementor-widget-price-table.zh-glass-card .elementor-widget-container {
    background: var(--zh-bg-card);
    border: 1px solid var(--zh-border);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zh-glass-card:hover {
    background: var(--zh-bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.zh-primary-btn,
.elementor-widget-button.zh-primary-btn .elementor-button {
    background-color: var(--zh-gold);
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 32px;
    border: none;
    transition: transform 0.2s;
}
.zh-primary-btn:hover {
    transform: scale(1.05);
    background-color: #f7d268;
}

.zh-outline-btn,
.elementor-widget-button.zh-outline-btn .elementor-button {
    background-color: transparent;
    color: var(--zh-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 32px;
    transition: all 0.2s;
}
.zh-outline-btn:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
}
.zh-hero-inner {
    max-width: 800px;
}
.zh-pill-avatars {
    display: flex;
}
.zh-pill-avatars img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--zh-bg);
    margin-right: -10px;
}
.zh-pill-avatars img:last-child {
    margin-right: 0;
}
.zh-hero-title {
    font-size: 5rem;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.zh-hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}
.zh-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}
.zh-hero-guarantee {
    font-size: 0.9rem;
    color: var(--zh-text-muted);
}

/* Sections Common */
section {
    padding: 100px 0;
}
.zh-section-header {
    text-align: center;
    margin-bottom: 64px;
}
.zh-section-tag {
    color: var(--zh-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}
.zh-section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.zh-section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Grids */
.zh-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.zh-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.zh-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Pricing */
.zh-pricing .zh-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}
.zh-price-header {
    border-bottom: 1px solid var(--zh-border);
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.zh-plan-name {
    font-weight: 600;
    color: var(--zh-text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.zh-price {
    font-size: 3rem;
    font-family: var(--zh-font-serif);
    font-weight: 700;
    margin: 16px 0;
    display: flex;
    align-items: baseline;
}
.zh-price span {
    font-size: 1.25rem;
    font-family: var(--zh-font-sans);
    color: var(--zh-text-muted);
    font-weight: 400;
}
.zh-price-header p {
    font-size: 0.95rem;
    margin: 0;
    min-height: 44px;
}
.zh-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}
.zh-price-features li {
    margin-bottom: 16px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.zh-check { color: #10B981; }
.zh-cross { color: #EF4444; }
.zh-disabled {
    color: var(--zh-text-muted);
    opacity: 0.5;
}
.zh-price-pro {
    background: rgba(251, 191, 36, 0.03);
    border-color: rgba(251, 191, 36, 0.3);
    position: relative;
}
.zh-price-pro:hover {
    border-color: var(--zh-gold);
    box-shadow: 0 0 40px var(--zh-gold-glow);
}
.zh-pro-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--zh-gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

/* Specific Elementor Overrides */
.zh-heading-gold .elementor-heading-title {
    color: var(--zh-gold) !important;
}

.elementor-widget-icon-box.zh-glass-card .elementor-icon-box-title {
    color: #fff !important;
    font-family: var(--zh-font-serif) !important;
    font-size: 1.5rem !important;
}
.elementor-widget-icon-box.zh-glass-card .elementor-icon-box-description {
    color: var(--zh-text-muted) !important;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Testimonials */
.zh-stars {
    color: var(--zh-gold);
    font-size: 1.25rem;
    margin-bottom: 20px;
}
.zh-quote {
    font-family: var(--zh-font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 32px;
}
.zh-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.zh-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.zh-author strong {
    display: block;
    font-family: var(--zh-font-sans);
    color: #fff;
}
.zh-author span {
    font-size: 0.85rem;
    color: var(--zh-text-muted);
}

/* Stats */
.zh-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--zh-border);
    text-align: center;
}
.zh-stat h4 {
    font-family: var(--zh-font-serif);
    font-size: 3rem;
    margin-bottom: 8px;
}
.zh-stat span {
    color: var(--zh-text-muted);
    font-weight: 500;
}

/* FAQ */
.zh-faq {
    max-width: 800px;
    margin: 0 auto;
}
.zh-accordion-item {
    border-bottom: 1px solid var(--zh-border);
}
.zh-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--zh-font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}
.zh-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.zh-accordion-content p {
    padding-bottom: 24px;
    margin: 0;
}
.zh-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}
.zh-accordion-item.active .zh-icon {
    transform: rotate(45deg);
}

/* CTA */
.zh-cta {
    text-align: center;
    padding: 120px 0;
    background: linear-gradient(to top, rgba(251,191,36,0.05), transparent);
}
.zh-cta h2 {
    font-size: 4rem;
    margin-bottom: 24px;
}

/* Footer */
.zh-footer {
    border-top: 1px solid var(--zh-border);
    padding: 40px 0;
}
.zh-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.zh-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--zh-text-muted);
    font-size: 0.9rem;
}
.zh-footer-links {
    display: flex;
    gap: 24px;
}
.zh-footer-links a {
    color: var(--zh-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.zh-footer-links a:hover {
    color: #fff;
}

/* GSAP Initial States */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 1024px) {
    .zh-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .zh-hero-title { font-size: 3.5rem; }
    .zh-section-header h2 { font-size: 2.5rem; }
    .zh-grid-3, .zh-grid-2, .zh-grid-4 { grid-template-columns: 1fr; }
    .zh-nav-links { display: none; }
    .zh-stats { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .zh-footer-inner { flex-direction: column; gap: 24px; }
}
