/* LOGOCREATIVEARTS - Premium Bright Designer Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: hsl(260, 24%, 98%); /* Soft Cream Lavender Background */
    --bg-card: rgba(255, 255, 255, 0.85); /* Light Glassmorphic Frosted Card */
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --primary: hsl(270, 90%, 54%); /* Creative Purple */
    --primary-glow: hsla(270, 90%, 54%, 0.15);
    --accent: hsl(330, 95%, 53%); /* Vibrant Pink */
    --accent-glow: hsla(330, 95%, 53%, 0.15);
    --cyan: hsl(190, 90%, 44%); /* Turquoise Sky Blue */
    --text-main: hsl(240, 20%, 11%); /* Deep Obsidian Charcoal */
    --text-muted: hsl(240, 10%, 42%); /* Slate Gray Paragraphs */
    --border: rgba(168, 85, 247, 0.12); /* Subtle Lavender Borders */
    --border-hover: rgba(168, 85, 247, 0.22);
    --border-glow: hsla(270, 90%, 54%, 0.35);
    --grad-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --grad-glow: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 35px -10px rgba(168, 85, 247, 0.08);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Backdrop Blobs - Adjusted for Light Backgrounds to Prevent Eye Strain */
.blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08; /* Extremely low opacity on white backgrounds for premium look */
    mix-blend-mode: multiply;
}

.blob-purple {
    background-color: var(--primary);
    top: -100px;
    right: -100px;
    animation: float-blob 20s infinite alternate;
}

.blob-pink {
    background-color: var(--accent);
    bottom: 20%;
    left: -200px;
    animation: float-blob 25s infinite alternate-reverse;
}

.blob-cyan {
    background-color: var(--cyan);
    top: 40%;
    right: -200px;
    animation: float-blob 18s infinite alternate;
}

@keyframes float-blob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 80px) scale(1.2); }
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px -10px rgba(168, 85, 247, 0.15);
    background: var(--bg-card-hover);
}

/* Interactive Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background: var(--bg-dark);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
}

.btn-glow:hover::after {
    left: 120%;
}

/* Header & Nav */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(248, 247, 250, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.site-header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.05);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: text-pulse 6s infinite ease-in-out;
}

@keyframes text-pulse {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(25deg); }
}

.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Services Grid */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--grad-primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.portfolio-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.portfolio-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.9) 0%, transparent 80%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-item-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.portfolio-item-title {
    font-size: 1.25rem;
    margin-top: 4px;
    color: white;
}

.portfolio-card-desc {
    padding: 20px 24px;
    background: white;
}

/* Image Compressor Tool styles */
.tool-container {
    padding: 130px 0 80px;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
}

.upload-zone {
    border: 2px dashed var(--border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.4);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(168, 85, 247, 0.05);
}

.upload-zone svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: var(--transition);
}

.upload-zone:hover svg {
    color: var(--primary);
    transform: translateY(-5px);
}

.slider-group {
    margin: 24px 0;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 8px;
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(168, 85, 247, 0.15);
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--grad-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: var(--transition);
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.comparison-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.preview-box {
    text-align: center;
}

.preview-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.img-preview-wrapper {
    height: 200px;
    background: rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-preview-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.file-info-badge {
    margin-top: 8px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.08);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Logo Generator page custom classes */
.generator-workspace {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .generator-workspace {
        grid-template-columns: 1fr;
    }
}

.sidebar-controls {
    padding: 32px;
}

.control-group {
    margin-bottom: 24px;
}

.control-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.form-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 10px var(--primary-glow);
}

.color-presets {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.color-dot {
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-dot.active {
    border-color: var(--text-main);
    transform: scale(1.1);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: 1fr;
    }
}

.logo-result-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.logo-result-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.08);
}

