@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --gold-primary: #DCA832;
    --gold-light: #FFDF7E;
    --gold-dark: #B8851A;
    --gold-gradient: linear-gradient(135deg, #FFDF7E 0%, #DCA832 50%, #B8851A 100%);
    --bg-dark-base: #080809;
    --bg-dark-surface: #121214;
    --bg-dark-card: #18181C;
    --border-color: rgba(220, 168, 50, 0.15);
    --border-color-hover: rgba(220, 168, 50, 0.35);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0AB;
    --text-muted: #6B6B76;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --shadow-gold: 0 8px 30px rgba(220, 168, 50, 0.15);
    --shadow-gold-hover: 0 12px 40px rgba(220, 168, 50, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-dark-base);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark-base);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-ar);
    line-height: 1.6;
    background-color: var(--bg-dark-base);
    overflow-x: hidden;
    position: relative;
}

/* RTL / LTR Language Specifics */
html[lang="en"] body {
    font-family: var(--font-en);
}

/* Custom Scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-base);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Abstract Logo Curves Background elements */
.logo-ambient-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ambient-curve-gold {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 168, 50, 0.18) 0%, rgba(220, 168, 50, 0) 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: pulse-glow 8s infinite alternate;
}

.ambient-curve-black {
    position: absolute;
    top: 300px;
    left: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(28, 28, 30, 0.8) 0%, rgba(8, 8, 9, 0) 80%);
    filter: blur(100px);
    border-radius: 50%;
}

.ambient-curve-s-gold {
    position: absolute;
    top: 15%;
    left: 45%;
    width: 400px;
    height: 600px;
    border: 40px solid transparent;
    border-top: 40px solid rgba(220, 168, 50, 0.05);
    border-left: 40px solid rgba(220, 168, 50, 0.05);
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
    filter: blur(20px);
    pointer-events: none;
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(-30px, 20px); opacity: 1; }
}

