/* Base Styles */
:root {
    --primary: #1e88e5;
    --primary-dark: #0d47a1;
    --primary-light: #64b5f6;
    --secondary: #263238;
    --accent: #ff9800;
    --text-light: #ffffff;
    --text-dark: #212121;
    --text-muted: #757575;
    --bg-light: #f5f5f5;
    --bg-dark: #263238;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Hexagon Background */
.hexagon-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hexagon {
    position: absolute;
    background: linear-gradient(120deg, var(--primary-light) 0%, var(--primary) 100%);
    opacity: 0.1;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: float 20s infinite ease-in-out;
}

.h1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.h2 {
    top: 60%;
    left: 80%;
    width: 250px;
    height: 250px;
    animation-delay: -5s;
}

.h3 {
    top: 80%;
    left: 10%;
    width: 200px;
    height: 200px;
    animation-delay: -10s;
}

.h4 {
    top: 30%;
    left: 70%;
    width: 180px;
    height: 180px;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Header */
header {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary);
}

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

.main-menu a {
    color: var(--secondary);
    font-weight: 500;
    position: relative;
}

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

.main-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

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

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    text-align: left;
}

.hero-content h2::after {
    left: 0;
    transform: none;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.button-group {
    display: flex;
    gap: 15px;
}

.button {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
}

.button.primary {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

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

.button.secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: pulse 3s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

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

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

.feature {
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary);
}

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

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

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: #f9fafb;
    position: relative;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-light);
    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.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.action-block {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    color: var(--text-light);
}

.action-block h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.action-block .button.primary {
    background-color: white;
    color: var(--primary);
}

.action-block .button.primary:hover {
    background-color: var(--accent);
    color: white;
}

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

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

.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    padding: 20px;
    background-color: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.accordion-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--secondary);
}

.accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-icon::before {
    width: 20px;
    height: 2px;
}

.accordion-icon::after {
    width: 2px;
    height: 20px;
    transition: var(--transition);
}

.accordion-content {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 20px;
}

.accordion-item.active .accordion-header {
    background-color: var(--primary);
}

.accordion-item.active .accordion-header h3 {
    color: white;
}

.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
    background-color: white;
}

.accordion-item.active .accordion-icon::after {
    opacity: 0;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

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

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

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

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

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

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--text-light);
}

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

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

    .hero-content h2 {
        text-align: center;
        font-size: 2.8rem;
    }

    .hero-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .button-group {
        justify-content: center;
    }

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

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

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        z-index: 100;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
    }

    .main-menu {
        flex-direction: column;
        gap: 20px;
    }

    nav.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

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

    .footer-links {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
}
