/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: white;
    color: #1e3a8a;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e5e7eb;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1e3a8a;
}

/* ===== HERO SECTION ===== */
.hero {
    background: #1e3a8a;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* ===== TOOL HEADER ===== */
.tool-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.tool-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: #22c55e;
    color: white;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
    background: #f97316;
    color: white;
    border: 2px solid #f97316;
    font-weight: 700;
}

.btn-secondary:hover {
    background: #ea580c;
    color: white;
    border-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.btn-outline {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
    font-weight: 600;
    backdrop-filter: none;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    letter-spacing: -0.5px;
}

/* ===== TOOLS OVERVIEW SECTION ===== */
.tools-overview {
    background: #f8fafc;
    padding: 5rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.tool-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #f97316;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.2);
}

.tool-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.tool-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.tool-card .btn {
    margin-top: auto;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== TOOL EXAMPLES SECTION ===== */
.tool-examples {
    background: #f9fafb;
    padding: 4rem 0;
}

.examples-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.example-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.example-header {
    text-align: center;
    margin-bottom: 2rem;
}

.example-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.example-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

.example-preview {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fafafa;
    margin-bottom: 1.5rem;
    min-height: 300px;
    overflow: hidden;
}

.example-actions {
    text-align: center;
}

/* ===== COMPARISON TOOL EXAMPLE STYLES ===== */
.example-comparison {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.example-comparison .overview {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #333333;
    text-align: center;
}

.example-comparison .products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.example-comparison .product {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0;
    border-bottom: 1px solid #e1e1e1;
    margin: 3px 0;
}

.example-comparison .product:last-child {
    border-bottom: none;
}

.example-comparison .logo {
    width: 15%;
    margin-right: 12px;
}

.example-comparison .logo img {
    width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.example-comparison .info {
    flex-basis: 30%;
    font-size: 12px;
    margin-right: 8px;
}

.example-comparison .highlight {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 13px;
}

.example-comparison .details {
    color: gray;
    font-size: 11px;
}

.example-comparison .link {
    flex-basis: 40%;
    margin-right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.example-comparison .link span {
    text-decoration: none;
    margin-bottom: 3px;
    display: block;
    line-height: 1.3;
    font-size: 11px;
}

.example-comparison .tick {
    color: #023F3F;
    font-weight: bold;
}

.example-comparison .cross {
    color: #F83821;
    font-weight: bold;
}

.example-comparison .button {
    background-color: #023F3F;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
}

/* ===== PRODUCT SUMMARY EXAMPLE STYLES ===== */
.example-product-summary {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
}

.example-summary-card {
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: white;
    overflow: hidden;
    margin: 10px 0;
}

.example-summary-header {
    background: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
}

.example-summary-header span {
    font-size: 11px;
    color: #666;
    font-weight: normal;
}

.example-summary-content {
    display: flex;
    padding: 15px;
    gap: 15px;
    align-items: flex-start;
}

.example-summary-left {
    flex: 0 0 120px;
    text-align: center;
}

.example-summary-left img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 6px;
}

.example-rating {
    font-size: 12px;
    color: #ffa500;
    margin-top: 4px;
}

.example-summary-middle {
    flex: 1;
    padding: 0 8px;
}

.example-bullet-points {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.example-bullet-points li {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.3;
    color: #333;
}

.example-review-link {
    font-size: 10px;
    font-weight: bold;
    color: #023F3F;
    text-decoration: none;
    display: inline-block;
    margin-top: 6px;
}

.example-summary-right {
    flex: 0 0 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.example-summary-button {
    background-color: #023F3F;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    min-width: 80px;
}

.example-additional-info {
    font-size: 10px;
    color: #666;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ===== TOOL SECTION ===== */
.tool-section {
    background: #f9fafb;
}

.tool-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== TABS ===== */
.tabs {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.tab-button {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #1e3a8a;
    background: white;
    border-bottom-color: #1e3a8a;
}

.tab-button:hover:not(.active) {
    color: #374151;
    background: #f1f5f9;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
}

.card-content {
    padding: 2rem;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: #1e3a8a;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.remove-product {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.remove-product:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* ===== PROS/CONS SECTIONS ===== */
.pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.pros-section, .cons-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.pros-section {
    border-left-color: #10b981;
}

.cons-section {
    border-left-color: #ef4444;
}

.pros-cons-title {
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pros-section .pros-cons-title {
    color: #059669;
}

.cons-section .pros-cons-title {
    color: #dc2626;
}

.pros-cons-list {
    list-style: none;
}

.pros-cons-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
}

.pros-cons-input {
    flex: 1;
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.remove-item {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
}

.add-item {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ===== PREVIEW AREA ===== */
.preview-area {
    background: #f8fafc;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 2rem;
    min-height: 300px;
}

.placeholder-text {
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

.code-textarea {
    width: 100%;
    min-height: 400px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    background: #1f2937;
    color: #f9fafb;
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    resize: vertical;
}

/* ===== TOOL ACTIONS ===== */
.tool-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== EXAMPLES SECTION ===== */
.examples {
    background: white;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.example-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.example-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.example-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: #f9fafb;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.about-feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-feature p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ===== GENERATED COMPARISON STYLES ===== */
.template-article .overview {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 24px;
    color: #333333;
    text-align: center;
}

.template-article .products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.template-article .product {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0;
    border-bottom: 2px solid #e1e1e1;
    margin: 5px 0;
}

.template-article .product:last-child {
    border-bottom: none;
}

.template-article .logo {
    width: 10%;
    margin-right: 20px;
}

.template-article .info {
    flex-basis: 30%;
    font-size: 18px;
    margin-right: 10px;
}

.template-article .highlight {
    font-weight: bold;
    margin-bottom: 8px;
}

.template-article .details {
    color: gray;
    font-size: 14px;
}

.template-article .link {
    flex-basis: 40%;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.template-article .link span {
    text-decoration: none;
    margin-bottom: 6px;
    display: block;
    line-height: 1.4;
}

.template-article .tick {
    color: #023F3F;
    font-weight: bold;
}

.template-article .cross {
    color: #F83821;
    font-weight: bold;
}

.template-article .button {
    background-color: #023F3F;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.template-article .button:hover {
    background-color: #01302f;
    transform: translateY(-1px);
}

.template-article .button-link {
    display: block;
    text-decoration: none;
    padding: 0;
    border: none;
    flex-wrap: nowrap;
    flex-grow: 1;
}

.template-article .button-link::after {
    border-bottom: none !important;
}

.template-article .button-container {
    display: block;
    padding: 0;
    flex-wrap: nowrap;
    flex-grow: 1;
}

.template-article a.button,
.template-article a.button:hover,
.template-article a.button:active,
.template-article a.button:focus {
    text-decoration: none;
    border-bottom: none;
}

/* ===== PRODUCT SUMMARY STYLES ===== */
/* shrink the outer margin of the card if you like */
.product-summary-card {
    max-width: 100%;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    background: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    margin: 10px 0;            /* was 20px 0; halves the vertical gap between cards */
}

/* reduce header "title box" height */
.summary-header {
    background: #f8f9fa;
    padding: 8px 16px;         /* was 15px 20px; cuts top/bottom and left/right padding */
    border-bottom: 1px solid #e1e1e1;  /* was 2px; a thinner dividing line */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;           /* was 18px; a slightly smaller headline */
    font-weight: bold;
}

.summary-header span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.summary-content {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-template-rows: auto auto;
    grid-template-areas:
      "left mid right"
      "rating full full";
    /* less space between the grid's two rows */
    row-gap: 8px;
    column-gap: 20px;
    /* smaller bottom padding */
    padding: 20px 20px 8px;
}

/* 1) Make the image exactly as tall as the bullet-list row */
.summary-left-section {
    grid-area: left;
    /* stretch to full row-height and top-align its contents */
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
}

.summary-left-section img {
    width: 100%;
    max-width: 180px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    border-radius: 6px;
}

.rating {
    font-size: 18px;
    color: #ffa500;
    margin-top: 8px;
}

.summary-middle-section {
    grid-area: mid;
    padding: 0 10px;
}

.summary-right-section {
    grid-area: right;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.summary-rating-section {
    grid-area: rating;
    justify-self: center;
    align-self: start;
}

.summary-full-link {
    grid-area: full;
    text-align: center;
    padding-top: 10px;
}

.summary-bullet-points {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.summary-bullet-points li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

.review-link {
    font-size: 14px;
    font-weight: bold;
    color: #007873;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.review-link:hover {
    text-decoration: underline;
}

.summary-right-section {
    flex: 0 0 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.summary-button-link {
    text-decoration: none;
}

.summary-button {
    background-color: #007873;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.summary-button:hover {
    background-color: #005a56;
    transform: translateY(-1px);
}

.additional-info {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pros-cons-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .card-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .tool-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .examples-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile responsive for generated comparisons */
    .template-article .logo {
        width: 60%;
        margin: 0 auto 20px auto;
        display: block;
    }
    
    .template-article .product {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
    }
    
    .template-article .info,
    .template-article .link {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .template-article .link {
        align-items: center;
    }
    
    /* Mobile responsive for product summary */
    .summary-content {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-left-section,
    .summary-right-section {
        flex: none;
        width: 100%;
    }
    
    .summary-left-section img {
        max-width: 250px;
    }
    
    .summary-middle-section {
        padding: 0;
        margin: 15px 0;
    }
    
    .summary-bullet-points {
        text-align: left;
        display: inline-block;
    }
    
    .summary-header {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    /* Mobile responsive for examples */
    .example-comparison .product {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px 0;
    }
    
    .example-comparison .logo {
        width: 40%;
        margin: 0 auto 8px auto;
    }
    
    .example-comparison .info,
    .example-comparison .link {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .example-summary-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .example-summary-left,
    .example-summary-right {
        flex: none;
        width: 100%;
    }
    
    .example-summary-middle {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    animation: fadeIn 0.3s ease-in-out;
}

.product-card {
    animation: fadeIn 0.3s ease-in-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}



/* ===== IMPROVED MOBILE FORM STYLING ===== */
@media (max-width: 768px) {
    /* One-line-per-textbox mobile styling */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input, .form-textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }
    
    .form-textarea {
        min-height: 80px;
        resize: none; /* Disable resize on mobile */
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        font-weight: 500;
    }
    
    /* Tool container mobile improvements */
    .tool-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tool-form, .tool-preview {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Form actions mobile styling */
    .form-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .form-actions .btn {
        width: 100%;
        padding: 0.875rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    /* Product card mobile improvements */
    .product-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Preview area mobile styling */
    .preview-area {
        padding: 1rem;
        min-height: 200px;
    }
    
    /* HTML output mobile styling */
    .html-output {
        margin-top: 1rem;
    }
    
    .code-textarea {
        min-height: 250px;
        font-size: 14px;
        padding: 1rem;
    }
    
    /* Navigation mobile improvements */
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    .nav-links a {
        padding: 1rem 1.5rem;
        text-align: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.2);
        font-size: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .container {
        padding: 0 10px;
    }
    
    .tool-header h1 {
        font-size: 1.75rem;
    }
    
    .tool-header p {
        font-size: 0.9rem;
    }
    
    .form-input, .form-textarea {
        padding: 0.625rem;
        font-size: 16px;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Compact preview for very small screens */
    .preview-area {
        padding: 0.75rem;
        min-height: 150px;
    }
    
    .code-textarea {
        min-height: 200px;
        font-size: 12px;
        padding: 0.75rem;
    }
}


/* ===== ADDITIONAL EXAMPLES SECTION ===== */
.additional-examples {
    background: #f8fafc;
    padding: 4rem 0;
}

.example-section {
    margin-bottom: 3rem;
}

.example-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: center;
}

.example-preview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 800px;
}

