/* Reset and 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: #1a1a1a;
    background: #ffffff;
    min-height: 100vh;
}

/* Layout container normalization (keeps existing class names) */
.container, .content-container, .tool-container, .page-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
  }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: #ffffff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

/* World-Class Navigation Bar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.logo-tagline {
    font-size: 0.8rem;
    color: #718096;
    margin-top: -0.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link.cta-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-link.cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section - Homepage with gradient background */
.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

/* Make hero section wider like production */
.hero .container {
    max-width: 1400px;
}

/* Add gradient to primary button in hero section like production */
.hero .btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4) !important;
    border: none !important;
    color: white !important;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Ensure homepage hero text is white, but stats are golden */
.hero .hero-title,
.hero .hero-subtitle,
.hero .floating-card .card-text {
    color: white !important;
}

/* Stats numbers should be golden/yellow, labels should be white */
.hero .stat-number {
    color: #fbbf24 !important;
}

.hero .stat-label {
    color: white !important;
}

/* Ensure homepage hero background and animations work */
.hero .floating-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    -webkit-animation: float 6s ease-in-out infinite;
    opacity: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    z-index: 10;
    pointer-events: none;
    will-change: transform, opacity;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 20%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.card-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 1;
        -webkit-transform: translateY(0px);
        -webkit-opacity: 1;
    }
    20%, 80% {
        opacity: 1;
        -webkit-opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
        -webkit-transform: translateY(-20px);
        -webkit-opacity: 1;
    }
}

