/* CSS Variables and Base Styles */
:root {
    --rydo-purple: #5D4FBE;
    --rydo-purple-light: #8B7ED8;
    --rydo-purple-dark: #4A3F9A;
    --rydo-soft: #F8F7FF;
    --rydo-cream: #FFF9F5;
    --rydo-peach: #FFE4D6;
    --rydo-mint: #E8F5F0;
    --rydo-green: #3BE69E;
    --text-primary: #0D0D12;
    --text-secondary: #272835;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-600: #4B5563;
    --gray-900: #111827;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

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

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

/* Navigation */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 2rem;
    width: auto;
}

.nav-contact-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    background-color: #5D4FBE;
    color: var(--white);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.nav-contact-btn:hover {
    background-color: var(--rydo-purple-dark);
    transform: translateY(-1px);
}

.nav-contact-btn:active {
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    background-image: url('/assets/landing-page/images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.hero-content {
    margin: 0 auto;
    width: 100%;
}

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

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-text {
    text-align: center;
    space-y: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
        space-y: 2rem;
    }
}

.hero-tagline {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    color: #7364D9;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-tagline {
        font-size: 1.5rem;
    }
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-brand {
    color: #7364D9;
}

.hero-image-container {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image-container {
        justify-content: end;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 28rem;
}

@media (min-width: 1024px) {
    .hero-image-wrapper {
        max-width: 32rem;
    }
}

@media (min-width: 1280px) {
    .hero-image-wrapper {
        max-width: 36rem;
    }
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Store Buttons */
.store-buttons {
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .store-buttons {
        justify-content: flex-start;
    }
}

.store-button {
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.store-button:hover {
    transform: scale(1.05);
}

.store-button-img {
    height: 3.5rem;
    width: auto;
}

/* Intro Banner */
.intro-banner {
    padding: 5rem 0;
    background: var(--gray-50);
}

.intro-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.intro-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 2rem;
    background: var(--rydo-green);
}

@media (min-width: 768px) {
    .intro-card {
        padding: 3rem;
    }
}

/* Intro Background Shapes */
.intro-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.intro-shape-1 {
    top: 0;
    right: 0;
    width: 10rem;
    height: 10rem;
    transform: translate(5rem, -5rem);
}

.intro-shape-2 {
    bottom: 0;
    left: 0;
    width: 8rem;
    height: 8rem;
    background: rgba(255, 255, 255, 0.12);
    transform: translate(-4rem, 4rem);
}

.intro-shape-3 {
    top: 33%;
    right: 25%;
    width: 6rem;
    height: 6rem;
    background: rgba(255, 255, 255, 0.06);
}

.intro-shape-4 {
    bottom: 25%;
    right: 2rem;
    width: 7rem;
    height: 7rem;
    background: rgba(255, 255, 255, 0.04);
}

.intro-shape-5 {
    top: 2rem;
    left: 33%;
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.08);
}

.intro-geometric {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
}

.intro-geometric-1 {
    top: 25%;
    left: 2rem;
    width: 4rem;
    height: 4rem;
    transform: rotate(45deg);
}

.intro-geometric-2 {
    bottom: 33%;
    right: 33%;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(12deg);
}

.intro-gradient {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    pointer-events: none;
}

.intro-gradient-1 {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.03), transparent, rgba(255, 255, 255, 0.08));
}

.intro-gradient-2 {
    background: linear-gradient(to top left, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.intro-content {
    position: relative;
    z-index: 10;
    max-width: 1536px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.intro-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .intro-title {
        font-size: 2.25rem;
    }
}

.intro-description {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .intro-description {
        font-size: 1.5rem;
    }
}

.intro-highlight {
    font-weight: 500;
    color: var(--text-secondary);
}

/* Agent Highlights */
.agent-highlights {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--white), var(--rydo-soft));
}

.agent-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.agent-content {
    max-width: 1280px;
    margin: 0 auto;
}

.agent-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .agent-title {
        font-size: 3rem;
    }
}

.agent-title-highlight {
    color: var(--rydo-purple);
}

.agent-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.agent-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .agent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .agent-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.agent-card {
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fade-in 0.6s ease-out forwards;
}

.agent-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.agent-image-container {
    position: relative;
    height: 16rem;
    width: 100%;
    overflow: hidden;
}

