/* Enhanced Styles for ToneMetrics Website */

:root {
    --primary-color: #7c3aed;
    --secondary-color: #ec4899;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Typography Improvements */
body {
    font-family: 'Segoe UI', Trebuchet MS, sans-serif;
    letter-spacing: 0.3px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Header Enhancements */
.theme-header {
    transition: all 0.4s ease-in-out;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.theme-header.transparent-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
}

.primary-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-menu li a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    color: var(--primary-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.cta-nav-link {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-nav-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-nav-link::after {
    display: none;
}

/* Hero Section Enhancements */
.hero-area {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn-primary,
.btn-outline {
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Features Section */
.features-area {
    position: relative;
    padding: 120px 0 70px;
}

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

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.sub-title {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.block-style-three {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.block-style-three:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.block-style-three .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.block-style-three:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.block-style-three .text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.block-style-three .text h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Section */
.service-area {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

.block-style-four {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.block-style-four:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.block-style-four .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.block-style-four:hover .icon {
    transform: scale(1.15) rotateZ(10deg);
}

.block-style-four .text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.block-style-four .text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.block-style-four .text a:hover {
    color: var(--secondary-color);
}

/* Testimonial Section */
.testimonial-area {
    padding: 120px 0 70px;
}

.testimonial-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.testimonial-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-weight: 900;
}

.author-thumb-title {
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-title h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.author-title .position {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-content p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-light);
}

/* CTA Section */
.cta-area {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-area.black-dark {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.cta-area .section-title-white h2 {
    color: white;
}

.cta-area .form_group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.cta-area .form_control {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.cta-area .btn-blue-dark {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-area .btn-blue-dark:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer-area {
    background: var(--text-dark);
    color: #e5e7eb;
    padding: 3rem 0 1.5rem;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-copyright .text p {
    color: #9ca3af;
    margin: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    text-decoration: none;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .cta-area .form_group {
        flex-direction: column;
    }
}