.logo-svg-display {
    max-width: 100%;
    height: 170px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: 
        linear-gradient(45deg, #181528 25%, transparent 25%), 
        linear-gradient(-45deg, #181528 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #181528 75%), 
        linear-gradient(-45deg, transparent 75%, #181528 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    background-color: #0c0a18; /* Dark grid canvas for logo contrast */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}

.logo-svg-display svg {
    max-width: 90%;
    max-height: 90%;
}

.logo-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.logo-editor-panel {
    grid-column: 1 / -1;
    display: none;
    padding: 32px;
    background: var(--bg-card);
}

.editor-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

@media (max-width: 768px) {
    .editor-grid {
        grid-template-columns: 1fr;
    }
}

.editor-preview-container {
    background-image: 
        linear-gradient(45deg, #181528 25%, transparent 25%), 
        linear-gradient(-45deg, #181528 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #181528 75%), 
        linear-gradient(-45deg, transparent 75%, #181528 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: #0c0a18;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 350px;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.35);
}

/* Blog styles */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.blog-card-img-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect */
    overflow: hidden;
}

.blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-card-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Contact section form */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.05);
}

.contact-item-icon {
    background: rgba(168, 85, 247, 0.08);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
    background: var(--primary);
    color: #fff;
}

.contact-form-panel {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Footer styling */
footer.site-footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-desc {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .footer-logo-desc {
        grid-column: span 1;
    }
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Float Animation CSS classes */
.animated-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alert Boxes */
.alert {
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

/* FAQ Collapsible Panel - SEO Rich Accordion */
.faq-container {
    margin-top: 60px;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 8px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-main);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    margin-top: 10px;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Utility Hidden SEO block */
.sr-only-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Floating WhatsApp chat trigger button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Site Footer Styling */
.site-footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px 0;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-logo-desc {
    display: flex;
    flex-direction: column;
}

.footer-logo-desc p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-socials a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-links li {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Logo Generator Workspace Styling */
.generator-workspace {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 40px;
    position: relative;
}

@media (max-width: 992px) {
    .generator-workspace {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.sidebar-controls {
    padding: 30px;
}

.control-group {
    margin-bottom: 24px;
}

.control-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.color-presets {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-dot.active {
    border-color: var(--text-main);
    transform: scale(1.15);
    box-shadow: var(--shadow);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.logo-result-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.logo-result-card:hover {
    transform: translateY(-4px);
    background: white;
}

.logo-svg-display {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-svg-display svg {
    max-width: 100%;
    max-height: 100%;
}

.logo-card-actions {
    width: 100%;
    margin-top: 16px;
}

.logo-card-actions .btn {
    width: 100%;
}

/* Customizer Panel Overlay Styling */
.logo-editor-panel {
    display: none;
    padding: 30px;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editor-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .editor-grid {
        grid-template-columns: 1fr;
    }
}

.editor-preview-container {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    border: 1px dashed var(--border);
    background: rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.editor-preview-container svg {
    max-width: 100%;
    max-height: 100%;
}

.editor-controls {
    display: flex;
    flex-direction: column;
}

.custom-range {
    width: 100%;
    accent-color: var(--primary);
    cursor: pointer;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    -webkit-appearance: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- LOGO MARQUEE SCROLL SHOWCASE STYLES --- */
.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    background: transparent;
    margin: 40px 0;
}

.logo-marquee {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Frosted glass left-right fade boundaries for visual excellence */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.logo-marquee-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}

.logo-marquee-track:hover {
    animation-play-state: paused;
}

.marquee-logo-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    height: 120px;
    width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.marquee-logo-card:hover {
    transform: scale(1.04) translateY(-3px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px -10px rgba(168, 85, 247, 0.18);
}

.marquee-logo-card svg {
    max-width: 100%;
    max-height: 100%;
    transition: var(--transition);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- COLORFUL PENCIL-STYLE ICON DRAWING ANIMATIONS --- */
.pencil-icon-svg {
    transition: var(--transition);
    overflow: visible;
}

.pencil-icon-svg path.sketch-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: draw-line 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card:hover .pencil-icon-svg path.sketch-line {
    stroke-dashoffset: 0;
}

.service-card:hover .pencil-icon-svg {
    transform: rotate(-3deg) scale(1.08);
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-feature-showcase:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover) !important;
    box-shadow: 0 40px 90px -20px rgba(168, 85, 247, 0.35) !important;
}

.hero-feature-showcase:hover img {
    transform: scale(1.03);
}

/* Extracting hero showcase layout components to CSS for responsive control */
.showcase-image-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.showcase-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: 16px;
    text-align: left;
    max-width: 320px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

/* --- MOBILE RESPONSIVE OVERRIDES (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Prevent layout overflow & typography stretching */
    .gradient-text {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }
    
    .section-title {
        font-size: 2.0rem !important;
        line-height: 1.25 !important;
    }
    
    /* Hero section spacing adjustments */
    .hero {
        padding: 90px 16px 40px !important;
    }
    
    /* Responsive image showcase */
    .showcase-image-container {
        height: 250px !important;
    }
    
    .showcase-overlay-card {
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        max-width: none !important;
        padding: 12px 16px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.92) !important;
    }
    
    .showcase-overlay-card h4 {
        font-size: 0.95rem !important;
    }
    
    .showcase-overlay-card p {
        font-size: 0.75rem !important;
        display: none; /* Hide long paragraph on small viewport to save screen space */
    }

    /* Fixed Header Logo & Container adjustments */
    header.site-header {
        padding: 4px 0 !important;
    }
    
    .logo-text img {
        height: 40px !important;
    }
    
    /* Fix mobile navigation menu active text color */
    .nav-menu .nav-link {
        font-size: 1.4rem !important;
        color: rgba(255, 255, 255, 0.75) !important;
        padding: 8px 0;
        display: block;
    }
    
    .nav-menu .nav-link:hover, 
    .nav-menu .nav-link.active {
        color: var(--primary) !important;
        text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
    }

    /* Mobile Teaser Tools Grid Layout */
    .tools-teaser-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .teaser-tool-card {
        padding: 24px !important;
    }
    
    .teaser-tool-card h3 {
        font-size: 1.35rem !important;
    }
}

/* Base Teaser Tools Grid Layout */
.tools-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.teaser-tool-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.teaser-tool-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
