/* ==========================================================================
   Dipy Landing Page - Custom Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    --dipy-orange: #ff6600;
    --dipy-orange-light: #ff9400;
    --dipy-gradient: linear-gradient(135deg, #ff6600 0%, #ff9400 100%);

    --pastel-cream: #FEFCF8;
    --pastel-peach: #FFF5EE;
    --pastel-coral: #FFF0E8;
    --off-white: #FAFAF8;

    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light: #7a7a7a;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 8px 30px rgba(255, 102, 0, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* --------------------------------------------------------------------------
   Base Styles
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

.section {
    padding: 5rem 1.5rem;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.title {
    font-weight: 700;
    color: var(--text-dark);
}

.subtitle {
    color: var(--text-gray);
}

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

/* --------------------------------------------------------------------------
   Film Grain Overlay
   -------------------------------------------------------------------------- */
.film-grain {
    position: relative;
}

.film-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.film-grain > * {
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   Background Sections
   -------------------------------------------------------------------------- */
.section-cream {
    background-color: var(--pastel-cream);
}

.section-peach {
    background-color: var(--pastel-peach);
}

.section-coral {
    background-color: var(--pastel-coral);
}

.section-white {
    background-color: #ffffff;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-gradient {
    background: linear-gradient(135deg, var(--pastel-cream) 0%, var(--pastel-peach) 50%, var(--pastel-coral) 100%);
}

.hero-cenas-wrapper {
    position: relative;
}

.hero-cenas-wrapper .hero {
    background: transparent;
}

.hero-cenas-wrapper #cenas {
    background: transparent;
}

.hero-body .title.is-1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

@media screen and (max-width: 768px) {
    .hero-body .title.is-1 {
        font-size: 2.5rem;
    }
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
    background: transparent;
    padding: 1.5rem 2rem;
}

.navbar-item {
    font-weight: 500;
    color: var(--text-dark);
}

.navbar-item:hover {
    color: var(--dipy-orange);
}

.button.is-ghost-link {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius-md);
    padding: 0.75em 1.25em;
    transition: all 0.3s ease;
}

.button.is-ghost-link:hover {
    border-color: var(--dipy-orange);
    color: var(--dipy-orange);
    background: transparent;
}

/* --------------------------------------------------------------------------
   Hero Logo
   -------------------------------------------------------------------------- */
.hero-logo {
    height: 150px;
    width: auto;
}

.navbar-burger span {
    background-color: var(--text-dark);
    height: 2px;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background: white;
        box-shadow: var(--shadow-md);
        border-radius: var(--radius-md);
        padding: 1rem;
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button.is-dipy {
    background: var(--dipy-gradient);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 1.25em 2em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-orange);
}

.button.is-dipy:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.35);
    color: white;
}


.button.is-white {
    background: white;
    color: var(--dipy-orange);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
}

.button.is-white:hover {
    background: var(--pastel-cream);
    color: var(--dipy-orange);
}

/* Connect with Ignacio Button */
.button.is-connect {
    background: var(--dipy-gradient);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: var(--radius-xl);
    padding: 0.75em 1.5em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    height: auto;
}

.button.is-connect:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.4);
    color: white;
}

.button.is-connect-white {
    background: white;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: var(--radius-xl);
    padding: 0.75em 1.5em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    height: auto;
}

.button.is-connect-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

.connect-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.button.is-connect-white .connect-avatar {
    border-color: var(--dipy-orange);
}

.connect-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.connect-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.button.is-connect .connect-label {
    color: rgba(255, 255, 255, 0.9);
}

.button.is-connect-white .connect-label {
    color: var(--text-gray);
}

.connect-name {
    font-size: 1rem;
    font-weight: 700;
}

.button.is-connect .connect-name {
    color: white;
}

.button.is-connect-white .connect-name {
    color: var(--text-dark);
}

.connect-linkedin {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 0.25rem;
}

@media screen and (max-width: 480px) {
    .button.is-connect,
    .button.is-connect-white {
        padding: 0.5em 1em;
    }

    .connect-avatar {
        width: 36px;
        height: 36px;
    }

    .connect-name {
        font-size: 0.9rem;
    }

    .connect-linkedin {
        width: 20px;
        height: 20px;
    }
}


/* Domain button style */
.connect-domain {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* --------------------------------------------------------------------------
   IGNACIO Section
   -------------------------------------------------------------------------- */
.ignacio-photo-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.ignacio-photo {
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

@media screen and (max-width: 768px) {
    .ignacio-photo {
        max-width: 280px;
    }

    #ignacio .columns {
        flex-direction: column;
    }

    #ignacio .column.is-5 {
        margin-bottom: 2rem;
    }
}

/* --------------------------------------------------------------------------
   Dipy Leaf Decorations (Perplexity-style)
   -------------------------------------------------------------------------- */
.hero-cenas-wrapper {
    position: relative;
    overflow: hidden;
}

