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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand a {
    font-size: 20px;
    font-weight: 600;
    color: #6B46C1;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #6B46C1;
}

.nav-login-btn {
    padding: 8px 16px;
    border: 2px solid #6B46C1;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-login-btn:hover {
    background-color: #6B46C1;
    color: white !important;
}

.nav-register-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-register-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.nav-portal-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%);
    color: white !important;
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-portal-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(107, 70, 193, 0.3);
}

.nav-portal-btn i {
    font-size: 14px;
}

.nav-logout-btn {
    padding: 8px 16px;
    background-color: #dc3545;
    color: white !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-family: inherit;
    font-size: inherit;
}

.nav-logout-btn:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    z-index: 1001;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.hero-slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #6B46C1;
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #6B46C1;
}

/* Sections */
section {
    padding: 60px 0;
}

.vulnerability-section {
    background-color: #f8f9fa;
    text-align: center;
}

.vulnerability-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.vulnerability-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    color: #6B46C1;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* About Section */
.about-section {
    background-color: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #6B46C1;
}

.about-text p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

/* Why Section */
.why-section {
    background-color: white;
    text-align: center;
}

.why-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

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

.why-card {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.why-card p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #6B46C1;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%);
    color: white;
    text-align: center;
}

.stats-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    background-color: white;
    text-align: center;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

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

.service-card {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    color: #6B46C1;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f8f9fa;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

.page-content {
    padding: 60px 0;
}

.page-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.page-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #6B46C1;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    color: #666;
    margin-bottom: 5px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 10px;
    color: #6B46C1;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
}

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

.footer-credit {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #4a5568;
}

.footer-credit p {
    color: #cbd5e0;
    font-size: 14px;
    margin: 0;
}

.footer-credit a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .navbar .container {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-menu a,
    .nav-menu form {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav-login-btn,
    .nav-register-btn,
    .nav-portal-btn {
        display: block;
        text-align: center;
        margin-top: 10px;
        width: 100%;
    }

    .nav-logout-btn {
        width: 100%;
        display: block;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-slide h1 {
        font-size: 1.8rem;
    }

    .hero-slide p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .nav-brand a {
        font-size: 18px;
    }

    .navbar .container {
        padding: 12px 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .nav-menu {
        padding: 15px;
    }

    .nav-menu a,
    .nav-menu button {
        font-size: 16px;
        padding: 14px;
    }

    .nav-brand a {
        font-size: 16px;
    }
}

