@font-face {
  font-family: 'Google Sans Flex';
  src: url('/assets/fonts/GoogleSansFlex.ttf') format('truetype');
  font-weight: 100 900; /* Since it is a "Flex" (variable) font */
  font-style: normal;
  font-display: swap;
}

/* 2. CORPORATE VARIABLES - Refined Palette */
:root {
    --primary: #1244c4;      /* Hostinger/Atlassian Blue */
    --primary-dark: #0a318f;
    --text-main: #1d1d1f;    /* Apple-style deep gray */
    --text-muted: #6e6e73;
    --bg-light: #ffffff;
    --bg-alt: #f5f5f7;       
    --border: #d2d2d7;       /* Refined thin borders */
    --max-width: 1140px;
    --radius: 4px;           /* Sharp professional corners */
	--font-main: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --marquee-speed: 60s;
    --marquee-text-color: #333;
    --marquee-bg-color: #f5f5f7;
    --marquee-height: 30px;
    --marquee-font-size: 13px;
}

/* 3. GLOBAL RESET & SPACING FIX */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container, main, .nav-container, .footer-grid, .ads-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

main {
	padding-bottom: 10px;
	margin-bottom: 30px;
}

main h1:first-of-type {
	margin-top: 50px;
}

img {
    max-width: 97.65%;
    height: auto;
    box-sizing: border-box;
    padding: 8px;
    display: block;
    margin: 0 auto; 
}

/* Ensure sections have consistent vertical breathing room without extra space */
section { padding: 40px 0; }

/* 4. TYPOGRAPHY - Business Weights */
h1, h2, h3, h4 { color: var(--text-main); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 3rem; letter-spacing: -0.03em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; transition: 0.2s ease; }
a:hover { text-decoration: underline; }
.nav-link { 
    text-decoration: none !important; 
}

ul, ol {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.nav-list ul, ol {
    margin-top: 0;
    margin-bottom: 0;
}

pre {
    background: #282c34 !important; 
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    border: 1px solid #181a1f;
}

code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
}