/* Header / Navigation */
header {
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(8, 8, 9, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 42px;
    width: auto;
    transition: var(--transition);
}

.logo-container:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.brand-name span.shiny {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Buttons */
.btn-lang {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-lang:hover {
    background: rgba(220, 168, 50, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
    filter: brightness(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.75rem;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 168, 50, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    padding: 4rem 5% 6rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.badge-version {
    background: rgba(220, 168, 50, 0.08);
    border: 1px solid rgba(220, 168, 50, 0.2);
    color: var(--gold-light);
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.badge-version::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #30D158;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #30D158;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title span.highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title span.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(220, 168, 50, 0.2);
    border-radius: 2px;
}

.hero-desc {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 5rem;
    animation: fadeInUp 1.2s ease-out;
    flex-wrap: wrap;
    justify-content: center;
}

/* App Mockup Section */
.mockup-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1000px;
    animation: fadeInUp 1.4s ease-out;
    position: relative;
}

/* The application dashboard mockup using CSS */
.app-mockup {
    width: 100%;
    background: #141416;
    border-radius: 12px;
    border: 1px solid rgba(220, 168, 50, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(220, 168, 50, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16/10;
    transition: transform 0.5s ease;
    transform: rotateX(8deg) translateY(0);
}

.app-mockup:hover {
    transform: rotateX(2deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(220, 168, 50, 0.15);
}

/* Window Titlebar */
.mock-titlebar {
    height: 42px;
    background: #1c1c1e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    justify-content: space-between;
}

.mock-window-controls {
    display: flex;
    gap: 6px;
}

.mock-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }

.mock-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Window Content Body */
.mock-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    text-align: right;
    background: #0f0f11;
}

html[lang="en"] .mock-body {
    text-align: left;
}

/* Sidebar */
.mock-sidebar {
    width: 220px;
    background: #141416;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0.75rem;
    gap: 1.5rem;
}

html[lang="en"] .mock-sidebar {
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-sidebar-brand img {
    height: 24px;
}

.mock-sidebar-brand span {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.mock-menu {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mock-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mock-menu-item:hover, .mock-menu-item.active {
    background: rgba(220, 168, 50, 0.08);
    color: var(--gold-light);
}

.mock-menu-item.active {
    border-right: 3px solid var(--gold-primary);
}

html[lang="en"] .mock-menu-item.active {
    border-right: none;
    border-left: 3px solid var(--gold-primary);
}

.mock-menu-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Main Dashboard Area */
.mock-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.75rem;
}

.mock-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mock-stat-card {
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mock-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mock-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mock-stat-trend {
    font-size: 0.7rem;
    color: #30D158;
}

/* Workspace Panels */
.mock-main-panel {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 1rem;
    flex: 1;
}

.mock-invoice-creator, .mock-recent-activity {
    background: #18181c;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mock-panel-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

/* Mock Invoice Creator details */
.mock-invoice-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mock-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.mock-input {
    background: #0f0f11;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: #fff;
    outline: none;
}

.mock-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.mock-table th {
    background: #121214;
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding: 0.4rem;
    text-align: right;
}

html[lang="en"] .mock-table th {
    text-align: left;
}

.mock-table td {
    padding: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.mock-badge-status {
    background: rgba(48, 209, 88, 0.1);
    color: #30D158;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
}

.mock-invoice-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
}

.mock-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mock-activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.mock-activity-desc {
    display: flex;
    flex-direction: column;
}

.mock-activity-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* SVG Curvy Section Divider */
.svg-divider {
    width: 100%;
    display: block;
    height: auto;
    margin: -1px 0;
    position: relative;
    z-index: 9;
}

/* Features Grid Section */
.features-section {
    background: #0c0c0e;
    padding: 6rem 5%;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
}

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

.feature-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(220, 168, 50, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(220, 168, 50, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(220, 168, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gold-gradient);
    color: #000;
    transform: scale(1.05) rotate(3deg);
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Showcase Logo Shape Layout Section */
.logo-concept-section {
    padding: 6rem 5%;
    background: #080809;
    position: relative;
    overflow: hidden;
}

.logo-concept-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.concept-image-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.concept-logo-bg {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(220, 168, 50, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    position: absolute;
    z-index: 1;
}

.concept-logo-img {
    width: 75%;
    max-width: 280px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.5));
    animation: floating-logo 5s ease-in-out infinite;
}

@keyframes floating-logo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.concept-text-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.concept-text-side h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

.concept-text-side p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.concept-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.concept-feat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.concept-feat-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(48, 209, 88, 0.15);
    color: #30D158;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* System Workflow Section */
.workflow-section {
    background: #0b0b0d;
    padding: 6rem 5%;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    position: relative;
}

.workflow-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.workflow-step::after {
    content: '←';
    position: absolute;
    top: 30px;
    left: -20%;
    font-size: 2rem;
    color: rgba(220, 168, 50, 0.3);
}

html[lang="en"] .workflow-step::after {
    content: '→';
}

.workflow-step:last-child::after {
    display: none;
}

.workflow-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark-card);
    border: 2px solid var(--border-color);
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.workflow-step:hover .workflow-number {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(220, 168, 50, 0.3);
}

.workflow-step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.workflow-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Pricing / Plans Section */
.pricing-section {
    background: #0b0b0d;
    padding: 6rem 5%;
    position: relative;
    z-index: 10;
}

.pricing-lead {
    max-width: 640px;
    margin: 1.25rem auto 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1150px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(220, 168, 50, 0.06);
}

/* Featured (Pro) card */
.pricing-card.featured {
    border: 1.5px solid var(--gold-primary);
    background: linear-gradient(160deg, #1b1810 0%, #18181c 55%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 32px rgba(220, 168, 50, 0.12);
    transform: translateY(-14px) scale(1.035);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: translateY(-20px) scale(1.035);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.6), 0 0 44px rgba(220, 168, 50, 0.2);
}

.plan-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold-gradient);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 0.4rem 1.1rem;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: var(--shadow-gold);
}

/* Plan head */
.pricing-card-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-tier {
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    direction: ltr;
}

.plan-price-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-price-cur {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-light);
}

.plan-price-cycle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-price-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Plan feature list */
.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.plan-features li:last-child {
    border-bottom: none;
}

.feat-mark {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feat-mark svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.feat-mark.check {
    background: rgba(220, 168, 50, 0.15);
    color: var(--gold-light);
}

.feat-mark.cross {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.feat-mark.num {
    background: none;
    color: var(--gold-light);
    font-weight: 800;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.feat-mark.num.infinity {
    font-size: 1.5rem;
    line-height: 1;
}

.feat-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.plan-features li.feat-off .feat-label {
    color: var(--text-muted);
}

.plan-features li.feat-on .feat-label,
.plan-features li.feat-value .feat-label {
    color: var(--text-primary);
}

/* Plan CTA */
.plan-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.pricing-footnote {
    text-align: center;
    max-width: 680px;
    margin: 3rem auto 0 auto;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Download CTA Section */
.download-section {
    padding: 8rem 5%;
    background: #080809;
    position: relative;
    z-index: 10;
}

.download-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #121214 0%, #18181c 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.download-card::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 168, 50, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.download-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-card p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.05rem;
}

.download-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.download-card .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.requirements {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.requirements span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Custom Interactive Download Progress Simulation */
.progress-container {
    width: 100%;
    max-width: 350px;
    background: #0f0f11;
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 1rem;
    display: none; /* Shown via JS */
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: #060607;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 4rem 5% 2rem 5%;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand-logo img {
    height: 32px;
}

.footer-brand-logo span {
    font-weight: 800;
    color: #fff;
    font-size: 1.25rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-column h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--gold-light);
    padding-right: 4px;
}

html[lang="en"] .footer-link a:hover {
    padding-right: 0;
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
    .nav-menu {
        display: none; /* Collapsible or simplified for premium design */
    }
    
    .hero {
        padding: 3rem 5% 4rem 5%;
    }
    
    .logo-concept-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .concept-image-side {
        order: -1;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .workflow-step::after {
        display: none;
    }
    
    .mock-main-panel {
        grid-template-columns: 1fr;
    }
    
    .mock-sidebar {
        display: none; /* Hide mockup sidebar on tablets/mobiles to save space */
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 440px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    
    .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .mock-stats {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 3rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Accessibility & Interaction Polish */

/* Faster, cleaner taps on touch devices (removes 300ms delay + grey flash) */
a, button, .btn-primary, .btn-secondary, .btn-lang,
.mock-menu-item, .plan-cta, .nav-link {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Visible keyboard focus rings (only when navigating via keyboard) */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-lang:focus-visible,
.nav-link:focus-visible,
.mock-menu-item:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .ambient-curve-gold,
    .concept-logo-img,
    .app-mockup {
        animation: none !important;
        transform: none !important;
    }
}
