/* Base Styles */
:root {
    --primary: #03A9F4;
    --primary-light: #4FC3F7;
    --primary-dark: #0288D1;
    --accent: #00BCD4;
    --white: #ffffff;
    --black: #212121;
    --gray-light: #f5f5f5;
    --gray: #9e9e9e;
    --gray-dark: #424242;
    --shadow: 0 4px 10px rgba(3, 169, 244, 0.1);
    --shadow-large: 0 10px 20px rgba(3, 169, 244, 0.2);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --radius: 8px;
    --radius-large: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

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

ul {
    list-style: none;
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
    color: var(--white);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: var(--shadow);
    }
    50% {
        transform: scale(1.03);
        box-shadow: var(--shadow-large);
    }
    100% {
        transform: scale(1);
        box-shadow: var(--shadow);
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo-container {
    width: 220px;
}

.logo {
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

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

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

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

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

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

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

.hero-visual svg {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

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

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-dark);
}

/* Technology Section */
.technology {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.tech-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.tech-content {
    flex: 1;
}

.tech-content p {
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.tech-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tech-visual svg {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Join Section */
.join-section {
    padding: 5rem 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.join-section h2 {
    margin-bottom: 1rem;
}

.join-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.join-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    margin-bottom: 2rem;
}

.join-section .btn-primary:hover {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.features-summary {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding-top: 4rem;
    margin-top: auto;
}

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

.footer-logo {
    width: 300px;
    height: 200px;
}

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

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--gray);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.copyright p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

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

    .hero-visual, .tech-visual {
        order: -1;
    }

    .hero-visual svg, .tech-visual svg {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 7rem 2rem 2rem;
        transition: var(--transition);
        z-index: 100;
    }

    nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-open .hamburger span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .hamburger span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

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

    .hero-cta {
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-logo {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .features-summary {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
