/* Base Styles and Variables */
:root {
    --primary-color: #00b8a9;
    --secondary-color: #0f4c75;
    --accent-color: #f8b400;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --black: #121212;
    --card-bg: var(--white);
    --border-radius: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.8rem;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 5rem 0;
}

/* Header and Navigation */
header {
    padding: 1.5rem 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-svg {
    width: 180px;
    height: auto;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.desktop-nav a:hover:after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-button span:nth-child(1) {
    top: 0;
}

.mobile-menu-button span:nth-child(2) {
    top: 10px;
}

.mobile-menu-button span:nth-child(3) {
    top: 20px;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

.mobile-nav {
    display: none;
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.mobile-nav.active {
    height: auto;
    padding: 1.5rem 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin: 1rem 0;
}

.mobile-nav a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.9) 0%, rgba(0, 184, 169, 0.8) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230f4c75" opacity="0.3"/><path d="M0 50 L100 50" stroke="%23ffffff" stroke-width="0.5" opacity="0.3"/><path d="M50 0 L50 100" stroke="%23ffffff" stroke-width="0.5" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 7rem 1rem;
    border-radius: 0 0 50px 50px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--black);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.centered {
    justify-content: center;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--bg-color);
    position: relative;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 4rem;
}

.step-icon {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 184, 169, 0.3);
}

.step:not(:last-child) .step-icon::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% - 30px);
    background-color: var(--primary-color);
    opacity: 0.3;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--bg-color);
}

.faq-question {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
    max-height: 1000px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem;
    border-radius: var(--border-radius);
    margin: 3rem 1.5rem;
}

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

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

.cta-section .cta-button:hover {
    background-color: transparent;
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 1rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #aaa;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin: 0 auto 1rem;
    }
    
    .step:not(:last-child) .step-icon::after {
        left: 50%;
        top: 60px;
        width: 2px;
        height: calc(100% - 60px);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 5rem 1rem;
    }
}
