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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #737373;
    --bg-white: #f5f3f0;
    --bg-alt: #ebe8e3;
    --bg-card: #faf9f7;
    --border-color: #e0ddd8;
    --error: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 18px;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: filter 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(30, 58, 138, 0.6)) drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta-button {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
}

.nav-cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: 80px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--text-medium);
    line-height: 1.6;
}

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

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.cta-button.primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--bg-alt);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

/* Problem Statement Section */
.problems {
    padding: 100px 20px;
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.problem-card {
    background-color: var(--bg-card);
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.problem-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.problem-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 32px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 16px;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background-color: var(--bg-alt);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    background-color: var(--bg-card);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--bg-white);
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.submit-button:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--bg-white);
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 16px;
}

.footer-email {
    margin-top: 12px;
}

.footer-email a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-email a:hover {
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
        font-size: 15px;
    }

    .nav-cta-button {
        padding: 8px 20px;
        font-size: 15px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    .problems {
        padding: 80px 20px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 80px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 80px 20px;
    }

    .contact-form {
        padding: 32px 24px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .nav-cta-button {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
    }

    .logo-img {
        height: 40px;
    }

    .feature-card,
    .problem-card {
        padding: 32px 24px;
    }

    .contact-form {
        padding: 24px 20px;
    }
}
