/* Google Domains Style - Minimalist & Modern */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Roboto:wght@300;400;500&display=swap');

:root {
    --primary-color: #1a73e8;
    --primary-hover: #1765cc;
    --text-color: #202124;
    --text-secondary: #5f6368;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --border-color: #dadce0;
    --nav-height: 64px;
    --font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
    --shadow-card: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-hover: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

/* Dark Mode Variables */
body.dark-mode {
    --text-color: #e8eaed;
    --text-secondary: #9aa0a6;
    --background-color: #202124;
    --surface-color: #292a2d;
    --border-color: #3c4043;
    --shadow-card: 0 1px 2px 0 rgba(0,0,0,0.3), 0 1px 3px 1px rgba(0,0,0,0.15);
    --shadow-hover: 0 1px 3px 0 rgba(0,0,0,0.3), 0 4px 8px 3px rgba(0,0,0,0.15);
}

body.dark-mode .hero {
    background: transparent;
}

body.dark-mode .features {
    background-color: #202124;
}

body.dark-mode .footer {
    background-color: #171717;
    border-top: 1px solid #3c4043;
}

body.dark-mode .search-box {
    background: #292a2d;
    border-color: #3c4043;
}

body.dark-mode .search-box input {
    color: #e8eaed;
    background: transparent;
}

body.dark-mode .search-box input::placeholder {
    color: #9aa0a6;
}

body.dark-mode .navbar {
    background-color: #292a2d;
    box-shadow: none !important;
}

body.dark-mode .nav-links {
    box-shadow: none !important;
}

body.dark-mode .card,
body.dark-mode .tool-card {
    background: #292a2d;
    border-color: #3c4043;
}

body.dark-mode .result-card {
    background: #292a2d;
    border-color: #3c4043;
}

body.dark-mode .result-header {
    background-color: #202124;
    border-bottom-color: #3c4043;
}

body.dark-mode .raw-data {
    background-color: #171717;
    border-color: #3c4043;
    color: #9aa0a6;
}

body.dark-mode .footer-bottom {
    border-top-color: #3c4043;
}

body.dark-mode .auth-container {
    background: #292a2d;
    border-color: #3c4043;
}

body.dark-mode .auth-logo {
    color: #e8eaed;
}

body.dark-mode .auth-title {
    color: #e8eaed;
}

body.dark-mode .auth-subtitle {
    color: #9aa0a6;
}

body.dark-mode .form-group label {
    color: #e8eaed;
}

body.dark-mode .form-group input {
    background: #202124;
    border-color: #3c4043;
    color: #e8eaed;
}

body.dark-mode .form-group input:focus {
    border-color: #8ab4f8;
    background: #202124;
}

body.dark-mode .form-group input::placeholder {
    color: #9aa0a6;
}

body.dark-mode .error-message {
    background: #5f2120;
    color: #f28b82;
}

body.dark-mode .btn-outline:hover {
    background-color: #3c4043;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif; /* Body text usually Roboto */
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .logo, .btn {
    font-family: 'Google Sans', sans-serif; /* Headings in Google Sans */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    background-color: #fff;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 18px;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

.logo i {
    font-size: 20px;
    /* Google Blue */
    color: #4285F4; 
}

.logo span {
    font-weight: 500;
    color: var(--text-color);
}

/* Multi-colored text for Whoisgram */
.logo-text span:nth-child(1) { color: #4285F4; } /* W - Blue */
.logo-text span:nth-child(2) { color: #EA4335; } /* h - Red */
.logo-text span:nth-child(3) { color: #FBBC05; } /* o - Yellow */
.logo-text span:nth-child(4) { color: #4285F4; } /* i - Blue */
.logo-text span:nth-child(5) { color: #34A853; } /* s - Green */
.logo-text span:nth-child(6) { color: #EA4335; } /* g - Red */
.logo-text span:nth-child(7) { color: #4285F4; } /* r - Blue */
.logo-text span:nth-child(8) { color: #FBBC05; } /* a - Yellow */
.logo-text span:nth-child(9) { color: #34A853; } /* m - Green */

/* Keep logo colors in dark mode */
body.dark-mode .logo-text span:nth-child(1) { color: #4285F4; } /* W - Blue */
body.dark-mode .logo-text span:nth-child(2) { color: #EA4335; } /* h - Red */
body.dark-mode .logo-text span:nth-child(3) { color: #FBBC05; } /* o - Yellow */
body.dark-mode .logo-text span:nth-child(4) { color: #4285F4; } /* i - Blue */
body.dark-mode .logo-text span:nth-child(5) { color: #34A853; } /* s - Green */
body.dark-mode .logo-text span:nth-child(6) { color: #EA4335; } /* g - Red */
body.dark-mode .logo-text span:nth-child(7) { color: #4285F4; } /* r - Blue */
body.dark-mode .logo-text span:nth-child(8) { color: #FBBC05; } /* a - Yellow */
body.dark-mode .logo-text span:nth-child(9) { color: #34A853; } /* m - Green */

body.dark-mode .logo i {
    color: #4285F4; /* Keep globe icon blue in dark mode */
}

body.dark-mode .auth-logo i {
    color: #4285F4; /* Keep globe icon blue in auth pages */
}

.nav-links {
    display: flex;
    gap: 32px;
    box-shadow: none !important;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-color);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Dark Mode Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-secondary);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
    border-radius: 50%;
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.theme-toggle .fa-moon {
    display: block;
}

.theme-toggle .bi-sun {
    display: none;
}

body.dark-mode .theme-toggle .fa-moon {
    display: none;
}

body.dark-mode .theme-toggle .bi-sun {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 1px 2px rgba(60,64,67,0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: #f6fafe;
    border-color: var(--border-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.search-container {
    position: relative;
    max-width: 100%;
    margin-bottom: 24px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Slightly rounded like Google inputs */
    padding: 8px 8px 8px 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
    height: 56px;
}

.search-box:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    border-color: transparent;
}

.search-icon {
    color: #9aa0a6;
    font-size: 20px;
    margin-right: 12px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

.btn-search {
    height: 40px;
    padding: 0 24px;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Google Sans', sans-serif;
}

.btn-search:hover {
    background-color: var(--primary-hover);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

/* Features / Tools Grid */
.features {
    padding: 64px 0;
    background-color: var(--surface-color);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 400;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 16px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tool-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card:hover {
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 32px;
}

.tool-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.tool-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tool-link:hover {
    text-decoration: underline;
}

/* Results Section */
.results-container {
    margin-top: 32px;
    animation: fadeIn 0.3s ease;
}

.result-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.result-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.result-header h2 {
    font-size: 16px;
    font-weight: 500;
}

.status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background-color: #e6f4ea;
    color: #137333;
}

.status-available {
    background-color: #e8f0fe;
    color: #1967d2;
}

.result-body {
    padding: 16px 20px;
}

.result-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
    text-align: center;
}

.result-body p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: center;
}

.result-body .btn {
    font-size: 14px;
    padding: 8px 20px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.data-group h4 {
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.data-row {
    margin-bottom: 6px;
    font-size: 13px;
}

.data-label {
    font-weight: 500;
    color: var(--text-color);
}

.data-value {
    color: var(--text-secondary);
}

.raw-data {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
    overflow-x: auto;
    white-space: pre-wrap;
    border: 1px solid var(--border-color);
}

/* Footer */
/* Footer Redesign - Modern Minimalist (Adaptive) */
.footer {
    background-color: var(--background-color);
    color: var(--text-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col {
    background-color: transparent;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid transparent;
    height: 100%;
}

.footer-col:hover {
    background-color: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.footer-col h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.footer-col h4 i {
    width: 40px;
    height: 40px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-color);
}

.footer-col:hover h4 i {
    background-color: var(--surface-color);
    border-color: var(--border-color);
    color: var(--text-color);
    transform: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li:last-child {
    margin-bottom: 0;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 0;
    font-weight: normal;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    color: var(--text-color);
    opacity: 1;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 13px;
    opacity: 0.8;
}

.footer-links select:hover {
    border-color: var(--primary-color);
}

/* Footer Info Box */
.footer-info-box {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-info-box:hover {
    border-color: var(--border-color);
    transform: none;
}

.footer-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.footer-info-box:hover .footer-info-icon {
    background-color: var(--background-color);
    color: var(--primary-color);
    border-color: var(--border-color);
    transform: none;
}

.footer-info-content {
    flex: 1;
}

.footer-info-content strong {
    color: var(--text-color);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.footer-info-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-info-content a:hover {
    opacity: 0.8;
}

/* Pricing Page Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    background-color: rgba(66, 133, 244, 0.03); /* Very subtle tint of primary color */
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.pricing-header .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.pricing-header .price span {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.pricing-features li i {
    color: var(--primary-color);
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Footer Badges */
.badge-soon {
    background-color: var(--primary-color);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Pricing */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card:last-child {
        grid-column: auto;
        max-width: none;
    }
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }
    
    .footer-info-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 24px;
    }

    .footer-branding {
        flex-direction: column;
        gap: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-col {
        padding: 16px;
    }

    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        gap: 8px;
    }
    
    .footer-col h4 i {
        font-size: 14px;
    }

    .footer-col a {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    /* Nav and Search Mobile Adjustments from previous step */
    .nav-actions .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .nav-actions {
        gap: 6px;
    }

    .search-box {
        height: 48px;
        padding: 4px 4px 4px 12px;
    }

    .btn-search {
        height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }

    .search-icon {
        font-size: 18px;
        margin-right: 8px;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-post {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 48px 64px;
    box-shadow: var(--shadow-card);
    margin-bottom: 32px;
}

.blog-title {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.3;
}

.blog-meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color);
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--text-color);
}

.blog-content h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-color);
}

/* Blog Card Layout - New Design */
.blog-section {
    padding: 64px 0;
    min-height: 100vh;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 325px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    flex: 1;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.blog-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.blog-card-badge i {
    font-size: 12px;
}

.blog-card-badge span:first-of-type {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #202124;
    line-height: 1.4;
    padding-right: 120px;
}

.blog-card-title:hover {
    color: var(--primary-color);
    cursor: pointer;
}

.blog-card-excerpt {
    color: #5f6368;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #5f6368;
    align-items: center;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-meta i {
    font-size: 12px;
}

/* Dark Mode Adjustments for Blog Card */
body.dark-mode .blog-card {
    background: #292a2d;
}

body.dark-mode .blog-card-title {
    color: #e8eaed;
}

body.dark-mode .blog-card-excerpt {
    color: #9aa0a6;
}

body.dark-mode .blog-card-meta {
    color: #9aa0a6;
}

body.dark-mode .blog-card-badge {
    background: #202124;
    border-color: #3c4043;
    color: #9aa0a6;
}

body.dark-mode .blog-card-badge span:first-of-type {
    color: #e8eaed;
}

/* Responsive Blog Card */
@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }
    
    .blog-card-image {
        width: 100%;
        height: 200px;
    }
    
    .blog-card-content {
        padding: 24px 20px;
    }
    
    .blog-card-title {
        font-size: 18px;
        padding-right: 100px;
    }
    
    .blog-card-badge {
        top: 16px;
        right: 16px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .blog-card-badge span:first-of-type {
        font-size: 16px;
    }
    
    .blog-card-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
}

.blog-content ul, .blog-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 8px;
}

/* Back to Blog Button */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 32px;
    transition: gap 0.2s;
    text-decoration: none;
}

.back-to-blog:hover {
    gap: 12px;
}

.back-to-blog i {
    font-size: 12px;
}

/* Responsive Blog Post */
@media (max-width: 992px) {
    .blog-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .blog-post {
        padding: 40px 48px;
    }
    
    .blog-title {
        font-size: 32px;
    }
    
    .blog-content {
        font-size: 16px;
    }
    
    .blog-content h2 {
        font-size: 26px;
        margin-top: 32px;
    }
    
    .blog-content h3 {
        font-size: 20px;
        margin-top: 28px;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 0 16px;
    }
    
    .blog-post {
        padding: 32px 24px;
    }
    
    .blog-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .blog-content {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .blog-content h2 {
        font-size: 24px;
        margin-top: 28px;
        margin-bottom: 16px;
    }
    
    .blog-content h3 {
        font-size: 19px;
        margin-top: 24px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 24px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .blog-title {
        font-size: 24px;
    }
    
    .blog-content {
        font-size: 15px;
    }
    
    .blog-content h2 {
        font-size: 21px;
        margin-top: 24px;
    }
    
    .blog-content h3 {
        font-size: 18px;
        margin-top: 20px;
    }
    
    .blog-meta {
        font-size: 13px;
        gap: 12px;
    }
    
    .back-to-blog {
        margin-bottom: 20px;
    }
}

body.dark-mode .blog-post {
    background: #292a2d;
    border-color: #3c4043;
}

body.dark-mode .blog-title {
    color: #e8eaed;
}

body.dark-mode .blog-content {
    color: #e8eaed;
}

body.dark-mode .blog-content h2,
body.dark-mode .blog-content h3 {
    color: #e8eaed;
}

/* Navigation Responsiveness */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--text-color);
    }
    
    /* Ensure logo doesn't get squished */
    .logo-text {
        font-size: 16px;
    }
    
    /* Adjust actions for mobile */
    .nav-actions {
        gap: 8px;
    }
    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark mode support for mobile menu */
body.dark-mode .nav-links {
    background-color: #292a2d; /* Match navbar dark bg */
    border-bottom-color: #3c4043;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Partner Logos */
.partner-logo-img {
    height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    background-color: var(--background-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.partner-logo-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

body.dark-mode .partner-logo-img {
    background-color: var(--surface-color);
    border-color: #3c4043;
}

body.dark-mode .partner-logo-img:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

/* Trusted Partners Container */
.trusted-partners {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 64px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.trusted-partners::-webkit-scrollbar {
    height: 6px;
}

.trusted-partners::-webkit-scrollbar-track {
    background: transparent;
}

.trusted-partners::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.trusted-partners::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

@media (max-width: 768px) {
    .partner-logo-img {
        height: 40px;
        max-width: 100px;
        padding: 10px 12px;
    }
    
    .trusted-partners {
        gap: 12px;
        padding: 15px 0;
        margin-top: 32px;
    }
}

/* Homepage specific partner logos - minimal spacing */
.trusted-partners-homepage {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.trusted-partners-homepage::-webkit-scrollbar {
    height: 6px;
}

.trusted-partners-homepage::-webkit-scrollbar-track {
    background: transparent;
}

.trusted-partners-homepage::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.trusted-partners-homepage::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}


/* Transfer Alert Notification */
.transfer-alert {
    margin-top: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.transfer-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.transfer-alert-content {
    background: #fff;
    color: var(--text-color);
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    font-size: 15px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    animation: slideInBounce 0.4s ease-out;
}

.transfer-alert-content i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

@keyframes slideInBounce {
    0% {
        transform: translateY(-15px);
        opacity: 0;
    }
    60% {
        transform: translateY(3px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode support for alert */
body.dark-mode .transfer-alert-content {
    background: var(--surface-color);
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

/* Responsive alert */
@media (max-width: 768px) {
    .transfer-alert-content {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .transfer-alert-content i {
        font-size: 18px;
    }
}

/* Mobile Responsive Styles for Recent Changes */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    body {
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
    
    .hero {
        padding: 40px 0;
        min-height: auto;
        overflow: hidden;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        width: 100%;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow: hidden;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-image {
        display: none;
    }
    
    .search-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        overflow: visible;
    }
    
    .search-box {
        height: 52px;
        padding: 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .search-icon {
        font-size: 18px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .search-box input {
        font-size: 15px;
        flex: 1;
        min-width: 0;
        border: none;
        outline: none;
        padding: 0;
    }
    
    .btn-search {
        height: 38px;
        padding: 0 16px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Homepage Partner Logos Mobile */
    .trusted-partners-homepage {
        margin: 20px 0 0 0;
        padding: 12px 0;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .partner-logo-img {
        height: 36px;
        max-width: 90px;
        min-width: 70px;
        padding: 8px 12px;
        flex-shrink: 0;
    }
    
    /* Result Card Mobile */
    .result-card {
        max-width: 100%;
        margin: 0 16px;
        border-radius: 6px;
    }
    
    .result-header {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .result-header h2 {
        font-size: 15px;
    }
    
    .result-body {
        padding: 14px 16px;
    }
    
    .result-body h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .result-body p {
        font-size: 13px;
        margin-bottom: 14px;
    }
    
    .result-body .btn {
        font-size: 13px;
        padding: 7px 16px;
        width: 100%;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .data-group h4 {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .data-row {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .raw-data {
        padding: 10px;
        font-size: 10px;
    }
    
    /* Homepage Partner Logos Mobile */
    .trusted-partners-homepage {
        margin-top: 20px;
        padding: 12px 0;
        gap: 16px;
    }
    
    .partner-logo-img {
        height: 36px;
        max-width: 90px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    /* Prevent horizontal scroll on small screens */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
    }
    
    .hero {
        padding: 32px 0;
        overflow: hidden;
    }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow: hidden;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 14px;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .search-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        overflow: visible;
    }
    
    .search-box {
        height: 48px;
        padding: 5px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .search-icon {
        font-size: 16px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .search-box input {
        font-size: 14px;
        flex: 1;
        min-width: 0;
        border: none;
        outline: none;
        padding: 0;
    }
    
    .btn-search {
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .trusted-partners-homepage {
        margin: 16px 0 0 0;
        padding: 10px 0;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .partner-logo-img {
        height: 32px;
        max-width: 80px;
        min-width: 60px;
        padding: 6px 10px;
        flex-shrink: 0;
    }
    
    /* Extra small screens */
    .result-card {
        margin: 0 8px;
        border-radius: 4px;
    }
    
    .result-header {
        padding: 12px;
    }
    
    .result-header h2 {
        font-size: 14px;
    }
    
    .result-body {
        padding: 12px;
    }
    
    .result-body h3 {
        font-size: 15px;
    }
    
    .result-body p {
        font-size: 12px;
    }
    
    .trusted-partners-homepage {
        margin-top: 16px;
        padding: 10px 0;
        gap: 12px;
    }
    
    .partner-logo-img {
        height: 32px;
        max-width: 80px;
        padding: 6px 10px;
    }
}

