@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #4f46e5;      /* Indigo 600 */
    --primary-hover: #4338ca; /* Indigo 700 */
    --secondary: #0ea5e9;    /* Sky 500 */
    --dark: #0f172a;         /* Slate 900 */
    --gray-text: #64748b;    /* Slate 500 */
    --gray-light: #f1f5f9;   /* Slate 100 */
    --border: #e2e8f0;       /* Slate 200 */
    --bg-main: #ffffff;
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 8px;
    --font: 'Plus Jakarta Sans', sans-serif;
    --shadow-soft: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 10px 25px -5px rgba(79, 70, 229, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background-color: var(--gray-light);
    color: var(--dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header & Mobile Menu */
.site-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; position: relative; }
.logo { display: flex; align-items: center; gap: 2px; text-decoration: none; border: 1px solid #e2e8f0; padding: 4px 12px 4px 4px; border-radius: 8px; background: white; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.logo-box { background: linear-gradient(135deg, #4f46e5, #0ea5e9); color: white; padding: 6px 10px; border-radius: 6px; font-weight: 800; font-size: 16px; letter-spacing: 0.5px; }
.logo-text { font-weight: 800; font-size: 18px; color: #0f172a; margin-left: 6px; }
.logo-text span { color: #4f46e5; font-size: 16px; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { list-style: none; display: flex; gap: 32px; margin:0; padding:0; }
.main-nav a { text-decoration: none; color: var(--gray-text); font-weight: 600; font-size: 15px; transition: color 0.3s; }
.main-nav a:hover { color: var(--dark); }

.btn-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #ffffff !important; padding: 10px 24px; border-radius: 30px; text-decoration: none; font-weight: 700 !important; font-size: 14px; transition: transform 0.3s, box-shadow 0.3s; box-shadow: var(--shadow-glow); text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.4); }

.menu-toggle { display: none; background: transparent; border: none; font-size: 28px; cursor: pointer; color: var(--dark); }

/* Hero Section */
.hero-section { background: linear-gradient(180deg, #ffffff 0%, var(--gray-light) 100%); padding: 50px 0 60px; text-align: center; border-bottom: 1px solid var(--border); }
.hero-centered { max-width: 800px; margin: 0 auto; }
.badge { background: rgba(79, 70, 229, 0.1); color: var(--primary); padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; display: inline-block; }
.hero-centered h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -2px; color: var(--dark); }
.hero-centered p { font-size: 20px; color: var(--gray-text); margin-bottom: 40px; font-weight: 400; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; margin-bottom: 24px; }
.btn-primary { background: var(--primary); color: white; padding: 14px 28px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 16px; transition: all 0.3s; box-shadow: var(--shadow-glow); display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); color: white;}
.btn-outline { background: white; color: var(--dark); padding: 14px 28px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid var(--border); font-size: 16px; transition: all 0.3s; box-shadow: var(--shadow-soft); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* Grids & Cards (With 'Open tool' buttons) */
.section-padding { padding: 80px 0; background: var(--bg-main); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px;}
.section-header p { font-size: 18px; color: var(--gray-text); max-width: 600px; margin: 0 auto;}

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; transition: all 0.3s; text-decoration: none; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--primary); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(79, 70, 229, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-weight: bold; font-size: 18px; }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.card p { font-size: 14px; color: var(--gray-text); margin-bottom: 24px; flex-grow: 1; }

/* The Requested Button Style */
.btn-open { display: inline-block; padding: 10px 20px; background: var(--primary); color: white; border-radius: 8px; font-weight: 700; text-align: center; font-size: 14px; transition: all 0.3s; align-self: flex-start; }
.card:hover .btn-open { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3); color: white;}

/* Subpage Content */
.page-container { padding: 40px 0 80px; display: grid; grid-template-columns: 1fr; gap: 40px; }
.content-wrapper { background: white; padding: 48px; border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-soft); max-width: 900px; margin: 0 auto;}
.breadcrumbs { margin-bottom: 24px; font-size: 14px; color: var(--gray-text); font-weight: 500;}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs span { margin: 0 12px; color: #cbd5e1; }

.content-wrapper h1 { font-size: 36px; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; color: var(--dark); }
.content-wrapper p { margin-bottom: 24px; font-size: 17px; color: #475569; line-height: 1.8;}
.content-wrapper h2 { font-size: 26px; font-weight: 800; margin: 40px 0 20px; color: var(--dark); }
.content-wrapper ul { margin: 0 0 24px 24px; font-size: 17px; color: #475569; }
.content-wrapper li { margin-bottom: 12px; }

/* Obvious inline links */
.content-wrapper a:not(.btn-primary):not(.btn-outline):not(.btn-open):not(.btn-cta) { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; }
.content-wrapper a:hover:not(.btn-primary):not(.btn-outline):not(.btn-open):not(.btn-cta) { color: var(--secondary); }

/* Checkbox Tool Container */
.tool-container { background: var(--gray-light); border: 1px solid var(--border); padding: 40px; border-radius: var(--radius-lg); margin: 40px 0; }
.form-group { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 16px; transition: all 0.2s;}
.form-group:hover { border-color: var(--primary); }
.form-group label { display: block; font-weight: 600; font-size: 15px; color: var(--dark); cursor: pointer; width: 100%;}
.form-group input[type="text"], .form-group input[type="number"], .form-group select { width: 100%; border: none; outline: none; font-size: 15px; background: transparent; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: white; padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-desc { color: var(--gray-text); font-size: 15px; max-width: 300px; line-height: 1.6;}
.footer-col h3 { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--gray-text); text-decoration: none; font-size: 14px; font-weight: 500; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); color: #94a3b8; font-size: 13px; display: flex; justify-content: space-between; font-weight: 500;}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); flex-direction: column; padding: 24px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border); align-items: flex-start; gap: 24px; }
    .main-nav.active { display: flex; }
    .main-nav ul { flex-direction: column; width: 100%; gap: 16px; }
    .main-nav a { font-size: 18px; padding: 8px 0; display: block; width: 100%; border-bottom: 1px solid var(--border); }
    .btn-cta { width: 100%; text-align: center; margin-top: 8px; }
    .cards-grid { grid-template-columns: 1fr; }
    .cards-grid-3 { grid-template-columns: 1fr; }
    .hero-centered h1 { font-size: 40px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .content-wrapper { padding: 32px 24px; }
    .hero-section { padding: 30px 0 40px !important; }
}

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #0f172a; color: white; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; z-index: 9999; font-size: 14px; transform: translateY(100%); transition: transform 0.4s ease-out; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { margin: 0; color: #cbd5e1; font-size: 14px; }
.cookie-banner a { color: #0ea5e9; text-decoration: underline; }
.cookie-btn { background: #4f46e5; color: white; border: none; padding: 8px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; margin-left: 16px; }
@media (max-width: 768px) { .cookie-banner { flex-direction: column; text-align: center; gap: 12px; } .cookie-btn { margin-left: 0; width: 100%; } }