.seo-breadcrumb { list-style: none; padding: 0; display: flex; gap: 8px; font-size: 0.85rem; color: #666; margin-bottom: 1.5rem; }
        .seo-breadcrumb a { color: var(--primary); text-decoration: none; transition: 0.2s; }
        .seo-breadcrumb a:hover { text-decoration: underline; }
        .aeo-bluf { background: var(--bg-alt); padding: 20px; border-left: 4px solid var(--primary); margin-bottom: 2rem; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .aeo-bluf h2 { margin-top: 0; font-size: 1.15rem; color: #1a1a1a; letter-spacing: -0.02em; }
        article h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 0.5rem; }
        .post-meta { color: #888; font-size: 0.9rem; margin-bottom: 2rem; border-bottom: 1px solid #eee; padding-bottom: 1rem; }

/* 5. HEADER & NAVIGATION */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-logo { height: 32px; width: 100%; margin: 0; padding: 0; margin-top: 5px;}

/* Desktop Menu */
.nav-list { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-link { 
    color: var(--text-main); 
    font-weight: 500; 
    font-size: 15px; 
    text-decoration: none !important;
}
.nav-link:hover { color: var(--primary); }

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); }

/* Dropdown logic */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    top: 100%;
    list-style: none;
    padding: 10px 0;
}
.dropdown-content li a {
    padding: 12px 20px;
    display: block;
    color: var(--text-main);
    font-size: 14px;
}
.dropdown-content li a:hover { background: var(--bg-alt); color: var(--primary); text-decoration: none; }
.dropdown:hover .dropdown-content { display: block; }
/* Container for the icon and link */
.dropdown-content li {
    display: flex;
    align-items: center; /* Vertically centers icon and text */
    gap: 12px;           /* Space between icon and text */
    padding: 8px 16px;   /* Standard dropdown padding */
}

/* Uniformly sizing the icons */
.dropdown-content li svg {
    width: 1.2em;        /* Scaled slightly larger than the text */
    height: 1.2em;
    flex-shrink: 0;      /* Prevents the icon from squishing on small screens */
    color: inherit;      /* Makes icon color match the link text */
}

/* Ensure the link itself doesn't have extra padding that breaks alignment */
.dropdown-content li a {
    padding: 0;
    margin: 0;
    display: inline-block;
    text-decoration: none;
}

.marquee-container {
    position: fixed;
    width: 100%;
    height: var(--marquee-height);
    overflow: hidden;
    white-space: nowrap;
    line-height: var(--marquee-height);
    background: var(--marquee-bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 9;
  }

  .top-marquee {
    left: 0;
    top: 70px; 
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .bottom-marquee {
    left: 0;
    bottom: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
  }

  .marquee-content {
    display: inline-block;
    padding: 0 10px;
    font-weight: 600;
    font-size: var(--marquee-font-size);
    color: var(--marquee-text-color);
  }

  .top-marquee .marquee-content {
    animation: marquee-rtl var(--marquee-speed) linear infinite;
    transform: translate3d(0, 0, 0);
  }

  .bottom-marquee .marquee-content {
    animation: marquee-ltr var(--marquee-speed) linear infinite;
    animation-delay: calc(var(--marquee-speed) / -2);
    transform: translate3d(0, 0, 0);
  }

  @keyframes marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @keyframes marquee-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }

/* 6. ADVERTISEMENTS SECTION - Compact & Aligned */
.ads-section { 
    border-top: 1px solid var(--border);
    padding: 24px 0; /* Tightened vertical space */
    background: var(--bg-alt);
}

.ads-section h3 { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    color: var(--text-muted);
    margin-bottom: 16px;
}

#stamp-container { display: flex; flex-wrap: wrap; gap: 10px; }
#stamp-container img { 
    height: 31px;
    width: 88px; 
    border: 1px solid var(--border); 
    filter: grayscale(1); 
    opacity: 0.6; 
    transition: 0.3s;
    padding: 0;
    margin: 0;
}
#stamp-container img:hover { filter: grayscale(0); opacity: 1; border-color: var(--primary); }

/* 7. CORPORATE FOOTER */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 { font-size: 1.2rem; margin-bottom: 20px; }
.contact-info { list-style: none; color: var(--text-muted); font-size: 0.95rem; }
.contact-info li { margin-bottom: 10px; }

.footer-nav h4 { 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: var(--text-main);
    margin-bottom: 20px; 
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

.footer-bottom {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 40px 24px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

   .social-row {
        display: flex;
        gap: 24px;
        align-items: center;
        padding: 20px 0;
    }
    .social-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-decoration: none;
    }
    .social-icon svg {
        width: 28px;
        height: 28px;
        /* Subtle grey default using 'currentColor' */
        fill: var(--text-muted, #6e6e73);
        transition: fill 0.3s ease;
    }
    .social-icon:hover {
        transform: scale(1.2);
    }
    .social-icon.fb:hover svg { fill: #1877F2; }
    .social-icon.ig:hover svg { fill: #E4405F; }
    .social-icon.li:hover svg { fill: #0A66C2; }
    .social-icon.tw:hover svg { fill: #000000; }
    .social-icon.yt:hover svg { fill: #FF0000; }

/* 8. MOBILE RESPONSIVENESS */
.menu-toggle { display: none; }
.burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 25px; height: 2px; background: var(--text-main); transition: 0.3s; }

@media (max-width: 992px) {
    .burger { display: flex; }
    
    .nav-menu {
        position: absolute;
        top: 72px; left: 0; width: 100%;
        background: white;
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-list { flex-direction: column; padding: 24px; gap: 20px; align-items: flex-start; }
    .menu-toggle:checked ~ .nav-menu { max-height: 600px; }

    /* Burger Animation */
    .menu-toggle:checked + .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked + .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .dropdown-content { position: static; box-shadow: none; border: none; padding-left: 15px; }
    
    /* Footer Mobile */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px;}
}

/* Misc Elements */
hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }
.faded-hr hr {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.tool-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* This makes the iframe feel like a integrated module */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tool-iframe {
    width: 100%;
    height: 80vh; /* Takes up most of the viewport for immersion */
    border: none;
    display: block;
}

.atedges {
	display: flex; justify-content: space-between; width: 100%; padding: 0;
}

.zigzag-container {
        display: flex;
        flex-direction: column;
        gap: 60px;
        margin: 80px auto;
    }

    .zigzag-row {
        display: flex;
        align-items: center;
        gap: 40px;
        flex-wrap: wrap;
    }

    /* Logic for alternating sides */
    .zigzag-row:nth-child(even) {
        flex-direction: row-reverse;
    }

    .zigzag-image, .zigzag-text {
        flex: 1;
        min-width: 300px;
    }

    .zigzag-image img {
        width: 100%;
        border-radius: var(--radius);
        object-fit: cover;
        /* Matches your existing img padding style */
        border: 1px solid var(--border);
    }

    .zigzag-text h2 {
        margin-bottom: 1.5rem;
    }

    /* Price Module Layout */
    .pricing-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 20px 0;
    }

    .price-amount {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1;
    }

    .price-rate {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 0.75rem;
        color: var(--text-muted);
        border-left: 2px solid var(--border);
        padding-left: 10px;
    }

    .price-rate .per {
        font-weight: 400;
        font-size: 0.65rem;
    }

    .zigzag-text .nav-cta {
        display: inline-block;
        margin-top: 15px;
        text-decoration: none !important;
    }

    @media (max-width: 768px) {
        .zigzag-row, .zigzag-row:nth-child(even) {
            flex-direction: column;
        }
        .pricing-wrapper {
            justify-content: center;
        }
    }