/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B6B;
    --primary-dark: #E85555;
    --primary-light: rgba(255, 107, 107, 0.12);
    --secondary-color: #60A5FA;
    --coral-red: #FF6B6B;
    --text-dark: #2C2C2C;
    --text-charcoal: #36454F;
    --text-light: #6B7280;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --space-section: clamp(4rem, 10vw, 6.25rem);
    --space-block: clamp(1.5rem, 4vw, 2rem);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.12);
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2rem);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
}

.logo {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-charcoal);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

.footer-brand .logo { color: transparent; }

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-charcoal);
    letter-spacing: -0.02em;
}

.logo-text-footer {
    color: white;
}

.logo-img-light {
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-charcoal);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-charcoal);
    transition: all var(--transition);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: var(--bg-white);
    color: var(--text-charcoal);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, var(--primary-light) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.highlight {
    color: var(--coral-red);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 32ch;
}

.hero-tagline {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.03em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.6s ease 0.1s both;
}

.hero-photo {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* How it Works */
/* Video Section */
.video-section {
    padding: var(--space-section) 0;
    background: var(--bg-light);
}

.video-wrap {
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
    background: var(--text-charcoal);
}

/* How it Works */
.how-it-works {
    padding: var(--space-section) 0;
    background: var(--bg-white);
}

.the-problem-visual {
    margin-top: 2rem;
    text-align: center;
}

.the-problem-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: var(--bg-white);
    padding: var(--space-block);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.step:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 107, 0.2);
}

.step-number {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.55;
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* Problem / Solution */
.problem-solution {
    padding: var(--space-section) 0;
    background: var(--bg-white);
}

.why-arriv-photo-wrap {
    margin-top: 2rem;
    text-align: center;
}

.why-arriv-photo {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.before-after-wrap {
    margin-top: 2rem;
    text-align: center;
}

.before-after-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.ps-illustration {
    margin-bottom: 1rem;
    text-align: center;
}

.ps-illustration img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ps-block {
    padding: var(--space-block);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.ps-block.problem {
    background: #FEF2F2;
    border-left: 4px solid var(--coral-red);
}

.ps-block.solution {
    background: #EFF6FF;
    border-left: 4px solid var(--primary-color);
}

.ps-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.ps-list {
    list-style: none;
    padding: 0;
}

.ps-list li {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-charcoal);
    line-height: 1.6;
}

.ps-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .problem-solution-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Section */
.features {
    padding: var(--space-section) 0;
    background: var(--bg-light);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-charcoal);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
}

.our-answers-photo-wrap {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.our-answers-photo {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: var(--space-block);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 107, 0.15);
}

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-charcoal);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: var(--space-section) 0;
    background: var(--bg-white);
}

.about-content {
    max-width: 640px;
    margin: 0 auto;
}

.about-grid {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about .section-title {
    margin-bottom: 1rem;
    text-align: left;
}

.about-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: var(--space-section) 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-charcoal);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9375rem;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-item a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--text-charcoal);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    margin-left: auto;
    margin-right: 4rem;
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-column h4 {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-column a:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .hero-photo {
        max-width: 320px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about .section-title {
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        margin-left: 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