.agent-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.agent-gradient-orange {
    background: linear-gradient(to bottom right, #FED7AA, #FDBA74);
}

.agent-gradient-blue {
    background: linear-gradient(to bottom right, #DBEAFE, #BFDBFE);
}

.agent-gradient-green {
    background: linear-gradient(to bottom right, #D1FAE5, #A7F3D0);
}

.agent-gradient-purple {
    background: linear-gradient(to bottom right, #E9D5FF, #D8B4FE);
}

.agent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.agent-card:hover .agent-image {
    transform: scale(1.05);
}

.agent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.agent-card:hover .agent-overlay {
    background: rgba(0, 0, 0, 0.05);
}

.agent-card-content {
    padding: 1.5rem;
}

.agent-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.agent-card:hover .agent-name {
    color: var(--rydo-purple);
}

.agent-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Agent CTA */
.agent-cta {
    margin-top: 4rem;
    text-align: center;
}

.agent-cta-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

.agent-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.agent-cta-subtitle {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.agent-cta-button {
    background: var(--rydo-purple);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.agent-cta-button:hover {
    background: var(--rydo-purple-dark);
    transform: scale(1.05);
}

.agent-cta-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Why Rydo */
.why-rydo {
    padding: 5rem 0;
    background: var(--rydo-soft);
}

@media (max-width: 768px) {
    .why-rydo {
        padding: 2rem 0;
    }
}

.why-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.why-content {
    max-width: 1152px;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .why-title {
        font-size: 3rem;
    }
}

.why-title-highlight {
    color: var(--rydo-purple);
}

.why-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 300;
}

@media (min-width: 768px) {
    .why-subtitle {
        font-size: 1.5rem;
    }
}

.why-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.why-card {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.why-content-inner {
    padding: 2rem;
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .why-content-inner {
        padding: 1.5rem;
    }

    .why-feature-title {
        margin-bottom: 0rem;
    }
}

/* Footer */
.footer {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, var(--rydo-purple), var(--rydo-purple-dark));
    color: var(--white);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-title {
        font-size: 2.25rem;
    }
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .footer-subtitle {
        font-size: 1.25rem;
    }
}

.footer-store-buttons {
    margin-bottom: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.social-link {
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--rydo-peach);
    transform: scale(1.1);
}

.social-icon {
    width: 1.75rem;
    height: 1.75rem;
}

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

.footer-contact-text {
    font-size: 1.125rem;
    opacity: 0.9;
}

.footer-contact-link {
    color: var(--rydo-peach);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--white);
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.footer-legal-text {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 640px) {
    .hero-section {
        padding-top: 120px;
    }
    
    .intro-card {
        padding: 1.5rem;
    }
    
    .agent-cta-card {
        padding: 2rem;
    }
    
    .footer-store-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Contact Form Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0;
    }
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-content {
    width: 100%;
}

.contact-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 2rem;
    background-color: var(--rydo-green);
}

@media (min-width: 768px) {
    .contact-card {
        padding: 3rem;
    }
}

/* Background Shapes */
.contact-shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-shape-1 {
    top: 0;
    right: 0;
    width: 10rem;
    height: 10rem;
    transform: translate(5rem, -5rem);
}

.contact-shape-2 {
    bottom: 0;
    left: 0;
    width: 8rem;
    height: 8rem;
    transform: translate(-4rem, 4rem);
}

.contact-shape-3 {
    top: 1/3;
    right: 1/4;
    width: 6rem;
    height: 6rem;
}

.contact-shape-4 {
    bottom: 1/4;
    right: 2rem;
    width: 7rem;
    height: 7rem;
}

.contact-shape-5 {
    top: 2rem;
    left: 1/3;
    width: 5rem;
    height: 5rem;
}

.contact-geometric {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.contact-geometric-1 {
    top: 1/4;
    left: 2rem;
    width: 4rem;
    height: 4rem;
    transform: rotate(45deg);
}

.contact-geometric-2 {
    bottom: 1/3;
    right: 1/3;
    width: 3rem;
    height: 3rem;
    transform: rotate(12deg);
}

.contact-gradient {
    position: absolute;
    border-radius: 1.5rem;
}

.contact-gradient-1 {
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
}

.contact-gradient-2 {
    inset: 0;
    background: linear-gradient(315deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
}

.contact-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.contact-text {
    color: var(--text-primary);
}

.contact-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 2.25rem;
    }
}

.contact-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 26px;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-light);
    z-index: 1;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
    background-color: var(--white);
    border: 2px solid #ECEFF3;
    border-radius: 0.5rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--rydo-purple);
    box-shadow: 0 0 0 3px rgba(93, 79, 190, 0.1);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: var(--text-light);
}

.contact-textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.contact-textarea + .input-icon {
    top: 1rem;
    transform: none;
}

.contact-button {
    width: fit-content;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    background-color: var(--text-primary);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.contact-button:hover {
    background-color: var(--gray-600);
    transform: translateY(-1px);
}

.contact-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-loading {
    display: none;
}

.contact-button:disabled .button-text {
    display: none;
}

.contact-button:disabled .button-loading {
    display: inline;
}

/* Success/Error States */
.contact-input.success,
.contact-textarea.success {
    border-color: var(--rydo-green);
}

.contact-input.error,
.contact-textarea.error {
    border-color: #EF4444;
}

.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    color: var(--rydo-green);
    font-size: 0.875rem;
    margin-top: 0.25rem;
} 