/* Tools Shared CSS */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --bg-light: #f8fafc;
    --text-main: #1a1a1a;
    --text-muted: #4b5563;
    --border: #e2e8f0;
    --radius: 0.5rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

/* AEO Inverse Pyramid Snippet */
.aeo-snippet {
    background-color: #eff6ff;
    border-left: 5px solid var(--primary);
    padding: 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Tool Interface Wrapper */
.tool-interface {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

/* Form Elements */
input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s ease-in-out;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button.btn-primary {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.15s;
    width: 100%;
}

button.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Results Area */
.tool-result {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-height: 50px;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: monospace;
}

/* Pro Tip Box */
.pro-tip {
    margin: 3rem 0;
}

.pro-tip blockquote {
    background-color: #f0fdf4;
    /* Green tint */
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 0;
    position: relative;
    color: #166534;
}

.pro-tip blockquote strong {
    color: #15803d;
    display: block;
    margin-bottom: 0.5rem;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.faq-item h3 {
    margin-top: 0;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--secondary);
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-float,
.call-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.call-float {
    background-color: #3b5998;
    /* Or primary theme color */
}

.whatsapp-float:hover,
.call-float:hover {
    transform: scale(1.1);
    color: white;
}