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

:root {
    --primary: #00A4BD;
    --secondary: #7B61FF;
    --accent: #FF9D5C;
    --dark: #1A2238;
    --light: #F4F8FB;
    --text: #333F51;
    --text-light: #667085;
    --white: #FFFFFF;
    --border: #E4E9F0;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

body {
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

main {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.3;
    color: var(--dark);
    font-weight: 700;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 164, 189, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(123, 97, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 164, 189, 0.1);
    color: var(--primary);
}

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

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-svg {
    margin-right: 10px;
}

.logo-text h1 {
    margin-bottom: 0;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav ul li a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a:focus::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: -1;
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.check-icon {
    margin-right: 10px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

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

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

.feature-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: 20px;
}

/* How It Works Section */
.howto-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

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

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.cta-container {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--light);
}

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    margin-bottom: 20px;
}

.footer-logo {
    margin-right: 20px;
}

.footer-brand-text h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.footer-brand-text span {
    color: var(--primary);
    font-weight: 400;
}

.footer-brand-text p {
    opacity: 0.7;
    font-size: 0.95rem;
}

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

.links-group h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.links-group ul li {
    margin-bottom: 10px;
}

.links-group ul li a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.links-group ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-keywords {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 30px;
}

.footer-keywords ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
}

.footer-keywords ul li {
    color: var(--white);
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-visual {
        width: 100%;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-sm);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    .main-nav ul li {
        margin: 0;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border);
    }
    
    .main-nav.active {
        max-height: 300px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .features-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature {
        margin-right: 0;
    }
}

/* Animations and Effects */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .step {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(2), .step:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3), .step:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4), .step:nth-child(4) {
    animation-delay: 0.6s;
}
