:root {
    --primary: #D3305D;
    /* Orvis Pink */
    --primary-hover: #AB2348;
    --secondary: #1F2937;
    --text-main: #374151;
    --text-light: #6B7280;
    --background: #FFFFFF;

    /* WhatsApp Colors */
    --wa-header-bg: #075E54;
    --wa-bg: #E5DDD5;
    --wa-message-in: #FFFFFF;
    --wa-message-out: #DCF8C6;
    --wa-check-blue: #34B7F1;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--background);
    /* Subtle mesh-like gradient */
    background-image:
        radial-gradient(at 0% 0%, hsla(338, 49%, 94%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(210, 100%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(338, 49%, 96%, 1) 0, transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.1;
    /* Tighter line height for modern feel */
}

h1 {
    letter-spacing: -0.02em;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    /* More rounded/modern */
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(211, 48, 93, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 48, 93, 0.23);
}

.btn-outline {
    border: 2px solid #E5E7EB;
    color: var(--secondary);
    background: white;
}

.btn-outline:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary);
}

.btn-white:hover {
    background-color: #F3F4F6;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(211, 48, 93, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* WhatsApp Mockup */
.whatsapp-card {
    background: #E5DDD5;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transform: rotate(2deg);
    /* Creating that slight tilt from the prompt description style */
    /* border: 8px solid white; Removed as per request */
    position: relative;
}

.whatsapp-card::before {
    /* Mocking the doodle background pattern roughly */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.wa-header {
    background-color: var(--wa-header-bg);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--wa-header-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.wa-info {
    flex: 1;
}

.wa-name {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.wa-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.wa-actions {
    display: flex;
    gap: 1rem;
    opacity: 0.9;
}

.wa-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.wa-message {
    display: flex;
    margin-bottom: 0.5rem;
    max-width: 85%;
}

.wa-incoming {
    align-self: flex-start;
}

.wa-outgoing {
    align-self: flex-end;
}

.wa-bubble {
    padding: 6px 7px 8px 9px;
    border-radius: 7.5px;
    font-size: 14.2px;
    line-height: 19px;
    color: #111b21;
    position: relative;
    box-shadow: 0 1px 0.5px ps((0, 0, 0, 0.13));
}

.wa-incoming .wa-bubble {
    background-color: var(--wa-message-in);
    border-top-left-radius: 0;
}

.wa-outgoing .wa-bubble {
    background-color: var(--wa-message-out);
    border-top-right-radius: 0;
}

.wa-time {
    font-size: 11px;
    color: rgba(17, 27, 33, 0.5);
    margin-left: 10px;
    float: right;
    margin-top: 5px;
}

.wa-meta {
    float: right;
    margin-left: 8px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.wa-check {
    color: var(--wa-check-blue);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: -3px;
}

/* Features */
.features {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bg-pink-light {
    background-color: #FCE7F3;
    color: #DB2777;
}

.bg-blue-light {
    background-color: #DBEAFE;
    color: #2563EB;
}

.bg-purple-light {
    background-color: #F3E8FF;
    color: #9333EA;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
}

/* CTA */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--secondary) 0%, #111827 100%);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 30px;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    opacity: 0.7;
}

.footer-links h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.925rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav {
        display: none;
    }
}

/* Voice Call Mockup */
.hero-image {
    position: relative;
    /* Make sure we can position absolute children */
}

/* Ensure the WhatsApp card stays on its own layer */
.whatsapp-card {
    position: relative;
    z-index: 10;
}

.voice-call-card {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 260px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 20;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.call-header {
    text-align: center;
    margin-bottom: 1rem;
}

.call-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    font-weight: 600;
}

.call-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.call-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.call-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.call-number {
    font-size: 0.875rem;
    color: var(--text-light);
}

.call-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.call-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: default;
    transition: transform 0.3s ease;
}

.call-btn.answer {
    background: #10B981;
    width: auto;
    padding: 0 1.5rem;
    border-radius: 50px;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.call-btn.answer svg {
    width: 20px;
    height: 20px;
}

.voice-wave-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.voice-wave-mini .bar {
    width: 3px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 2px;
    animation: wave 1s infinite ease-in-out;
}

.voice-wave-mini .bar:nth-child(1) {
    animation-delay: 0s;
}

.voice-wave-mini .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.voice-wave-mini .bar:nth-child(3) {
    animation-delay: 0.4s;
}

.voice-wave-mini .bar:nth-child(4) {
    animation-delay: 0.1s;
}

/* Responsive adjustments for the layered look */
@media (max-width: 768px) {
    .voice-call-card {
        right: 50%;
        transform: translateX(50%);
        bottom: -60px;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: #F9FAFB;
    /* Light gray background to separate sections */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    counter-reset: step-counter;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-card.highlight {
    border-color: var(--primary);
    background: linear-gradient(to bottom right, #ffffff, #fff1f2);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: #F3F4F6;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    z-index: 0;
}

.step-card.highlight .step-number {
    color: rgba(211, 48, 93, 0.1);
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

.step-content p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.step-content strong {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Arrows for How It Works Steps */
.step-card:not(:last-child)::after {
    content: "➔";
    position: absolute;
    right: -2.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

@media (max-width: 768px) {
    .step-card:not(:last-child) {
        margin-bottom: 2rem;
        /* Add spacing for arrow */
    }

    .step-card:not(:last-child)::after {
        right: 50%;
        top: auto;
        bottom: -2.8rem;
        transform: translateX(50%) rotate(90deg);
    }
}

/* Platform Preview Section */
.platform-preview {
    padding: 0 0 6rem;
    overflow: hidden;
}

.preview-frame {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Modern deep shadow */
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.5s ease;
}

.preview-frame:hover {
    transform: translateY(-5px);
}

.preview-header {
    background: #F3F4F6;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background-color: #EF4444;
}

.dot.yellow {
    background-color: #F59E0B;
}

.dot.green {
    background-color: #10B981;
}

.address-bar {
    background: #FFFFFF;
    border-radius: 6px;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: 1rem;
    flex: 1;
    max-width: 300px;
    text-align: center;
    border: 1px solid #E5E7EB;
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
}