* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    padding-top: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid #00ff88;
    overflow: hidden;
    box-sizing: border-box;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
}

.logo-section,
.nav-buttons {
    flex-shrink: 0;
    overflow: hidden;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.robot-logo {
    width: 70px;
    height: 70px;
    animation: think 2s ease-in-out infinite;
}

@keyframes think {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

h1 {
    font-size: 2rem;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.cta-button {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

.hero {
    text-align: center;
    padding: 120px 20px 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 0;
}

.features {
    padding: 20px 0 60px 0;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    animation: none;
}

.premium-cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
    animation: gradientShift 3s ease infinite;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.premium-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.premium-cta-button:hover::before {
    left: 100%;
}

.premium-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.7);
}

.premium-icon {
    font-size: 1.5rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.premium-text {
    position: relative;
    z-index: 1;
}

.premium-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.premium-cta-button:hover .premium-arrow {
    transform: translateX(5px);
}

.feature-card h3 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-button {
    background: #00ff88;
    color: #000;
    border: none;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
}

.feature-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.5);
    background: #00cc6a;
}

.subscription-section {
    padding: 30px 0;
}

.subscription-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.1));
    border: 2px solid #00ff88;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscription-box h2 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 2rem;
}

.subscription-box p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.subscribe-button {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.subscribe-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.search-section {
    padding: 0 0 40px 0;
}

.search-section h2 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 5px;
    color: #00ff88;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* Quick Search Section */
.search-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.05));
    border: 2px solid rgba(0, 255, 136, 0.4);
    border-radius: 25px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto 30px;
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#searchInput {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#searchInput:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

#searchInput::placeholder {
    color: #666;
}

#searchButton {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

#searchButton:hover {
    background: linear-gradient(135deg, #00cc6a 0%, #00ff88 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

#searchButton:active {
    transform: translateY(0);
}

/* Free Tools Section */
.free-tools-section {
    padding: 60px 0;
    background: rgba(0, 255, 136, 0.02);
}

.free-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.free-tool-card {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 255, 0.05));
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.free-tool-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.free-tool-card h3 {
    color: #00ff88;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.free-tool-card p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tool-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tool-input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.tool-input::placeholder {
    color: #666;
}

.tool-button {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.tool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
}

.tool-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tool-results {
    margin-top: 20px;
    text-align: left;
    max-height: 500px;
    overflow-y: auto;
}

.result-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.result-item h4 {
    color: #00ff88;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.result-field {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-field:last-child {
    border-bottom: none;
}

.result-label {
    color: #888;
    font-size: 0.9rem;
}

.result-value {
    color: #fff;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 255, 136, 0.3);
    border-top-color: #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 10px;
    padding: 15px;
    color: #ff6b6b;
    text-align: center;
}

.no-results {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    color: #ffc107;
    text-align: center;
}

/* Search Result Pages */
.search-page-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.search-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-page-header .tool-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.search-page-header h2 {
    color: #00ff88;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.search-page-header p {
    color: #ccc;
    font-size: 1.1rem;
}

.search-page-input {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    gap: 15px;
}

.search-page-input .tool-input {
    flex: 1;
}

.search-page-input .tool-button {
    width: auto;
    min-width: 150px;
}

.search-page-results {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .search-page-input {
        flex-direction: column;
    }
    
    .search-page-input .tool-button {
        width: 100%;
    }
}

.description-box {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 204, 255, 0.1));
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(0, 255, 136, 0.4);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.description-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.main-description {
    color: #e0e0e0;
    font-size: 1.15rem;
    text-align: justify;
    line-height: 1.8;
    font-weight: 400;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.feature-descriptions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.desc-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid #00ff88;
}

.desc-item h4 {
    color: #00ff88;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.desc-item p {
    color: #ccc;
    line-height: 1.5;
    font-size: 0.95rem;
}

footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid rgba(0, 255, 136, 0.3);
    margin: 60px 0 0 0;
    padding: 40px 0 0 0;
}

footer > p {
    text-align: center;
    padding: 20px 20px 20px 20px;
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 0;
}

.footer-section h3 {
    color: #00ff88;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-section a:hover {
    color: #00ff88;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-link svg {
    width: 18px;
    height: 18px;
    fill: #00ff88;
    flex-shrink: 0;
}

.footer-link a,
.footer-link span {
    flex: 1;
    min-width: 0;
}

