/* ==========================================================================
   Accountic.ir - Luxury Futuristic Stylesheet with IranYekanX & Anjoman Fonts
   ========================================================================== */

@font-face {
    font-family: 'IranYekanX';
    src: url('../fonts/iranyekanxfanum-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('../fonts/iranyekanxfanum-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('../fonts/iranyekanxfanum-demibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('../fonts/iranyekanxfanum-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('../fonts/iranyekanxfanum-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekanX';
    src: url('../fonts/iranyekanxfanum-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Anjoman';
    src: url('../fonts/anjoman-fanum-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-main: #070913;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --secondary: #06b6d4;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.4);
    --font-main: 'IranYekanX', Tahoma, sans-serif;
    --font-heading: 'Anjoman', 'IranYekanX', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
    position: relative;
}

/* Glowing Ambient Backgrounds */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
}

.glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, #6366f1, #4f46e5);
}

.glow-2 {
    top: 600px;
    left: -150px;
    background: radial-gradient(circle, #06b6d4, #0891b2);
}

.glow-3 {
    top: 1500px;
    right: 20%;
    background: radial-gradient(circle, #ec4899, #8b5cf6);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 19, 0.8);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #818cf8, #6366f1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 90px 0 60px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-tag .dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #818cf8, #06b6d4, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 13px;
}

/* 3D Visual Cards in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 440px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.glass-card:hover {
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
    border-color: var(--border-glow);
}

.card-chatgpt {
    top: 0;
    right: 0;
    width: 280px;
    padding: 20px;
    animation: float1 6s ease-in-out infinite;
    border-top: 2px solid #10a37f;
}

.card-claude {
    bottom: 20px;
    left: 0;
    width: 270px;
    padding: 20px;
    animation: float2 7s ease-in-out infinite;
    border-top: 2px solid #d97706;
}

.card-cursor {
    top: 140px;
    right: 60px;
    width: 290px;
    padding: 22px;
    z-index: 2;
    animation: float3 5s ease-in-out infinite;
    border-top: 2px solid #6366f1;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(14px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    font-size: 24px;
}

.card-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-price {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5), transparent);
}

.calc-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 44px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.calc-info h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.calc-info p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #67e8f9;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.calc-interactive {
    background: rgba(7, 9, 19, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.custom-select {
    width: 100%;
    background: #1e293b;
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    cursor: pointer;
}

.custom-select:focus {
    border-color: var(--primary);
}

.calc-breakdown {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    padding: 18px;
    margin: 24px 0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.breakdown-row.total {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Showcase & Features */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-glow);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid var(--border-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.prod-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.prod-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.prod-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.prod-icon {
    font-size: 32px;
}

.prod-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.prod-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.prod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.prod-price {
    font-size: 16px;
    font-weight: 800;
    color: #38bdf8;
}

/* FAQ Accordion */
.faq-section {
    padding: 60px 0 80px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    padding: 22px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.faq-answer {
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--primary-light);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background: rgba(7, 9, 19, 0.95);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 13px;
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-title { font-size: 34px; }
    .calc-box { grid-template-columns: 1fr; padding: 24px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
}
