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

/* Body */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F9FAFB;
    color: #111827;
}

html {
    scroll-behavior: smooth;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    line-height: 1.2;
}

p {
    line-height: 1.6;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NavBar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #4F46E5;
}

.nav-links a.active {
    color: #4F46E5;
    font-weight: 600;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4F46E5;
}

/* Button */
.btn-primary {
    background-color: #4F46E5;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4338CA;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: #F9FAFB;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-secondary {
    border: 1px solid #4F46E5;
    color: #4F46E5;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #4F46E5;
    color: white;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #6B7280;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #E5E7EB;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #111827;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.5;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* How it works Section */
.how-it-works {
    padding: 80px 0;
    background: #F9FAFB;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
}

.step {
    flex: 1;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #4F46E5;
    color: white;
    margin: 0 auto 15px;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
}

.step h3 {
    margin-bottom: 10px;
    color: #111827;
}

.step p {
    color: #6B7280;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.testimonial-card p {
    font-style: italic;
    color: #374151;
    margin-bottom: 20px;
}

.user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.user h4 {
    font-size: 0.95rem;
    margin: 0;
}

.user span {
    font-size: 0.8rem;
    color: #6B7280;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #F9FAFB;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E5E7EB;
    position: relative;
    transition: all 0.3s;
}

.pricing-card h3 {
    margin-bottom: 10px;
}

.pricing-card h2 {
    margin: 15px 0;
    color: #4F46E5;
}

.pricing-card p {
    color: #6B7280;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-card ul li {
    margin: 8px 0;
    color: #374151;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.popular {
    border: 2px solid #4F46E5;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #4F46E5;
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

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

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 20px 0;
    cursor: pointer;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 10px;
}

.faq-item p {
    color: #6B7280;
    line-height: 1.6;
}

.faq-answer {
    display: none;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #F9FAFB;
}

.contact-form {
    max-width: 600px;
    margin: auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.error {
    color: red;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4F46E5;
}

/* Footer Section */
.footer {
    background: #111827;
    color: #D1D5DB;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 15px;
    color: white;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #4F46E5;
}

.footer-bottom {
    border-top: 1px solid #374151;
    text-align: center;
    padding: 15px 0;
    font-size: 0.85rem;
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4F46E5;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Show state */
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* All Card */
.feature-card,
.testimonial-card,
.pricing-card {
    transition: all 0.3s ease;
}