/* ============================================
   CGV-WEB - Elegant Modern Design
   Calorimeter Geometry Viewer
   ============================================ */

:root {
    --primary-cyan: #5ec8e5;
    --light-cyan: #75fbfd;
    --mid-cyan: #6dd5ed;
    --deep-cyan: #2193b0;
    --bg-white: #f5ebf8;
    --bg-light: #f5ebf8;
    --text-dark: #1d1d1f;
    --text-medium: #424245;
    --text-light: #6e6e73;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Main Container
   ============================================ */
.main-container {
    width: 100%;
    min-height: 100vh;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.content-wrapper {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

/* Animated Gradient Title */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 7rem;
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(90deg, 
        var(--primary-cyan) 0%,
        var(--light-cyan) 20%,
        var(--mid-cyan) 40%,
        var(--deep-cyan) 60%,
        var(--primary-cyan) 80%,
        var(--light-cyan) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    background-position: 0% 50%;
    letter-spacing: -0.03em;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Subtitle */
.subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-medium);
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

/* Lead Text */
.lead-text {
    font-size: 1.5rem;
    color: var(--text-medium);
    max-width: 820px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Secondary Text */
.secondary-text {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Launch Button */
.launch-btn {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--deep-cyan) 100%);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 980px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(94, 200, 229, 0.25);
}

.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(94, 200, 229, 0.35);
}

/* ============================================
   Section Title
   ============================================ */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* ============================================
   Technical Specs Section
   ============================================ */
.specs-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.specs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.spec-item h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.spec-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Legacy Section
   ============================================ */
.legacy-section {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.legacy-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legacy-text {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.legacy-text:last-child {
    margin-bottom: 0;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.features-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-row h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-row p {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Footer Section
   ============================================ */
.footer-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-credit {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-link {
    display: inline-block;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-cyan);
    border-radius: 980px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: var(--primary-cyan);
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .main-title {
        font-size: 5.5rem;
    }
}

@media (max-width: 992px) {
    .main-title {
        font-size: 4.5rem;
    }
    
    .subtitle {
        font-size: 2rem;
    }
    
    .lead-text {
        font-size: 1.375rem;
    }
    
    .secondary-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1.5rem 4rem;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 1.75rem;
    }
    
    .lead-text {
        font-size: 1.25rem;
    }
    
    .secondary-text {
        font-size: 1rem;
    }
    
    .launch-btn {
        padding: 1.25rem 3rem;
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .specs-section,
    .legacy-section,
    .features-section {
        padding: 4rem 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .spec-item h3 {
        font-size: 1.125rem;
    }
    
    .spec-item p {
        font-size: 0.9375rem;
    }
    
    .legacy-text {
        font-size: 1rem;
    }
    
    .feature-row h3 {
        font-size: 1.25rem;
    }
    
    .feature-row p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.75rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .lead-text {
        font-size: 1.125rem;
    }
    
    .launch-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    body {
        background: white;
    }
    
    .launch-btn,
    .footer-link {
        display: none;
    }
    
    .main-title {
        color: var(--text-dark);
        -webkit-text-fill-color: var(--text-dark);
    }
}