/* ========================================
   Hello Avatar - SaaS Marketing Agency
   Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #0D0D0D;
    --color-secondary: #1A1A2E;
    --color-accent: #FF6B35;
    --color-accent-secondary: #F7C94B;
    --color-text: #FFFFFF;
    --color-text-muted: #A0A0A0;
    --gradient-accent: linear-gradient(135deg, #FF6B35, #F7C94B);
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --container-max: 1200px;
    --section-padding: 100px;
    --card-padding: 32px;
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-primary);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

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

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-cta {
    padding: 12px 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-secondary);
    z-index: 999;
    transition: right var(--transition);
    padding: 80px 32px 32px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
}

.badge-text {
    font-size: 14px;
    color: var(--color-text-muted);
}

.badge-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

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

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--color-secondary);
    border-radius: 16px;
    padding: var(--card-padding);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-description {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ========================================
   Process Section
   ======================================== */
.process {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
}

.step-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.step-description {
    color: var(--color-text-muted);
    font-size: 16px;
    max-width: 220px;
    margin: 0 auto;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    margin-top: 80px;
    opacity: 0.5;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent);
    display: inline;
}

.stat-label {
    display: block;
    font-size: 18px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--color-primary);
    border-radius: 16px;
    padding: var(--card-padding);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-avatar {
    font-size: 48px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact-info {
    max-width: 450px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-text {
    color: var(--color-text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contact-icon {
    font-size: 20px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-secondary);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    padding: 16px;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.form-error {
    font-size: 13px;
    color: #ff4444;
    min-height: 18px;
}

.form-success {
    display: none;
    padding: 16px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    text-align: center;
    color: var(--color-accent);
}

.form-success.show {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--color-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--color-text);
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 8px;
    font-size: 16px;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .process-connector {
        display: none;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 20px);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        gap: 48px;
    }
    
    .footer-content {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    body {
        font-size: 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }
    
    .badge-divider {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-unit {
        font-size: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-social {
        justify-content: center;
    }
}
