/* =================================================================
   Arctic Data - Website Stylesheet
   Version: 7.0 (Streamlined & Text Logo)
   =================================================================
   TABLE OF CONTENTS
   -----------------------------------------------------------------
   1.  Variables & Global Styles
   2.  Reusable Components
   3.  Navigation Bar (Text Logo)
   4.  Hero Section (Solid Color)
   5.  Card & Grid Layout
   6.  Solutions Section
   7.  Process Timeline
   8.  Footer
   9.  Animations & Responsive Design
   ================================================================= */

/* --- 1. Variables & Global Styles --- */
:root {
    --primary-color: #0A2540; --secondary-color: #4A90E2; --accent-color: #00D4FF;
    --text-color: #333; --text-color-light: #5f6f81; --bg-light: #F6F9FC;
    --border-color: #e0e6ed; --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 10px 30px rgba(74, 144, 226, 0.2);
    --border-radius: 10px; --transition-speed: 0.3s;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); line-height: 1.7; color: var(--text-color); background-color: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture { max-width: 100%; display: block; }
input, button { font: inherit; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--primary-color); }
a { color: var(--secondary-color); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--accent-color); }
hr { border: none; height: 1px; background-color: var(--border-color); margin: 25px 0; }
:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; border-radius: 4px; }

/* --- 2. Reusable Components --- */
.container { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.section-padding { padding-block: 100px; }
.section-title { text-align: center; font-size: clamp(2.2rem, 5vw, 2.8rem); margin-bottom: 20px; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: var(--text-color-light); max-width: 700px; margin: 0 auto 60px auto; }
.cta-button { display: inline-block; padding: 12px 28px; background-color: var(--accent-color); color: var(--primary-color); font-weight: bold; border-radius: 50px; transition: all var(--transition-speed) ease; border: none; cursor: pointer; font-size: 1rem; }
.cta-button:hover { background-color: var(--secondary-color); color: #fff; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4); }
.bg-light { background-color: var(--bg-light); }

/* --- 3. Navigation Bar (Text Logo) --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 15px 0; transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease, box-shadow var(--transition-speed) ease; }
.navbar.scrolled { background-color: rgba(10, 37, 64, 0.9); backdrop-filter: blur(5px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: bold; color: #fff; line-height: 1; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.05); }
.logo span { font-weight: 300; opacity: 0.8; font-size: 1.5rem; }
.nav-menu { display: flex; }
.nav-links { list-style: none; display: flex; gap: 35px; align-items: center; }
.nav-links a { color: #fff; padding-block: 5px; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width var(--transition-speed) ease; }
.nav-links a:hover::after { width: 100%; }
.mobile-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 1001; }

/* --- 4. Hero Section (Solid Color) --- */
#hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-color: var(--primary-color); }
.hero-content { max-width: 800px; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 20px; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 700px; margin: 0 auto 40px auto; opacity: 0.9; }
.hero-cta { font-size: 1.2rem; padding: 15px 40px; }

/* --- 5. Card & Grid Layout --- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { background-color: #fff; padding: 30px; border-radius: var(--border-radius); box-shadow: var(--card-shadow); text-align: center; border: 1px solid var(--border-color); transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease; }
.card:hover { transform: translateY(-10px); box-shadow: var(--card-shadow-hover); }
.card .icon { font-size: 3rem; color: var(--secondary-color); margin-bottom: 20px; }
.card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.card p { color: var(--text-color-light); font-size: 0.95rem; }

/* --- 6. Solutions Section --- */
.solutions-container { display: flex; gap: 40px; align-items: flex-start; }
.tabs { display: flex; flex-direction: column; flex: 0 0 250px; }
.tab-button { background: none; border: none; padding: 15px 20px; text-align: left; font-size: 1.1rem; cursor: pointer; border-radius: 8px; margin-bottom: 10px; transition: all var(--transition-speed) ease; font-weight: 500; color: var(--text-color-light); border-left: 4px solid transparent; }
.tab-button i { margin-right: 15px; width: 20px; color: var(--secondary-color); }
.tab-button:hover, .tab-button:focus-visible { background-color: #eaf2fb; }
.tab-button.active { background-color: #fff; color: var(--primary-color); font-weight: bold; border-left-color: var(--secondary-color); box-shadow: var(--card-shadow); }
.content-panel { display: none; background-color: #fff; padding: 40px; border-radius: var(--border-radius); box-shadow: var(--card-shadow); border: 1px solid var(--border-color); }
.content-panel.active { display: block; animation: contentFadeIn 0.5s ease; }
@keyframes contentFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.content-panel h3 { font-size: 1.8rem; margin-bottom: 20px; }
.content-panel p { margin-bottom: 15px; line-height: 1.8; }

/* --- 7. Process Timeline --- */
.process-timeline { display: flex; justify-content: space-between; position: relative; }
.process-timeline::before { content: ''; position: absolute; top: 25px; left: 10%; right: 10%; height: 2px; background-color: var(--border-color); z-index: 1; }
.process-step { flex: 1; text-align: center; padding: 0 20px; position: relative; }
.step-number { width: 50px; height: 50px; border-radius: 50%; background-color: #fff; border: 2px solid var(--secondary-color); color: var(--secondary-color); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px auto; z-index: 2; position: relative; transition: all var(--transition-speed) ease; }
.process-step:hover .step-number { background-color: var(--secondary-color); color: #fff; transform: scale(1.1); }
.process-step h4 { font-size: 1.2rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--text-color-light); }

/* --- 8. Footer --- */
.footer { background-color: #061a2f; color: rgba(255, 255, 255, 0.7); padding: 60px 0 20px 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; align-items: start; }
.footer h3 { font-size: 1.8rem; }
.footer h3 span { font-weight: 300; opacity: 0.8; font-size: 1.5rem; }
.footer h4 { color: #fff; margin-bottom: 15px; }
.footer a { color: rgba(255, 255, 255, 0.7); }
.footer a:hover { color: var(--accent-color); }
.footer-contact i { margin-right: 10px; color: var(--accent-color); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; }

/* --- 9. Animations & Responsive Design --- */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--delay, 0s); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
    .section-padding { padding-block: 60px; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100vh;
        background-color: rgba(10, 37, 64, 0.98); backdrop-filter: blur(8px);
        display: flex; flex-direction: column; align-items: center;
        padding-top: 100px; transition: right 0.4s ease-in-out;
    }
    .nav-menu.is-active { right: 0; }
    .nav-links { flex-direction: column; text-align: center; gap: 30px; }
    .nav-links a { font-size: 1.2rem; }
    .mobile-menu-toggle { display: block; }
    .solutions-container { flex-direction: column; }
    .tabs { flex-direction: row; overflow-x: auto; flex: 1 1 auto; margin-bottom: 20px; padding-bottom: 10px; }
    .tab-button { white-space: nowrap; }
    .process-timeline { flex-direction: column; gap: 40px; }
    .process-timeline::before { display: none; }
    .footer-content { grid-template-columns: 1fr; }
}
