/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --text: #0f172a;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section - Clean SaaS Style */
.hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 120px 24px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 32px;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgb(99 102 241 / 0.2), 0 2px 4px -2px rgb(99 102 241 / 0.1);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(99 102 241 / 0.3), 0 4px 6px -4px rgb(99 102 241 / 0.2);
}

.hero-wave {
    display: none;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-delay {
    animation: fadeIn 0.6s ease-out 0.15s both;
}

.fade-in-delay-2 {
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.fade-in-delay-3 {
    animation: fadeIn 0.6s ease-out 0.45s both;
}

/* Problems Section */
.problems {
    padding: 100px 24px;
    background: var(--bg);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.card {
    background: var(--bg);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border-color: #cbd5e1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* Solution Section */
.solution {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.solution-grid {
    display: grid;
    gap: 24px;
    margin: 60px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.solution-item {
    background: var(--bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgb(99 102 241 / 0.1);
}

.solution-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-item h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.solution-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.0625rem;
}

.pricing-box {
    background: var(--bg);
    border: 2px solid var(--border);
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-box h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.price-items {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 32px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.price-item strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    background: var(--bg);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text);
}

.cta-content > p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--bg);
    padding: 48px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 16px;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    font-size: 1.0625rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgb(99 102 241 / 0.2);
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(99 102 241 / 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
    box-shadow: 0 10px 15px -3px rgb(16 185 129 / 0.3);
}

.form-success h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.form-success p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* FAQ Section - Pure CSS Accordion */
.faq-section {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Hide checkbox completely */
.faq-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Question label */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
}

/* Icon */
.faq-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
    font-weight: 300;
}

/* Answer hidden by default */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 28px 28px 28px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.0625rem;
    margin: 0;
}

/* When checkbox is checked */
.faq-toggle:checked + .faq-question {
    color: var(--primary);
}

.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 800px;
}

/* Footer - Light & Elegant */
.footer {
    background: var(--bg-secondary);
    padding: 80px 24px 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-brand {
    flex: 0 0 100%;
    margin-bottom: 24px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.footer-contact,
.footer-service {
    flex: 0 0 auto;
}

.footer h4 {
    font-size: 0.875rem;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact p,
.footer-service p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-services-line {
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-top: 12px;
}

.footer-services-line:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solution-item {
        flex-direction: column;
    }
    
    .solution-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .price-items {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-box,
    .contact-form {
        padding: 32px 24px;
    }
    
    .problems,
    .solution,
    .cta-section,
    .faq-section {
        padding: 60px 20px;
    }
    
    .footer {
        padding: 60px 20px 32px;
    }
    
    .footer-content {
        gap: 40px;
        flex-direction: column;
    }
    
    .footer-contact,
    .footer-service {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .card,
    .solution-item {
        padding: 28px 20px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px 20px;
        font-size: 1rem;
    }
}
