
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* OgênioSign Color Palette */
    --genius-yellow: hsl(45, 100%, 52%);
    --genius-yellow-dark: hsl(42, 96%, 45%);
    --genius-gray: hsl(0, 0%, 42%);
    --genius-gray-light: hsl(0, 0%, 82%);
    --genius-black: hsl(0, 0%, 0%);
    --genius-white: hsl(0, 0%, 100%);
    
    /* Additional colors */
    --bg-light: hsl(0, 0%, 98%);
    --bg-gray: hsl(0, 0%, 96%);
    --text-muted: hsl(0, 0%, 45%);
    --whatsapp-green: hsl(142, 70%, 49%);
    --shadow: hsla(0, 0%, 0%, 0.1);
    --shadow-lg: hsla(0, 0%, 0%, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--genius-black);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn-primary {
    background: var(--genius-black);
    color: var(--genius-white);
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--shadow);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: hsl(0, 0%, 10%);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.btn-secondary {
    background: var(--genius-yellow);
    color: var(--genius-black);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--shadow);
}

.btn-secondary:hover {
    background: var(--genius-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.btn-footer {
    background: var(--genius-yellow);
    color: var(--genius-black);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-footer:hover {
    background: var(--genius-yellow-dark);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--genius-yellow) 0%, var(--genius-yellow-dark) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--genius-white) 32% 32%, transparent 32% 32%),
        radial-gradient(circle at 80% 60%, var(--genius-white) 24% 24%, transparent 24% 24%),
        radial-gradient(circle at 60% 80%, var(--genius-white) 16% 16%, transparent 16% 16%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .logo-container {
        justify-content: flex-start;
    }
}

.logo {
    height: 5rem;
    width: auto;
    filter: drop-shadow(0 4px 8px var(--shadow));
}

@media (min-width: 768px) {
    .logo {
        height: 6rem;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--genius-black);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-highlight {
    color: var(--genius-white);
    text-shadow: 0 2px 4px var(--shadow);
}

.hero-description {
    font-size: 1.25rem;
    color: hsla(0, 0%, 0%, 0.8);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

.hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: hsla(0, 0%, 0%, 0.7);
    font-weight: 500;
}

.badge {
    background: hsla(0, 0%, 100%, 0.9);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 20rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-features {
        margin: 0;
    }
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column; 
    align-items: center;
}

.feature-icon {
    justify-content: center;
    background: hsla(0, 0%, 100%, 0.2);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
}

.feature-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--genius-black);
}

.feature-text {
    font-size: 0.875rem;
    color: hsla(0, 0%, 0%, 0.7);
    font-weight: 500;
}

/* Phone Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-mockup {
        justify-content: flex-end;
    }
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    background: var(--genius-black);
    border-radius: 2.5rem;
    padding: 0.5rem;
    box-shadow: 0 25px 50px var(--shadow-lg);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: rotate(0deg);
}

.phone-screen {
    background: var(--genius-white);
    border-radius: 2rem;
    padding: 1.5rem;
    width: 20rem;
    height: 37.5rem;
    position: relative;
    overflow: hidden;
}

.whatsapp-header {
    background: var(--whatsapp-green);
    color: var(--genius-white);
    padding: 1rem;
    border-radius: 0.75rem 0.75rem 0 0;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: hsla(0, 0%, 100%, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.contact-name {
    font-weight: 600;
}

.contact-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: calc(100% - 2rem);
    overflow: hidden;
}

.message {
    padding: 0.75rem;
    border-radius: 0.5rem;
    max-width: 75%;
    font-size: 0.875rem;
}

.message.received {
    background: hsl(0, 0%, 94%);
    border-radius: 0.5rem 0.5rem 0.5rem 0.125rem;
    align-self: flex-start;
}

.message.sent {
    background: var(--whatsapp-green);
    color: var(--genius-white);
    border-radius: 0.5rem 0.5rem 0.125rem 0.5rem;
    align-self: flex-end;
}

.floating-icon {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--whatsapp-green);
    color: var(--genius-white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: 0 4px 8px var(--shadow);
    animation: bounce 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.floating-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: hsla(0, 0%, 100%, 0.9);
    padding: 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px var(--shadow);
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    width: 1.5rem;
    height: 1.5rem;
    color: hsla(0, 0%, 0%, 0.6);
}

/* Animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--genius-black);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--genius-gray);
    max-width: 32rem;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--genius-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--genius-yellow);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--genius-black);
    margin-bottom: 1rem;
}

.feature-card-description {
    color: var(--genius-gray);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light) 100%);
}

.steps-container {
    position: relative;
}

.step-connector {
    display: none;
}

@media (min-width: 1024px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 6rem;
        left: 50%;
        transform: translateX(-50%);
        width: 75%;
        height: 4px;
        background: linear-gradient(90deg, var(--genius-yellow) 0%, hsla(45, 100%, 52%, 0.3) 100%);
        border-radius: 2px;
    }
}

.steps-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--genius-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--genius-black);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 8px var(--shadow);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 16px var(--shadow);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.25);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--genius-black);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--genius-gray);
    line-height: 1.6;
}

/* Test Section */
.test-section {
    padding: 5rem 0;
    background: var(--genius-black);
    color: var(--genius-white);
    position: relative;
    overflow: hidden;
}

.test-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 10% 20%, var(--genius-yellow) 40% 40%, transparent 40% 40%),
        radial-gradient(circle at 80% 80%, var(--genius-yellow) 32% 32%, transparent 32% 32%),
        radial-gradient(circle at 40% 40%, var(--genius-yellow) 20% 20%, transparent 20% 20%);
}

.test-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.test-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .test-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .test-title {
        font-size: 3.75rem;
    }
}

.test-title-highlight {
    color: var(--genius-yellow);
}

.test-description {
    font-size: 1.25rem;
    color: hsl(0, 0%, 80%);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.test-stats {
    background: hsl(0, 0%, 15%);
    border: 2px solid var(--genius-yellow);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--genius-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(0, 0%, 60%);
}

.test-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.test-note {
    font-size: 0.75rem;
    color: hsl(0, 0%, 50%);
    margin-top: 1rem;
}

.test-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: hsl(0, 0%, 60%);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer-section {
    background: var(--genius-black);
    color: var(--genius-white);
    padding: 3rem 0;
    border-top: 1px solid hsl(0, 0%, 20%);
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1.5fr 1fr;
        text-align: left;
    }
}

.footer-logo-img {
    height: 3rem;
    width: auto;
}

.footer-text p {
    margin-bottom: 0.5rem;
    color: hsl(0, 0%, 70%);
    text-align: center;
}

.footer-cta {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-cta {
        text-align: right;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .features-section,
    .how-it-works-section,
    .test-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .phone-screen {
        width: 16rem;
        height: 30rem;
        padding: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}