/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== Header & Navigation ===== */
.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;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.logo-icon {
    color: var(--primary);
    margin-right: 8px;
    font-size: 28px;
}

.logo-ai {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 24px;
}

.hero-content .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.preview-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.preview-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 30px;
}

.preview-card {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
}

.preview-card.active {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.card-text {
    font-size: 13px;
    font-weight: 500;
}

.preview-arrow {
    font-size: 24px;
    color: var(--gray-400);
}

/* ===== Features Preview ===== */
.features-preview {
    padding: 100px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Workflow Section ===== */
.workflow-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.workflow-step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.workflow-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.workflow-step p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: var(--gray-300);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
}


/* ===== Page Header ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Page ===== */
.features-page {
    padding: 80px 0;
}

.features-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-full-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-full-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-full-card .feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-full-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-full-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== How It Works Page ===== */
.how-it-works-page {
    padding: 80px 0;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 70px;
    width: 2px;
    height: calc(100% - 30px);
    background: var(--gray-200);
}

.process-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--primary);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.process-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.process-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.process-content ul {
    list-style: disc;
    padding-left: 20px;
}

.process-content li {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* ===== Pricing Page ===== */
.pricing-page {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-card.featured .pricing-badge {
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-500);
}

.pricing-card .price-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
}

/* ===== About Page ===== */
.about-page {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    color: var(--white);
}

.about-image .stat-large {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-image .stat-text {
    font-size: 18px;
    opacity: 0.9;
}

.team-section {
    text-align: center;
}

.team-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 48px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-page {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--gray-600);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-family);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ===== Auth Pages (Login/Signup) ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: var(--gray-50);
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.auth-card .logo {
    justify-content: center;
    margin-bottom: 32px;
}

.auth-card h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    font-size: 15px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 32px;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .btn {
    width: 100%;
    margin-top: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    font-size: 13px;
    color: var(--gray-500);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===== Legal Pages ===== */
.legal-page {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin: 40px 0 16px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin: 24px 0 12px;
}

.legal-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ===== Careers Page ===== */
.careers-page {
    padding: 80px 0;
}

.careers-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.careers-intro p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

.jobs-list {
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.job-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    gap: 16px;
}

.job-meta span {
    font-size: 14px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .features-grid,
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .features-full-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .workflow-steps,
    .features-full-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        padding: 32px 24px;
    }
    
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
