/* 
    Theme: Crystal Clear Luxury
    Palette:
    Crystal Navy: #12344A
    Sky Blue: #49A9E8
    Clear Aqua: #70D7E5
    Ice Blue: #EAF8FD
    Pure White: #FFFFFF
    Silver Gray: #DCE7ED
    Champagne: #C7B99A
*/

:root {
    --primary: #12344A;
    --secondary: #49A9E8;
    --accent: #70D7E5;
    --light-bg: #F3F8FB;
    --white: #FFFFFF;
    --text: #263746;
    --text-light: #5a6b7c;
    --champagne: #C7B99A;
    --shadow: 0 10px 30px rgba(18, 52, 74, 0.08);
    --glass: rgba(255, 255, 255, 0.85);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

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

.section { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--primary); color: var(--white); }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mt-2 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(73, 169, 232, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    border: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-nav {
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(18, 52, 74, 0.05);
    padding: 15px 0;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.dot { color: var(--secondary); }

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

.nav-links a {
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #EAF8FD 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(73, 169, 232, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* CSS Crystal Glass Visual */
.glass-panel {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(18, 52, 74, 0.1);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.reflection {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
}

.droplet {
    position: absolute;
    background: rgba(112, 215, 229, 0.3);
    border-radius: 50%;
    box-shadow: inset 2px 2px 5px rgba(255,255,255,0.8);
}

.d1 { width: 20px; height: 20px; top: 30%; left: 20%; }
.d2 { width: 15px; height: 15px; top: 60%; left: 70%; }

.sun-ray {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0.6;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Trust Strip */
.trust-strip {
    background: var(--primary);
    color: var(--white);
    padding: 20px 0;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
    font-weight: 600;
}

/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(220, 231, 237, 0.5);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.css-window-frame {
    width: 100%;
    height: 300px;
    border: 10px solid var(--primary);
    background: linear-gradient(to bottom, #87CEEB, #EAF8FD);
    position: relative;
    border-radius: 5px;
}

.css-window-frame::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 10px; height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
}

.css-window-frame::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 10px;
    background: var(--primary);
    transform: translateY(-50%);
}

.shine {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
}

/* Benefits */
.bg-gradient {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.benefit-card {
    text-align: center;
    padding: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: 100%;
    background: var(--silver);
    z-index: 1;
}

.timeline-item:last-child::before { display: none; }

.step-content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-grow: 1;
}

/* Pricing Factors */
.factor-card {
    background: var(--white);
    padding: 25px;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--shadow);
}

.cta-box {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.cta-box h3 { color: var(--white); }

/* Showcase CSS Art */
.showcase-card {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: var(--white);
    font-weight: bold;
}

.abstract-window {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #49A9E8, #12344A);
    z-index: -1;
}

.abstract-window::after {
    content: '';
    position: absolute;
    top: 20%; left: 20%; width: 60%; height: 60%;
    border: 2px solid rgba(255,255,255,0.3);
}

.card-2 .abstract-window { background: linear-gradient(135deg, #70D7E5, #49A9E8); }
.card-3 .abstract-window { background: linear-gradient(135deg, #C7B99A, #12344A); }

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-bg);
}

.comparison-table th {
    background: var(--primary);
    color: var(--white);
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

/* Article Styling */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 { margin-top: 40px; color: var(--primary); }
.article-content h3 { margin-top: 25px; color: var(--secondary); }
.article-content p { margin-bottom: 15px; color: var(--text); }
.article-content ul { margin-bottom: 20px; padding-left: 20px; list-style: disc; }
.article-content li { margin-bottom: 10px; }

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--silver);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary);
}

.faq-question.active::after { content: '-'; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 20px;
}

.faq-answer p {
    padding-bottom: 15px;
    color: var(--text-light);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-card {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.info-card a { color: var(--accent); }

.hours-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.hours-card ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.map-placeholder {
    background: #1e2a36;
    border-radius: var(--border-radius);
    height: 100%;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.map-pin {
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 20px var(--secondary);
    animation: pulse 2s infinite;
}

.map-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Footer */
footer {
    background: #0d2535;
    color: var(--silver);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h3 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--secondary); }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-links.active { left: 0; }
    .hamburger { display: block; }
    .btn-nav { display: none; } /* Hide header CTA on mobile, show in menu if needed */
    
    .hero-grid, .split-layout, .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual { order: -1; } /* Image on top for mobile */
    
    h1 { font-size: 2rem; }
    
    .timeline-item { flex-direction: column; gap: 10px; }
    .timeline-item::before { display: none; }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 { transition-delay: 0.2s; }