/* Trust Indicators Section */
.trust-section {
    padding: 4rem 0;
    background: #f7fafc;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.trust-item p {
    color: #4a5568;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-header p {
    color: #718096;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Section */
.tools-section {
    padding: 4rem 0;
}

.tools-category {
    margin-bottom: 4rem;
}

.tools-category h3 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-card h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tool-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tool-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #667eea;
    font-weight: 600;
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tool-card:hover .cta-arrow {
    transform: translateX(4px);
}

/* Why Section */
.why-section {
    padding: 4rem 0;
    background: #f7fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.why-item p {
    color: #4a5568;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: #e2e8f0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.newsletter-benefits li {
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.signup-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.signup-form small {
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* FAQ Section - Updated to match audit page design */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    z-index: 2;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.faq-question {
    cursor: pointer;
    margin: 0;
    font-size: 18px;
    color: #111827;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #7c3aed;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #7c3aed;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
    padding-top: 0;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 16px;
}

.faq-answer p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* Resources Section */
.resources-section {
    padding: 4rem 0;
    background: #f7fafc;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.resource-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.resource-card .btn {
    width: auto;
    display: inline-block;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.contact-form-container {
    background: #f7fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.contact-form h3 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.message-form .form-group {
    margin-bottom: 1.5rem;
}

.message-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.message-form input,
.message-form select,
.message-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.message-form .btn {
    width: 100%;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.about-stat .stat-label {
    font-size: 0.9rem;
    color: #718096;
}

.about-visual {
    text-align: center;
}

.about-image {
    position: relative;
    display: inline-block;
}

.team-avatar {
    font-size: 6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-badge {
    position: absolute;
    bottom: -10px;
    right: -20px;
    background: #fbbf24;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* World-Class Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #667eea;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsive footer layout */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-legal p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* Animations */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .signup-form .form-group {
        flex-direction: column;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tool Page Specific Styles */
.tool-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.tool-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tool-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.tool-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.tool-hero .hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-hero .stat-item {
    text-align: center;
}

.tool-hero .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.tool-hero .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-hero .hero-visual {
    position: relative;
    height: 300px;
}

.tool-hero .hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.tool-hero .floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    -webkit-animation: float 6s ease-in-out infinite;
    opacity: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    z-index: 10;
    pointer-events: none;
    will-change: transform, opacity;
}

.tool-hero .floating-card.card-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.tool-hero .floating-card.card-2 {
    top: 120px;
    right: 40px;
    animation-delay: 2s;
}

.tool-hero .floating-card.card-3 {
    bottom: 40px;
    left: 60px;
    animation-delay: 4s;
}

.tool-hero .floating-card .card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tool-hero .floating-card .card-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

/* Float animation is defined above in the main styles */

/* Tool Header Styles */
.tool-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.tool-header .tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tool-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.tool-header p {
    color: #4a5568;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design for Tool Pages */
@media (max-width: 768px) {
    .tool-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .tool-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .tool-hero .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tool-hero .hero-visual {
        height: 200px;
    }
    
    .tool-header h2 {
        font-size: 1.5rem;
    }
}

/* Enhanced Tool Interface Styles */
.tool-interface {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Button Enhancements */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Results Display */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.result-item {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Breadcrumb Enhancements */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb span {
    color: #fbbf24;
    font-weight: 500;
}

/* Content Section Styles */
.content-section {
    padding: 4rem 0;
    background: #f7fafc;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.content-card h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.content-card p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.content-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-card li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

/* Related Tools Section */
.related-tools {
    padding: 4rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-link {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.tool-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.tool-link .tool-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tool-link h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.tool-link p {
    color: #4a5568;
}

/* Tool Section Styles */
.tool-section {
    padding: 2rem 0;
}

.tool-card.featured {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Form Enhancements */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error States */
.success {
    border-color: #10b981 !important;
    background-color: #f0fdf4;
}

.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

.success-message {
    color: #10b981;
    font-weight: 500;
    margin-top: 0.5rem;
}

.error-message {
    color: #ef4444;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 1rem 0;
        animation: none;
    }
    
    .hero-visual {
        height: auto !important;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .tool-interface {
        padding: 1rem;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .tool-link {
        padding: 1rem;
    }
}

/* ===== Global tokens & utilities (non-destructive) ===== */
:root {
  --brand-500:#7c3aed; --brand-600:#6d28d9; --brand-200:#ddd6fe;
  --text-900:#0b0f19; --text-700:#374151; --text-500:#6b7280;
  --bg-50:#f9fafb; --card:#ffffff; --border:#eef1f6;
  --radius-12:12px; --radius-16:16px;
  --shadow-1:0 6px 16px rgba(16,24,40,.06);
  --shadow-2:0 12px 28px rgba(16,24,40,.10);
  --container:1120px;
}

/* Premium card baseline */
.card, .content-card, .tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-16);
  box-shadow: var(--shadow-1);
}

/* Button polish + accessibility */
.btn {
  position: relative;
  border-radius: var(--radius-12);
  font-weight: 600;
}
.btn:focus-visible {
  outline: 3px solid var(--brand-200);
  outline-offset: 2px;
}
.btn.btn-primary {
  background: var(--brand-500);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(124,58,237,.25);
}
.btn.btn-primary:hover { filter: brightness(1.02); box-shadow: var(--shadow-2); }

/* Headings rhythm (preserve sizes; improve legibility) */
h1,h2,h3 { line-height: 1.2; color: var(--text-900); }
p,li { color: var(--text-700); }

/* Reduce CLS by reserving space for async items (ads, hero floats) */
.ad-slot, .ad-placeholder { min-height: 120px; }
.hero-visual { min-height: 140px; }

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Page layouts and supporting page styles */
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4);
}

.page__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.page__header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    color: var(--text-900);
}

.page__header .muted {
    color: var(--text-500);
    font-size: var(--font-size-sm);
}

/* Alert boxes */
.alert {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
    border: 1px solid;
}

.alert-success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-error {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.alert h2 {
    margin-top: 0;
    margin-bottom: var(--space-2);
    font-size: 1.25rem;
}

/* Form styles */
.form-field {
    margin-bottom: var(--space-6);
}

.form-field label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--text-700);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    background-color: white;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
    border-color: #dc2626;
}

.field-error {
    margin-top: var(--space-1);
    color: #dc2626;
    font-size: var(--font-size-sm);
}

/* Contact page modern design */
.page-contact {
    background: #f8fafc;
    min-height: 100vh;
    padding: 4rem 0;
}

.page-contact .page__header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-contact .page__header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0a2038;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Contact info section */
.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a2038;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-method h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a2038;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-method h3::before {
    content: '💬';
    font-size: 1.5rem;
}

.contact-method:nth-child(2) h3::before {
    content: '📞';
}

.contact-method:nth-child(3) h3::before {
    content: '⏰';
}

.contact-method p {
    color: #6b7280;
    margin: 0;
}

.contact-method a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Contact form container */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-form-container h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0a2038;
    margin-bottom: 2rem;
    text-align: center;
}

/* Form field styling */
.contact-form .form-field {
    margin-bottom: 1.5rem;
}

.contact-form .form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: white;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button styling */
.contact-form .wc-btn--primary {
    width: 100%;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.contact-form .wc-btn--primary:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

/* Suggest page grid */
.suggest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.suggest-info h2 {
    margin-bottom: var(--space-4);
}

.examples {
    margin-top: var(--space-6);
}

.example {
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    border-radius: var(--radius-base);
    border-left: 4px solid;
}

.example:nth-child(1),
.example:nth-child(2) {
    border-left-color: #10b981;
    background-color: #f0fdf4;
}

.example:nth-child(3) {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}

.example h3 {
    margin: 0 0 var(--space-2) 0;
    font-size: 1rem;
}

.example p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--text-600);
}

.suggest-form-container {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-200);
}

/* Conflicting FAQ styles removed - using audit page design instead */

/* Responsive design */
@media (max-width: 768px) {
    .contact-grid,
    .suggest-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .contact-form-container,
    .suggest-form-container {
        padding: var(--space-6);
    }
    
    .page {
        padding: var(--space-6) var(--space-3);
    }
    
    .page__header h1 {
        font-size: 2rem;
    }
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Muted text utility */
.muted {
    color: var(--text-500) !important;
}