/* Base Reset & Variables */
:root {
    --primary-color: #9c27b0;
    --primary-light: #e1bee7;
    --secondary-color: #3f51b5;
    --secondary-light: #c5cae9;
    --accent-color: #2196f3;
    --accent-light: #bbdefb;
    --text-dark: #212121;
    --text-medium: #616161;
    --text-light: #ffffff;
    --bg-dark: #121212;
    --bg-gradient: linear-gradient(135deg, #9c27b0, #3f51b5);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.2;
}

img, svg {
    max-width: 100%;
    display: block;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.accent-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Header & Navigation */
.site-header {
    padding: 1rem 0;
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    max-width: 220px;
}

.logo-svg {
    height: 40px;
}

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

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

.nav-list a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

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

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

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

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

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

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

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

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

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

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

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

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 5rem 0 6rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    max-width: 450px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: translateY(1px); /* Prevent gap */
}

.wave-divider svg {
    width: 100%;
    height: 70px;
}

/* Buttons */
.primary-button, .secondary-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
}

.primary-button {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
}

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

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

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

/* Features Section */
.explore-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background-color: #ffffff;
    text-align: center;
}

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

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

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Technology Section */
.technology-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-features {
    margin: 2rem 0;
}

.tech-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.tech-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.tech-visual svg {
    width: 100%;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-placeholder {
    aspect-ratio: 2/3;
}

.gallery-caption {
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-medium);
}

.gallery-cta {
    margin-top: 3rem;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--bg-gradient);
    color: var(--text-light);
    text-align: center;
}

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

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

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

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

.footer-logo-svg {
    height: 40px;
}

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

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

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

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

.footer-column ul li a {
    color: #a0a0a0;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-favicon {
    width: 50px;
    height: 50px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 999;
        gap: 1.5rem;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 576px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