.footer-bottom {
    text-align: center;
    padding: 20px 20px 5px;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .footer-link {
        gap: 6px;
    }
    
    .footer-link svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        padding: 15px 10px 5px;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Mobile Responsive - Hide Login button on mobile, keep Start Investigation visible */
@media (max-width: 768px) {
    #authButton {
        display: none !important;
    }
    
    #mainButton {
        padding: 8px 15px !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }
    
    .logo-section h1 {
        font-size: 1.3rem;
    }
    
    .logo-section {
        gap: 8px;
    }
    
    .robot-logo {
        width: 45px;
        height: 45px;
    }
    
    header .container {
        padding: 5px 10px;
        gap: 10px;
    }
    
    header .container > div {
        gap: 8px !important;
    }
    
    /* Quick Search - Mobile adjustments */
    .search-box {
        padding: 30px 20px !important;
        gap: 15px !important;
    }
    
    #searchInput {
        font-size: 1rem !important;
        padding: 15px !important;
    }
    
    #searchButton {
        font-size: 1rem !important;
        padding: 15px !important;
    }
    
    .search-section h2 {
        font-size: 1.5rem !important;
    }
}

/* Tablet View - Show both buttons (must come AFTER mobile) */
@media (min-width: 769px) and (max-width: 1024px) {
    #authButton {
        display: inline-block !important;
    }
    
    #mainButton {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .logo-section h1 {
        font-size: 1.6rem;
    }
    
    .robot-logo {
        width: 60px;
        height: 60px;
    }
}

/* Custom Alert/Notification System */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.custom-alert-box {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 3px solid #00ff88;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
    animation: slideIn 0.3s ease;
    text-align: center;
}

.custom-alert-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.custom-alert-title {
    color: #00ff88;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-alert-message {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    white-space: pre-line;
}

.custom-alert-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.custom-alert-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.custom-alert-btn-primary {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}

.custom-alert-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.custom-alert-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.custom-alert-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}


/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet Devices */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Header */
    header {
        padding: 8px 0;
    }
    
    .logo-section h1 {
        font-size: 1.5rem;
    }
    
    .robot-logo {
        width: 50px;
        height: 50px;
    }
    
    .nav-buttons {
        gap: 8px;
    }
    
    .nav-buttons button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Features Grid */
    .features .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    /* Free Tools */
    .free-tools-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    
    .free-tool-card {
        padding: 25px 20px;
    }
    
    .tool-icon {
        font-size: 2.5rem;
    }
    
    /* Premium Button */
    .premium-cta-button {
        padding: 15px 30px;
        font-size: 1rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .premium-text {
        text-align: center;
        font-size: 0.95rem;
    }
    
    /* Subscription Plans */
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-card {
        padding: 25px;
    }
    
    /* Search Cards */
    .search-card {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .search-card h2 {
        font-size: 1.5rem;
    }
    
    /* Tables */
    .results-table {
        font-size: 0.8rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Buttons */
    .cta-button,
    .search-btn,
    .feature-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Description Section */
    .description-box {
        padding: 25px;
    }
    
    .description-box h3 {
        font-size: 1.5rem;
    }
    
    .main-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .logo-section {
        gap: 8px;
    }
    
    .logo-section h1 {
        font-size: 1.3rem;
    }
    
    .robot-logo {
        width: 40px;
        height: 40px;
    }
    
    .nav-buttons button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .feature-card,
    .free-tool-card,
    .search-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    /* Premium Button */
    .premium-cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .premium-icon {
        font-size: 1.2rem;
    }
    
    .premium-arrow {
        font-size: 1.2rem;
    }
    
    /* Search Elements */
    .search-card h2 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .phone-input,
    .search-btn {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    
    /* Tables - Extra Small */
    .results-table {
        font-size: 0.75rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 6px 4px;
        font-size: 0.75rem;
    }
    
    /* Plan Cards */
    .plan-card {
        padding: 20px 15px;
    }
    
    .plan-card h3 {
        font-size: 1.5rem;
    }
    
    .plan-points {
        font-size: 1rem;
    }
    
    /* Support Chat - Adjust for small screens */
    .support-chat-widget {
        bottom: 70px !important;
        right: 15px !important;
    }
    
    .support-chat-button {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .chat-icon {
        width: 18px;
        height: 18px;
    }
}

/* Prevent horizontal scroll on all elements */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    img, svg, video {
        max-width: 100%;
        height: auto;
    }
    
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    pre, code {
        overflow-x: auto;
        word-wrap: break-word;
    }
}


/* Main Content Minimum Height */
main {
    min-height: calc(100vh - 200px);
    padding-bottom: 50px;
}

.search-container,
.features,
.hero {
    min-height: 400px;
}
