/* Base Styles & Variables */
:root {
    --primary-color: #1a5cb0;
    --secondary-color: #00d2ff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --dark-color: #132743;
    --light-color: #f8f9fa;
    --gray-color: #e9ecef;
    --text-color: #343a40;
    --accent-color: #ff9a3c;
    --success-color: #20bf6b;
    --border-radius: 8px;
    --card-radius: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.25s ease;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    font-weight: 400;
}

img, svg {
    max-width: 100%;
    height: auto;
}

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

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

ul, ol {
    list-style: none;
}

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

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

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 4px 6px rgba(26, 92, 176, 0.2));
}

.logo h1 {
    font-size: 1.65rem;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    gap: 32px;
}

nav ul li a {
    font-weight: 500;
    padding: 6px 2px;
    position: relative;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 1.05rem;
}

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

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:after {
    width: 100%;
}

.try-btn {
    margin-left: 24px;
    padding: 10px 24px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 210, 255, 0.3);
    transition: var(--transition);
}

.try-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 210, 255, 0.4);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--gray-color);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(58, 123, 213, 0.15) 100%);
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(26, 92, 176, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark-color);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content h2 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content h2 span::after {
    content: '';
    position: absolute;
    height: 8px;
    width: 100%;
    background-color: rgba(0, 210, 255, 0.3);
    bottom: 8px;
    left: 0;
    z-index: -1;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 36px;
    color: var(--text-color);
    line-height: 1.8;
    opacity: 0.85;
    max-width: 90%;
}

.hero-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.hero-image-container {
    position: relative;
    display: inline-block;
}

.hero-main-image {
    max-width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
}

.hero-decoration {
    position: absolute;
    z-index: 1;
}

.hero-decoration-1 {
    top: -20px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    transform: rotate(25deg);
    opacity: 0.8;
}

.hero-decoration-2 {
    bottom: -15px;
    left: -25px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
}

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

.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(26, 92, 176, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(26, 92, 176, 0.3);
    color: white;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    gap: 8px;
    transition: var(--transition);
}

.cta-secondary svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.cta-secondary:hover {
    color: var(--secondary-color);
}

.cta-secondary:hover svg {
    transform: translateX(4px);
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 60px;
}

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

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

.step-content h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
}

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

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

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

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

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

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

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

.footer-column h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--box-shadow);
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .features h2, 
    .how-it-works h2, 
    .faq h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

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