/* Base Styles and Variables */
:root {
    --primary: #009688;
    --primary-light: #4DB6AC;
    --primary-dark: #00796B;
    --accent: #4CAF50;
    --accent-light: #81C784;
    --text-dark: #212121;
    --text-medium: #757575;
    --text-light: #FFFFFF;
    --background: #F5F5F5;
    --card-bg: #FFFFFF;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

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

main {
    flex: 1;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Header Styles */
header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.site-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0;
}

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

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

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

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

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

.menu-toggle.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

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

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

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

.main-nav a:hover:before {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

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

.hexagon-grid {
    overflow: visible;
    max-width: 400px;
}

.tech-icons circle {
    animation: pulse 3s infinite alternate;
}

.tech-icons circle:nth-child(1) {
    animation-delay: 0s;
}

.tech-icons circle:nth-child(2) {
    animation-delay: 0.5s;
}

.tech-icons circle:nth-child(3) {
    animation-delay: 1s;
}

.tech-icons circle:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes pulse {
    0% {
        r: 15;
        opacity: 0.7;
    }
    100% {
        r: 18;
        opacity: 0.9;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    box-shadow: 0 6px 16px rgba(0, 150, 136, 0.5);
    transform: translateY(-2px);
    color: var(--text-light);
}

.cta-button.large {
    padding: 16px 40px;
    font-size: 1.3rem;
}

/* About Section with Features */
.about-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

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

.feature-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0f2f1 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

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

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

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

/* Technology Section */
.tech-section {
    padding: 80px 0;
}

.tech-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.tech-details {
    flex: 1;
}

.tech-step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

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

.step-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.tech-illustration {
    max-width: 400px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    text-align: center;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-medium);
}

.cta-box {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Footer Styles */
footer {
    background-color: #263238;
    color: #eceff1;
    padding: 50px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text h3 {
    color: white;
    margin-bottom: 5px;
}

.brand-text p {
    color: var(--primary-light);
    margin: 0;
}

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

.link-group h4 {
    color: white;
    margin-bottom: 20px;
}

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

.link-group ul li a {
    color: #b0bec5;
}

.link-group ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #37474f;
    color: #78909c;
    font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
        opacity: 0;
    }
    
    .main-nav.active {
        transform: scaleY(1);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .tech-showcase {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .feature-card {
        padding: 20px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
}
