/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    line-height: 1.6;
    background: white;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-size: 1.25rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.btn-white {
    background: white;
    color: var(--primary-600);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-100);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-600);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.trust-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* App Screenshot Mockup */
.app-screenshot {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
}

.screenshot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.screenshot-dots {
    display: flex;
    gap: 6px;
}

.screenshot-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.screenshot-dots span:nth-child(1) {
    background: #ff5f57;
}

.screenshot-dots span:nth-child(2) {
    background: #febc2e;
}

.screenshot-dots span:nth-child(3) {
    background: #28c840;
}

.screenshot-title {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.screenshot-content {
    display: flex;
    height: 320px;
}

.mock-sidebar {
    width: 60px;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-nav-item {
    height: 36px;
    border-radius: 8px;
    background: var(--gray-200);
}

.mock-nav-item.active {
    background: var(--primary-100);
}

.mock-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mock-stats {
    display: flex;
    gap: 16px;
}

.mock-stat {
    flex: 1;
    height: 80px;
    border-radius: 12px;
    background: var(--gray-100);
}

.mock-stat.green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.mock-stat.red {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.mock-stat.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.mock-chart {
    flex: 1;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
}

/* Problem Section */
.problem {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-header.center p {
    margin: 0 auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--gray-600);
}

/* Solution Section */
.solution {
    padding: 100px 0;
    background: var(--gray-50);
}

.solution .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-content h2 {
    margin-bottom: 20px;
}

.solution-content>p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.solution-list .check {
    color: var(--success);
    font-weight: 700;
}

.profit-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.profit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.profit-project {
    font-weight: 600;
    font-size: 1.1rem;
}

.profit-status {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.profit-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.profit-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.metric.highlight {
    border-bottom: none;
    padding-top: 8px;
}

.metric-label {
    color: var(--gray-500);
}

.metric-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.metric-value.green {
    color: var(--success);
}

.metric-value.red {
    color: var(--danger);
}

.profit-margin {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.margin-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 100px;
    overflow: hidden;
}

.margin-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), #4ade80);
    border-radius: 100px;
}

.margin-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: right;
}

/* Features */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-200);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-600);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-50);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    color: var(--gray-600);
}

.step-arrow {
    font-size: 2rem;
    color: var(--gray-300);
    padding-top: 12px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card>p {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--gray-50);
}

.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--success), #4ade80);
    color: white;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 32px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 8px;
}

.price-amount {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gray-900);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features .check {
    color: var(--success);
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-500);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: var(--primary-100);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.cta-note {
    display: block;
    margin-top: 16px;
    color: var(--primary-200);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 280px;
}

.footer-brand .logo-icon {
    background: var(--primary-500);
}

.footer-brand .logo span {
    color: white;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero .container,
    .solution .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        display: none;
    }

    .problem-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}