﻿:root {
    --bg-light: #F8F9FA;
    --text-main: #14213D;
    --text-muted: #495057;
    --primary: #005F73;
    --secondary: #0A9396;
    --accent: #E9D8A6;
    --white: #FFFFFF;
    --shadow: 0 15px 35px rgba(0,0,0,0.08);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Unique Graphic Element: CSS Diagonal Stripes Pattern */
.pattern-bg {
    background: repeating-linear-gradient(
        -45deg,
        rgba(0, 95, 115, 0.03),
        rgba(0, 95, 115, 0.03) 20px,
        transparent 20px,
        transparent 40px
    );
}

h1, h2, h3 { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--primary); }

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--primary); }
.logo img { width: 36px; height: 36px; }

nav a { color: var(--text-main); text-decoration: none; margin-left: 25px; font-weight: 600; font-size: 1.1rem; transition: color 0.3s; }
nav a:hover { color: var(--secondary); }

section { padding: 6rem 5%; }

/* Hero Section (Text + Form Side-by-Side) */
.hero { display: flex; gap: 4rem; align-items: center; background: var(--white); border-bottom: 1px solid #eee; }
.hero-text { flex: 1.2; }
.hero-text h1 { font-size: 4.2rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-main); }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 90%; }

.hero-form-box {
    flex: 0.8;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--secondary);
}
.hero-form-box h3 { font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center; }

form { display: flex; flex-direction: column; gap: 1rem; }
input { padding: 1.2rem; border: 1px solid #dee2e6; border-radius: 8px; font-family: inherit; font-size: 1rem; background: #f8f9fa; transition: all 0.3s; }
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,95,115,0.1); }
.checkbox-wrap { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }
.checkbox-wrap input { width: auto; margin-top: 4px; }
.checkbox-wrap a { color: var(--secondary); }

button[type="submit"] {
    background: var(--primary); color: var(--white); border: none; padding: 1.2rem;
    font-size: 1.2rem; font-weight: 700; border-radius: 8px; cursor: pointer;
    transition: background 0.3s, transform 0.2s; margin-top: 1rem;
}
button[type="submit"]:hover { background: var(--secondary); transform: translateY(-2px); }
button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }

.success-msg { display: none; text-align: center; padding: 2rem; background: #E8F5E9; color: #2E7D32; border-radius: 12px; border: 1px solid #C8E6C9; }
.success-msg i { font-size: 3rem; margin-bottom: 1rem; }

/* Random Section: Use Cases */
.use-cases { text-align: center; }
.use-cases h2 { font-size: 3rem; margin-bottom: 3rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--white); padding: 3rem 2rem; border-radius: 15px; box-shadow: var(--shadow); transition: transform 0.3s; }
.card:hover { transform: translateY(-10px); }
.card i { font-size: 3rem; color: var(--accent); margin-bottom: 1.5rem; }
.card h4 { font-size: 1.5rem; margin-bottom: 1rem; }

/* About Section */
.about { background: var(--primary); color: var(--white); text-align: center; }
.about h2 { color: var(--accent); font-size: 3rem; margin-bottom: 2rem; }
.about p { font-size: 1.2rem; max-width: 900px; margin: 0 auto 1.5rem; opacity: 0.9; }

/* Features (Asymmetric) */
.features { display: flex; align-items: center; gap: 4rem; }
.features img { flex: 1; max-width: 50%; border-radius: 20px; box-shadow: var(--shadow); object-fit: cover; height: 500px; }
.feat-text { flex: 1; }
.feat-text h2 { font-size: 2.8rem; margin-bottom: 2rem; }
.feat-list { list-style: none; }
.feat-list li { display: flex; align-items: center; gap: 15px; font-size: 1.2rem; margin-bottom: 1.5rem; padding: 1rem; background: var(--white); border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.feat-list i { color: var(--secondary); font-size: 1.5rem; }

/* FAQ Section */
.faq { max-width: 800px; margin: 0 auto; padding-bottom: 8rem; }
.faq h2 { font-size: 3rem; text-align: center; margin-bottom: 3rem; }
details { background: var(--white); margin-bottom: 1rem; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid #eaeaea; }
summary { padding: 1.5rem; font-size: 1.2rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f067'; font-family: 'FontAwesome'; color: var(--secondary); transition: transform 0.3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); }

/* Footer */
footer { background: #0B132B; color: #fff; padding: 4rem 5% 2rem; }
.foot-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.foot-col h4 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--accent); }
.foot-col a { display: block; color: #ced4da; text-decoration: none; margin-bottom: 0.8rem; transition: color 0.3s; }
.foot-col a:hover { color: var(--white); }
.foot-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; color: #6c757d; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -150px; left: 0; width: 100%; background: #14213D; color: #fff; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: transform 0.5s ease-in-out; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); }
.cookie-text p { font-size: 0.95rem; margin-bottom: 5px; }
.cookie-text a { color: var(--accent); }
.cookie-actions button { padding: 0.8rem 1.5rem; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; margin-left: 10px; }
.btn-ok { background: var(--secondary); color: #fff; }
.btn-no { background: transparent; border: 1px solid #fff; color: #fff; }

/* Legal Pages */
.legal-main { padding: 5rem 5%; }
.legal-box { background: var(--white); max-width: 900px; margin: 0 auto; padding: 4rem; border-radius: 15px; box-shadow: var(--shadow); border-top: 5px solid var(--primary); }
.legal-box h1 { font-size: 2.5rem; margin-bottom: 2rem; border-bottom: 2px solid #eee; padding-bottom: 1rem; }
.legal-box h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--text-main); }
.legal-box p, .legal-box ul { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1.05rem; }
.legal-box ul { padding-left: 1.5rem; }
.legal-box a { color: var(--secondary); font-weight: 600; }
.map-box { width: 100%; height: 350px; border-radius: 10px; overflow: hidden; margin-top: 2rem; }

@media(max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 3rem; }
    .features { flex-direction: column-reverse; }
    .features img { max-width: 100%; height: auto; }
}
@media(max-width: 600px) {
    .hero-text h1 { font-size: 3rem; }
    .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
    .legal-box { padding: 2rem; }
}
