@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Manrope:wght@800&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
    --bg-main: #EFF5F7;
    --text-main: #12303C;
    --text-muted: #537583;
    --primary-color: #0E7C9E;
    --primary-hover: #0a5c75;
    --card-bg: rgba(255, 255, 255, 0.45);
    --border-ice: rgba(14, 124, 158, 0.2);
    --border-ice-hover: rgba(14, 124, 158, 0.6);
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.4) 0px, rgba(255,255,255,0.4) 1px, transparent 1px, transparent 20px);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Manrope', 'Noto Sans SC', sans-serif;
    font-weight: 800;
}

.price span, .price, .badge, .counter {
    font-family: 'IBM Plex Mono', monospace;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-main);
}

.card, .pricing-card, .review-card, .faq-item {
    background: rgba(255, 255, 255, 0.7); /* Thicker frost */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9); /* White icy edge */
    box-shadow: 0 8px 32px rgba(18, 48, 60, 0.03); /* Faint shadow */
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover, .pricing-card:hover, .review-card:hover, .faq-item:hover {
    background: rgba(255, 255, 255, 0.25); /* Melted, more transparent */
    backdrop-filter: blur(8px); /* Clearer vision through glass */
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(14, 124, 158, 0.6); /* Vibrant glacier blue edge */
    box-shadow: 0 20px 50px rgba(14, 124, 158, 0.25); /* Deep colored water reflection */
    transform: translateY(-6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:active {
    transform: scale(0.95) !important;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(14, 124, 158, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 124, 158, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: rgba(239, 245, 247, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 140px 0 100px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 24px;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* Cards Layout */
.card {
    padding: 40px 30px;
    text-align: center;
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-muted);
}

.support-card {
    text-align: left;
    padding: 40px;
}

.support-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Pricing */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(14, 124, 158, 0.3);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1;
}

.pricing-card .price span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card ul {
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(14, 124, 158, 0.1);
    color: var(--text-muted);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Reviews */
.review-card {
    padding: 35px 30px;
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-main);
}

.review-card .author {
    font-weight: 700;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 25px 30px;
    margin-bottom: 20px;
}

.faq-item h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: rgba(18, 48, 60, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: rgba(18, 48, 60, 0.5);
    font-size: 0.9rem;
    font-family: 'IBM Plex Mono', monospace;
}

/* Scroll Fade Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility to override bg-light as we now use glass overlay for whole body */
.bg-light {
    background-color: transparent !important;
}

/* Media Queries (Mobile) */
@media (max-width: 768px) {
    .nav { display: none; }
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 2.5rem; }
    .grid-3, .grid-2, .pricing-table { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-5px); }
    .footer-links { flex-direction: column; gap: 20px; }
}

/* Accessibility & A11y Fixes */
:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: #fff; padding: 12px 24px; border-radius: 8px; z-index: 99999; font-weight: bold; transition: top 0.3s ease; }
.skip-link:focus { top: 20px; outline: none; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.section { scroll-margin-top: 80px; }

/* Touch Target Sizes */
.btn { min-height: 44px; }
.nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 5px; }

/* Details/Summary FAQ overrides */
details.faq-item summary { cursor: pointer; font-size: 1.2rem; font-weight: 700; color: var(--text-main); margin-bottom: 0; outline: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item p { margin-top: 15px; margin-bottom: 0; }
