:root {
    --primary-color: #00b4db;
    --primary-dark: #0083b0;
    --secondary-color: #ff9a9e;
    --accent-color: #fecfef;
    --text-color: #2c3e50;
    --bg-color: #e0f7fa;
    --card-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --font-main: 'Zen Kaku Gothic New', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.hero {
    height: 60vh;
    background: url('https://images.unsplash.com/photo-1612872087720-bb876e2e67d1?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,180,219,0.4));
    border-radius: 0 0 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 20px;
    margin: -4rem auto 2rem;
    width: 90%;
    max-width: 1000px;
    border-radius: 50px;
    box-shadow: var(--shadow-light);
    z-index: 100;
    padding: 1rem 2rem;
}

.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-list a {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.nav-list a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Images */
.top-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.featured-img {
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s;
}
.featured-img:hover {
    transform: scale(1.02);
}

/* Grid */
.techniques-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
    border-radius: 2px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 180, 219, 0.2);
    background: white;
}

.card-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.card-img img {
    max-height: 100%;
    object-fit: contain;
}

.card-title {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* Info Section */
.info-section {
    margin-bottom: 4rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.glass-panel p {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #444;
}

.diagram-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Data Table */
.data-section {
    margin-bottom: 4rem;
}

.sub-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    border-left: 5px solid var(--secondary-color);
    padding-left: 1rem;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.styled-table thead tr {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
}

.styled-table th, .styled-table td {
    padding: 15px 20px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #bbb;
    font-weight: 500;
}

.footer-nav a:hover {
    color: white;
}

.copyright {
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .nav-list {
        gap: 0.5rem;
    }
    
    .nav-list li {
        width: 30%;
        text-align: center;
    }
    
    .nav-list a {
        font-size: 0.9rem;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
