/* ============================================
   KRONOS - Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #3182CE;
    --primary-dark: #2C5AA0;
    --primary-light: #4299E1;
    --secondary-color: #48BB78;
    --accent-color: #ED8936;
    
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-light: #718096;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7FAFC;
    --bg-tertiary: #EDF2F7;
    
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--secondary-color), #38A169);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    justify-content: center;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Value Proposition */
.value-prop {
    padding: 100px 0;
    background: var(--bg-primary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.comparison-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.comparison-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.comparison-card.featured .badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.comparison-header {
    text-align: center;
    margin-bottom: 32px;
}

.comparison-header h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.price-tag {
    text-align: center;
    margin-bottom: 12px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-tag.expensive .price {
    color: var(--accent-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    display: block;
    margin-top: -8px;
}

.price-detail {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list .positive {
    color: var(--secondary-color);
}

.features-list .negative {
    color: #E53E3E;
}

.features-list .neutral {
    color: var(--text-light);
}

/* Pricing Examples */
.pricing-examples {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pricing-examples h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.example {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    text-align: center;
}

.example-scenario {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.example-revenue {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cost-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
}

.cost-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.example-comparison {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 32px;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.screenshot-carousel {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.screenshot-item {
    display: none;
}

.screenshot-item.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.screenshot-placeholder {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 24px;
}

.screenshot-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: block;
    margin: 0 auto 24px;
    object-fit: contain;
}

.mockup {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.mockup-header {
    background: #2D3748;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4A5568;
}

.mockup-title {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.mockup-content {
    background: var(--bg-secondary);
    padding: 40px;
    min-height: 400px;
}

/* Dashboard Mock */
.dashboard-mock {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.chart-area {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 6px 6px 0 0;
    min-height: 40px;
    transition: var(--transition);
}

.chart-bar:hover {
    opacity: 0.8;
}

/* Time Entry Mock */
.time-entry-mock {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.timer-display {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.timer-controls {
    display: flex;
    gap: 16px;
}

.mock-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mock-btn.primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.entry-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

/* Invoice Mock */
.invoice-mock {
    background: white;
    padding: 48px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.invoice-header-mock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.invoice-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.invoice-date {
    color: var(--text-light);
}

.invoice-client {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.invoice-lines {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.invoice-line {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.invoice-total {
    font-size: 1.75rem;
    font-weight: 800;
    text-align: right;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
    color: var(--primary-color);
}

.screenshot-caption {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-text h2 {
    color: white;
    margin-bottom: 20px;
}

.download-text p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
}

.info-item svg {
    flex-shrink: 0;
}

.download-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.download-platform {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.download-platform svg {
    color: var(--primary-color);
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.platform-version {
    color: var(--text-light);
    font-size: 0.875rem;
}

.download-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 16px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Final */
.cta-final {
    padding: 100px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-final h2 {
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: #1A202C;
    color: #A0AEC0;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #A0AEC0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2D3748;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-comparison {
        grid-template-columns: 1fr;
    }
    
    .comparison-card.featured {
        transform: none;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .invoice-line {
        grid-template-columns: 1fr;
        font-size: 0.875rem;
    }
    
    .mockup-content {
        padding: 20px;
        min-height: 300px;
    }
    
    .screenshot-image {
        max-width: 100%;
        border-radius: var(--radius-sm);
    }
    
    .screenshot-carousel {
        padding: 0 16px;
    }
    
    .timer-display {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card, .feature {
        padding: 24px;
    }
    
    .pricing-examples {
        padding: 32px 20px;
    }
}