/* ==========================================
   FEARLESS ACCOUNTING - MAIN STYLESHEET
   ========================================== */

/* ==========================================
   ROOT VARIABLES
   ========================================== */
:root {
    --color-primary: #000000;
    --color-secondary: #04c9b9;
    --color-tertiary: #cd7dba;
    --color-white: #ffffff;
    --color-gray-light: #f8f9fa;
    --color-gray-medium: #6c757d;
    --color-gray-dark: #343a40;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Rubik', sans-serif;
    
    --transition-speed: 0.3s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

.teal {
    color: #06c8b9;
}

.pink {
    color: var(--color-tertiary);
}

.center {
    text-align: center;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.cta-btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #cd7dba 0%, #02538d 50%, #04c9b9 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(4, 201, 185, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 201, 185, 0.4);
}

.cta-btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideDown 0.5s var(--transition-smooth);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.05);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 4rem 0;
}

.hero-content p {
    color: var(--color-white);
}

.hero-title {
    margin-bottom: 2rem;
    color: var(--color-white);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   PROBLEM SECTION
   ========================================== */
.problem-section {
    padding: 6rem 0;
    background: var(--color-gray-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.problem-content {
    max-width: 900px;
    margin: 0 auto;
}

.problem-text p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.problem-emphasis {
    font-size: 1.3rem;
    margin-top: 3rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* ==========================================
   SOLUTION SECTION
   ========================================== */
.solution-section {
    padding: 6rem 0;
    background-image: url(../images/background.svg);
    background-size: cover;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-image img {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.solution-image img:hover {
    transform: scale(1.02);
}

.solution-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    margin: 2rem 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.icon-check {
    width: 24px;
    height: 24px;
    color: var(--color-secondary);
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--color-primary);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(205, 125, 186, 0.05) 0%, rgba(2, 83, 141, 0.05) 50%, rgba(4, 201, 185, 0.05) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #cd7dba 0%, #02538d 50%, #04c9b9 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(4, 201, 185, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-card p {
    color: var(--color-gray-dark);
    line-height: 1.7;
}

/* ==========================================
   WHY SECTION
   ========================================== */
.why-section {
    padding: 6rem 0;
    background: var(--color-gray-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image img {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.why-image img:hover {
    transform: scale(1.02);
}

.why-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.why-list {
    list-style: none;
    margin: 2rem 0;
}

.why-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.why-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.why-tagline {
    font-size: 1.15rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-left: 4px solid var(--color-secondary);
    border-radius: 5px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #cd7dba 0%, #02538d 50%, #04c9b9 100%);
    color: var(--color-white);
    text-align: center;
}

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

.cta-section .section-title {
    color: var(--color-white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .cta-btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-btn-primary:hover {
    background: var(--color-gray-light);
    transform: translateY(-2px) scale(1.05);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--color-primary);
    color: var(--color-white);
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-contact {
    list-style: none;
    margin-bottom: 2rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--color-white);
    transition: color var(--transition-speed) var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--color-secondary);
}

.footer-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 0.75rem;
    margin-top: 2px;
    color: var(--color-secondary);
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #06c8b9;
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-speed) var(--transition-smooth);
    text-decoration: none;
    width: fit-content;
}

.whatsapp-btn:hover {
    background: #cd7dba;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-speed) var(--transition-smooth);
    color: var(--color-white);
}

.social-link:hover {
    background: var(--color-secondary);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 4px 15px rgba(4, 201, 185, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: left;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-column:first-child .footer-logo img {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .whatsapp-btn {
        margin: 0 auto;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in {
    animation: fadeIn 1s var(--transition-smooth);
}

.fade-in-delay {
    animation: fadeIn 1s var(--transition-smooth) 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s var(--transition-smooth) 0.4s backwards;
}

.fade-in-delay-3 {
    animation: fadeIn 1s var(--transition-smooth) 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .solution-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solution-content .section-title,
    .why-content .section-title {
        text-align: center;
    }
    
    .hero-image-container {
        width: 100%;
    }

    nav .whatsapp-btn {
        display: none;
    }

    h1, .hero-content p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 120px;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .problem-section,
    .solution-section,
    .services-section,
    .why-section,
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-btn {
        width: 100%;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}
