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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #2563eb;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

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

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger {
    width: 24px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

.btn-mobile {
    background-color: #2563eb;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 8px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f0f9ff 100%);
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.hero-title-accent {
    color: #2563eb;
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-icon-blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.feature-icon-green {
    background-color: #dcfce7;
    color: #16a34a;
}

.feature-icon-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    color: #111827;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h3 {
    color: #111827;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 24px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-feature {
    background-color: #f9fafb;
    padding: 24px;
    border-radius: 12px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
}

.about-feature-icon-blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.about-feature-icon-green {
    background-color: #dcfce7;
    color: #16a34a;
}

.about-feature-icon-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.about-feature-icon-orange {
    background-color: #fed7aa;
    color: #ea580c;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.about-feature p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Services Section */
.services {
    background-color: #f9fafb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-icon-blue svg { color: #2563eb; }
.service-icon-green svg { color: #16a34a; }
.service-icon-purple svg { color: #9333ea; }
.service-icon-red svg { color: #dc2626; }

.service-card h3 {
    color: #111827;
    margin-bottom: 16px;
}

.service-card p {
    color: #6b7280;
}

.portal-features {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.portal-features-header {
    text-align: center;
    margin-bottom: 32px;
}

.portal-features-header h3 {
    color: #111827;
    margin-bottom: 16px;
}

.portal-features-header p {
    color: #6b7280;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check {
    width: 20px;
    height: 20px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.feature-card-main {
    background-color: #f9fafb;
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card-main:hover {
    background-color: white;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-main {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card-main:hover .feature-icon-main {
    transform: scale(1.1);
}

.feature-icon-main svg {
    width: 48px;
    height: 48px;
}

.feature-icon-blue svg { color: #2563eb; }
.feature-icon-green svg { color: #16a34a; }
.feature-icon-purple svg { color: #9333ea; }
.feature-icon-orange svg { color: #ea580c; }
.feature-icon-indigo svg { color: #6366f1; }
.feature-icon-teal svg { color: #0d9488; }

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

.feature-card-main p {
    color: #6b7280;
    margin-bottom: 16px;
}

.feature-highlight {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #dbeafe;
    color: #1d4ed8;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    color: white;
}

.cta-section h3 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    color: #bfdbfe;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-stat {
    text-align: center;
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.cta-stat-label {
    color: #bfdbfe;
}

/* Contact Section */
.contact {
    background-color: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h3 {
    color: #111827;
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 32px;
}

.contact-methods {
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-icon-blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.contact-icon-green {
    background-color: #dcfce7;
    color: #16a34a;
}

.contact-icon-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.contact-method h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.contact-method p {
    color: #6b7280;
    margin: 0;
}

.expectations {
    background-color: #dbeafe;
    padding: 24px;
    border-radius: 12px;
}

.expectations h4 {
    color: #1e40af;
    margin-bottom: 12px;
}

.expectations ul {
    list-style: none;
    color: #1e3a8a;
}

.expectations li {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.input-wrapper input {
    padding-left: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 48px 0 24px;
}

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    color: #2563eb;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: #9ca3af;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: #2563eb;
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact h3 {
    color: white;
    margin-bottom: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #9ca3af;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid-main {
        grid-template-columns: 1fr;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .feature-card,
    .service-card,
    .feature-card-main {
        padding: 24px;
    }
    
    .portal-features {
        padding: 32px 24px;
    }
    
    .cta-section {
        padding: 32px 24px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}