/* ============================================ */
/* style.css - Elara Landing Page */
/* ============================================ */

/* ============================================ */
/* Fonts - Vazirmatn */
/* ============================================ */
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

/* ============================================ */
/* Variables */
/* ============================================ */
:root {
    --accent: #10a37f;
    --accent-hover: #0d8a6a;
    --bg: #f8f9fb;
    --bg-card: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #8e8e93;
    --border: #e8e8ed;
    --radius: 20px;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================ */
/* Reset */
/* ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

.gradient-text {
    background: linear-gradient(135deg, #10a37f, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================ */
/* Buttons */
/* ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 50px; font-size: 14px;
    font-weight: 600; text-decoration: none; cursor: pointer;
    transition: var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,163,127,0.3); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: white; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ============================================ */
/* Header */
/* ============================================ */
.header {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000; padding: 16px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; color: var(--accent); }
.logo i { font-size: 28px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: var(--transition); }
.nav a:hover { color: var(--accent); }

/* ============================================ */
/* Hero */
/* ============================================ */
.hero { padding: 80px 0; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(16,163,127,0.06), transparent 70%);
    border-radius: 50%;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(16,163,127,0.1); color: var(--accent); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 48px; line-height: 1.2; margin-bottom: 20px; }
.hero p { color: var(--text-secondary); font-size: 17px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat { font-size: 14px; color: var(--text-secondary); }
.stat strong { display: block; font-size: 28px; color: var(--text); font-weight: 800; }
.hero-image { max-width: 500px; margin: 0 auto; }
.hero-image img { width: 100%; height: auto; max-height: 400px; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ============================================ */
/* Features */
/* ============================================ */
.features { padding: 80px 0; text-align: center; }
.features h2 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 38px; margin-bottom: 12px; }
.section-subtitle { color: var(--text-secondary); font-size: 16px; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 24px; transition: var(--transition); text-align: center;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.feature-icon {
    width: 72px; height: 72px; background: rgba(16,163,127,0.08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
    font-size: 30px; color: var(--accent);
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; }

/* ============================================ */
/* Blog Section */
/* ============================================ */
.blog-section { padding: 80px 0; text-align: center; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.blog-section h2 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 38px; margin-bottom: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.blog-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 20px; text-align: right; text-decoration: none; color: inherit;
    transition: var(--transition); display: flex; flex-direction: column; gap: 12px;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.blog-card i { font-size: 28px; color: var(--accent); }
.blog-card h4 { font-weight: 700; font-size: 15px; line-height: 1.6; }
.blog-card span { font-size: 11px; color: var(--text-muted); }
.blog-cta { margin-top: 32px; }

/* ============================================ */
/* Gallery */
/* ============================================ */
.gallery { padding: 80px 0; text-align: center; }
.gallery h2 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 38px; margin-bottom: 12px; }
.gallery-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto 24px; }
.gallery-showcase img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; border: 2px solid var(--border); cursor: pointer; transition: var(--transition); }
.gallery-showcase img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); border-color: var(--accent); }
.gallery-showcase .hero-shot { grid-column: span 2; grid-row: span 2; height: 416px; }
.gallery-more-btn {
    display: inline-flex; align-items: center; gap: 10px; background: var(--bg-card);
    border: 2px solid var(--accent); color: var(--accent); padding: 14px 32px;
    border-radius: 50px; font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.gallery-more-btn:hover { background: var(--accent); color: white; }
.gallery-more { display: none; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; max-width: 900px; margin-left: auto; margin-right: auto; }
.gallery-more img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; border: 2px solid var(--border); cursor: pointer; transition: var(--transition); }
.gallery-more img:hover { transform: scale(1.03); border-color: var(--accent); }

/* ============================================ */
/* Pricing */
/* ============================================ */
.pricing { padding: 80px 0; text-align: center; background: var(--bg-card); }
.pricing h2 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 38px; margin-bottom: 12px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius);
    padding: 40px 24px; position: relative; transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--accent); box-shadow: var(--shadow-md); }
.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #10a37f, #6366f1); color: white;
    padding: 6px 24px; border-radius: 50px; font-size: 12px; font-weight: 700;
}
.pricing-badge { display: inline-block; padding: 6px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.pricing-badge.free { background: #e5e7eb; color: #6b7280; }
.pricing-badge.pro { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; }
.pricing-badge.plus { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: white; }
.pricing-price { font-size: 48px; font-weight: 900; margin-bottom: 8px; }
.pricing-price span { font-size: 14px; font-weight: 400; color: var(--text-secondary); }
.pricing-header p { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: right; margin-bottom: 28px; }
.pricing-features li { padding: 12px 0; font-size: 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .fa-check { color: var(--accent); }
.pricing-features .fa-times { color: #e53e3e; }

/* ============================================ */
/* FAQ */
/* ============================================ */
.faq { padding: 80px 0; text-align: center; }
.faq h2 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 38px; margin-bottom: 48px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: right; transition: var(--transition); }
.faq-card:hover { border-color: var(--accent); }
.faq-card h3 { font-size: 16px; margin-bottom: 10px; }
.faq-card p { color: var(--text-secondary); font-size: 14px; }

/* ============================================ */
/* Contact */
/* ============================================ */
.contact { padding: 80px 0; text-align: center; background: var(--bg-card); }
.contact h2 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 38px; margin-bottom: 12px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; transition: var(--transition); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card i { font-size: 40px; color: var(--accent); margin-bottom: 16px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 14px; }

/* ============================================ */
/* CTA */
/* ============================================ */
.cta { background: linear-gradient(135deg, #0a1628, #1a1a2e); color: white; padding: 80px 0; text-align: center; }
.cta h2 { font-family: 'Vazirmatn', sans-serif; font-weight: 900; font-size: 36px; margin-bottom: 16px; }
.cta p { margin-bottom: 32px; opacity: 0.85; font-size: 18px; }

/* ============================================ */
/* Footer */
/* ============================================ */
.footer { background: #0a0a0a; color: white; padding: 40px 0 20px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.footer-brand i { font-size: 24px; color: var(--accent); }
.footer-brand span { font-weight: 800; font-size: 20px; }
.footer-brand p { opacity: 0.5; font-size: 12px; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); font-size: 12px; }

/* ============================================ */
/* Lightbox */
/* ============================================ */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 16px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; font-size: 24px; cursor: pointer; padding: 16px; border-radius: 50%; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 14px; }

/* ============================================ */
/* Responsive */
/* ============================================ */
@media (max-width: 768px) {
    .nav { display: none; }
    .hero .container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .gallery-showcase { grid-template-columns: 1fr; }
    .gallery-showcase .hero-shot { grid-column: span 1; grid-row: span 1; height: 200px; }
    .gallery-more { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}