.dipy-leaf {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.leaf-top-right {
    width: 500px;
    top: 400px;
    right: -100px;
    transform: rotate(-30deg);
    filter: drop-shadow(0 30px 60px rgba(255, 102, 0, 0.3));
}

.leaf-bottom-left {
    width: 400px;
    bottom: 50px;
    left: -180px;
    transform: rotate(60deg);
    filter: drop-shadow(0 30px 60px rgba(255, 102, 0, 0.3));
}

@media screen and (max-width: 1200px) {
    .leaf-top-right {
        width: 400px;
        top: 80px;
        right: -120px;
    }

    .leaf-bottom-left {
        width: 300px;
        bottom: 100px;
        left: -150px;
    }
}

@media screen and (max-width: 768px) {
    .leaf-top-right {
        width: 250px;
        top: 600px;
        right: -80px;
        opacity: .7;
    }

    .leaf-bottom-left {
        width: 200px;
        bottom: 300px;
        left: -100px;
        opacity: .7;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Tags
   -------------------------------------------------------------------------- */
.tag.is-dipy-light {
    background: rgba(255, 102, 0, 0.1);
    color: var(--dipy-orange);
    font-weight: 600;
    padding: 0.5em 1em;
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Feature List (What is Dipy section)
   -------------------------------------------------------------------------- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dipy-gradient);
    color: white;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Product Mockup
   -------------------------------------------------------------------------- */
.product-mockup {
    perspective: 1000px;
}

.mockup-window {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.mockup-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-header .dot.red { background: #ff5f57; }
.mockup-header .dot.yellow { background: #febc2e; }
.mockup-header .dot.green { background: #28c840; }

.mockup-content {
    padding: 1.5rem;
    min-height: 300px;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dipy-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-message .bubble {
    background: #f5f5f5;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.user .bubble {
    background: var(--dipy-gradient);
    color: white;
}

/* --------------------------------------------------------------------------
   Feature Cards
   -------------------------------------------------------------------------- */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--dipy-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* --------------------------------------------------------------------------
   Dinner Gallery
   -------------------------------------------------------------------------- */
.dinner-gallery {
    position: relative;
    margin: 0;
}

.dinner-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.photo-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    font-style: italic;
}

/* --------------------------------------------------------------------------
   Dinner Features
   -------------------------------------------------------------------------- */
.dinner-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    .dinner-features {
        grid-template-columns: 1fr;
    }
}

.dinner-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-check {
    color: var(--dipy-orange);
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-gray);
}

.savings-badge {
    background: rgba(255, 102, 0, 0.1);
    color: var(--dipy-orange);
    font-size: 0.75rem;
    padding: 0.25em 0.5em;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--dipy-gradient);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.pricing-header {
    background: var(--dipy-gradient);
    padding: 2rem;
    text-align: center;
}

.pricing-body {
    padding: 2rem;
}

.price-container {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.price .period {
    font-size: 1rem;
    color: var(--text-gray);
}

.latte-joke {
    font-size: 0.95rem;
    color: var(--dipy-orange);
    font-weight: 500;
    margin-top: 0.75rem;
    font-style: italic;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--dipy-orange);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Steps Section
   -------------------------------------------------------------------------- */
.steps-container {
    position: relative;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dipy-gradient);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.steps-line {
    position: absolute;
    top: 45px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dipy-orange), var(--dipy-orange), transparent);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--dipy-orange);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-item.is-active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.is-active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    background: var(--dipy-gradient);
    padding: 6rem 1.5rem;
}

.cta-section .has-text-white-ter {
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--pastel-cream);
    padding: 4rem 1.5rem 2rem;
}

.footer-logo {
    height: 40px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--dipy-orange);
}

.footer hr {
    background-color: rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.is-hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .columns.is-vcentered {
        flex-direction: column-reverse;
    }

    .column.is-6:first-child {
        margin-top: 2rem;
    }

    .spheres-container {
        display: none;
    }

    .pricing-toggle {
        flex-wrap: wrap;
    }

    .steps-line {
        display: none;
    }

    .step {
        padding: 1rem;
    }
}

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

.hero-body .title,
.hero-body .subtitle,
.hero-body .buttons {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-body .subtitle {
    animation-delay: 0.1s;
}

.hero-body .buttons {
    animation-delay: 0.2s;
}

/* --------------------------------------------------------------------------
   Story Section (Cómo se arma una mesa Dipy) - Substack-inspired
   -------------------------------------------------------------------------- */
.story-section {
    background: transparent;
    padding-top: 0;
}

.story-narrative {
    max-width: 680px;
    margin: 0 auto;
    font-family: 'Spectral', Georgia, 'Times New Roman', serif;
}

.story-narrative p {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.story-hook {
    font-size: 1.35rem !important;
    font-style: italic;
    color: var(--text-gray) !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.story-narrative strong {
    color: var(--dipy-orange);
    font-weight: 600;
}

.story-result {
    font-size: 1.35rem !important;
    margin-top: 2rem !important;
    padding-top: 1.5rem;
    border-top: 2px solid var(--dipy-orange);
}

.story-coda {
    font-style: italic;
    color: var(--text-gray) !important;
    font-size: 1.1rem !important;
    margin-top: 2rem !important;
    text-align: center;
}

.story-cta {
    margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Simple Pricing Card (New style for single price)
   -------------------------------------------------------------------------- */
.pricing-card-simple {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card-simple .pricing-header {
    background: var(--dipy-gradient);
    padding: 2rem;
    text-align: center;
}

.pricing-card-simple .pricing-body {
    padding: 2.5rem 2rem;
}

.pricing-card-simple .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-card-simple .price .currency {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-card-simple .price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.pricing-card-simple .price .period {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-left: 0.5rem;
}

.price-note {
    font-size: 1rem;
    color: var(--text-gray);
}

.application-note {
    font-size: 0.95rem;
    font-style: italic;
}

.pricing-card-simple .pricing-features {
    text-align: left;
    max-width: 320px;
    margin: 0 auto 2rem;
}

.pricing-card-simple .pricing-features li {
    border-bottom: none;
    padding: 0.5rem 0;
}

