* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #f3f1ea;
    overflow-x: hidden;
}

/* Typography */
.title-normal {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.title-serif {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: normal;
}

.title-italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
}

.logo-text-italic {
    font-style: italic;
    font-family: 'Instrument Serif', serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(243, 241, 234, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    height: 56px;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 20px;
    vertical-align: middle;
    display: block;
}

.logo-text {
    display: flex;
    align-items: center;
    font-size: 36px;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
}

/* Hamburger Menu - hidden by default on desktop */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
}

.hamburger-btn:focus,
.hamburger-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background-color: #f3f1ea;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-logo-text {
    font-family: 'Instrument Serif', serif;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
}

.close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000000;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background-color: #e0e0e0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #666666;
    padding-left: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #666666;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* CSS Custom Properties for Gradient Button */
@property --pos-x {
    syntax: '<percentage>';
    initial-value: 11.14%;
    inherits: false;
}

@property --pos-y {
    syntax: '<percentage>';
    initial-value: 140%;
    inherits: false;
}

@property --spread-x {
    syntax: '<percentage>';
    initial-value: 150%;
    inherits: false;
}

@property --spread-y {
    syntax: '<percentage>';
    initial-value: 180.06%;
    inherits: false;
}

@property --color-1 {
    syntax: '<color>';
    initial-value: #000;
    inherits: false;
}

@property --color-2 {
    syntax: '<color>';
    initial-value: #08012c;
    inherits: false;
}

@property --color-3 {
    syntax: '<color>';
    initial-value: #4e1e40;
    inherits: false;
}

@property --color-4 {
    syntax: '<color>';
    initial-value: #70464e;
    inherits: false;
}

@property --color-5 {
    syntax: '<color>';
    initial-value: #88394c;
    inherits: false;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 20deg;
    inherits: true;
}

@property --border-color-1 {
    syntax: '<color>';
    initial-value: hsla(340, 75%, 60%, 0.2);
    inherits: true;
}

@property --border-color-2 {
    syntax: '<color>';
    initial-value: hsla(340, 75%, 40%, 0.75);
    inherits: true;
}

@property --stop-1 {
    syntax: '<percentage>';
    initial-value: 37.35%;
    inherits: false;
}

@property --stop-2 {
    syntax: '<percentage>';
    initial-value: 61.36%;
    inherits: false;
}

@property --stop-3 {
    syntax: '<percentage>';
    initial-value: 78.42%;
    inherits: false;
}

@property --stop-4 {
    syntax: '<percentage>';
    initial-value: 89.52%;
    inherits: false;
}

@property --stop-5 {
    syntax: '<percentage>';
    initial-value: 100%;
    inherits: false;
}

/* Primary Button Styles - Smooth gradient animation */
.gradient-button {
    position: relative;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
    min-width: 160px;
    padding: 18px 32px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    border: 2px solid transparent;
    text-decoration: none;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: all 0.6s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.gradient-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #333333 0%, #666666 50%, #333333 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    transition: all 0.6s ease;
    opacity: 0;
}

.gradient-button .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.5s ease;
}

.gradient-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3);
}

.gradient-button:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.gradient-button:hover {
    background-position: 100% 50%;
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
}

.gradient-button:hover::before {
    background-position: 100% 50%;
    opacity: 1;
}

.gradient-button:hover .btn-arrow {
    transform: translateX(3px);
}

/* Standard Button Class - Applied to all secondary buttons */
.btn-standard {
    position: relative;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    border: 2px solid #000000;
    text-decoration: none;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.btn-standard .btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-standard:hover {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-standard:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Component Styles */
.hero-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: #f3f1ea;
    padding: 0 16px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 100vw;
    padding-top: 80px;
}

.hero-eyebrow {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 19px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.51em;
    line-height: 1.33;
    text-align: center;
    margin-top: 169px;
    margin-bottom: 32px;
    color: #000000;
}

.hero-title {
    font-size: 72px;
    line-height: 90px;
    text-align: center;
    color: #000000;
    margin-bottom: 25px;
    font-weight: 400;
}

.title-line {
    display: block;
    white-space: nowrap;
}

.hero-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.33;
    text-align: center;
    margin: 0 auto 48px;
    max-width: 800px;
    color: #000000;
}

.hero-mockup {
    margin-top: 40px;
    position: relative;
    width: 100%;
    max-width: 1274px;
}

.mockup-frame {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.mockup-container {
    border-radius: 12px;
    overflow: hidden;
    /* Let the container follow the image height */
}

.mockup-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

.mockup-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, transparent 0%, #f3f1ea 100%);
    pointer-events: none;
    border-radius: 0 0 20px 20px;
}

/* Animations */
@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-appear {
    opacity: 0;
    animation: appear 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-150 { animation-delay: 0.15s; }
.delay-200 { animation-delay: 0.2s; }
.delay-250 { animation-delay: 0.25s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-700 { animation-delay: 0.7s; }

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #666666;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 56px;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 24px;
    font-weight: 400;
}

.section-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    orphans: 2;
    widows: 2;
    text-wrap: balance;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background-color: #ffffff;
}

/* Mobile Features Section */
@media (max-width: 768px) {
    .features-section {
        padding: 80px 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #e5e5e5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    z-index: -1;
    border-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #000000;
    background: #fafafa;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
    transition: all 0.3s ease;
}

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

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
}

.feature-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 24px;
}

.feature-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.feature-card:hover .stat-number {
    color: #333333;
    transform: scale(1.05);
}

.feature-card:hover .stat-label {
    color: #666666;
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background-color: #f8f8f8;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #000000 0%, #666666 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    z-index: 2;
    position: relative;
}

.timeline-content {
    flex: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    margin: 0 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -24px;
    border-right-color: #ffffff;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -24px;
    border-left-color: #ffffff;
}

.timeline-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.timeline-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 16px;
}

.timeline-duration {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Timeline arrows - hidden by default on desktop */
.timeline-arrow {
    display: none;
}

/* Showcase Section */
.showcase-section {
    padding: 120px 0;
    background-color: transparent;
}

.showcase-carousel-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background: transparent;
}

.showcase-carousel {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 0;
    background: transparent;
}

.showcase-carousel::-webkit-scrollbar {
    display: none;
}

.showcase-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.showcase-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 8px 0;
    background: transparent;
}

/* Assicurati che non ci siano pseudo-elementi residui che creano rettangoli grigi */
.showcase-carousel-wrapper::before,
.showcase-carousel-wrapper::after,
.showcase-carousel::before,
.showcase-carousel::after,
.showcase-slide::before,
.showcase-slide::after,
.showcase-card-suprema::before,
.showcase-card-suprema::after {
    content: none !important;
}

/* Rimuovi qualsiasi sfondo/ombra residua dal wrapper/slide del carosello */
.showcase-carousel-wrapper,
.showcase-carousel,
.showcase-slide {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: #000000;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.carousel-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
    left: 8px;
}

.carousel-arrow.next {
    right: 8px;
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #000000;
    transform: scale(1.1);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.showcase-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #f0f0f0;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.showcase-images {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 24px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.showcase-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.showcase-img:hover {
    transform: scale(1.02);
}

.showcase-info {
    padding: 32px;
}

.showcase-title {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
}

.showcase-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 24px;
}

.showcase-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}

.stat-label {
    font-size: 14px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.showcase-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* Mobile Responsive for Showcase */
@media (max-width: 768px) {
    .showcase-section {
        padding: 80px 0;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .showcase-images {
        padding: 16px;
    }

    .showcase-info {
        padding: 24px;
    }

    .showcase-title {
        font-size: 24px;
    }

    .showcase-description {
        font-size: 15px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }

    .showcase-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Showcase Card Suprema - New Styles */
.showcase-card-suprema {
    display: flex;
    align-items: stretch;
    gap: 40px;
    background: #fff;
    border-radius: 24px;
    /* Nessuna ombra sotto la card */
    box-shadow: none;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    height: auto;
}

/* Hover più delicato, senza stacchi netti */
.showcase-card-suprema:hover {
    transform: translateY(-4px);
    box-shadow: none;
}


/* Container rimosso dall'HTML; manteniamo la classe vuota per compatibilità */
.showcase-images-suprema { }

.showcase-img-suprema {
    flex: 0 0 340px;
    width: 340px;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    display: block;
    background-color: #ffffff;
}

/* Specific rule for Studio Veritas image */
.showcase-img-suprema[alt*="Studio Veritas"] {
    border-radius: 32px !important;
}

/* Additional rules to ensure rounded corners on the image */
img.showcase-img-suprema,
.showcase-img-suprema,
.showcase-img-suprema.desktop {
    border-radius: 32px !important;
    clip-path: inset(0 round 32px) !important;
}

.showcase-info-suprema {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-title-suprema {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.showcase-description-suprema {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-btn-suprema {
    margin-top: 0;
    padding: 16px 36px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #f7f7f7 0%, #f0f0f0 50%, #f7f7f7 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #222;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.6s ease;
    position: relative;
}

.showcase-btn-suprema:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    border-color: #222222;
}

@media (max-width: 768px) {
    .showcase-card-suprema {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
        height: auto;
    }

    .showcase-img-suprema {
        width: 280px;
        flex: 0 0 auto;
        height: 160px;
        object-fit: cover;
    }

    .showcase-info-suprema {
        text-align: center;
    }

    .showcase-title-suprema {
        font-size: 2rem;
    }

    .showcase-description-suprema {
        font-size: 1rem;
    }

    .showcase-btn-suprema {
        width: 100%;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e5e5e5;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    min-height: 580px;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.07);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-title {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.price-currency {
    font-size: 24px;
    font-weight: 500;
    color: #666666;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: #000000;
}

.price-period {
    font-size: 16px;
    color: #666666;
}

.pricing-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    color: #666666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: 600;
}

.pricing-cta {
    margin-top: auto;
    position: relative;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    border: 2px solid transparent;
    text-decoration: none;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: all 0.6s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #333333 0%, #666666 50%, #333333 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    transition: all 0.6s ease;
    opacity: 0;
}

.pricing-cta .btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.pricing-cta:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.pricing-cta:hover::before {
    background-position: 100% 50%;
    opacity: 1;
}

.pricing-cta:hover .btn-arrow {
    transform: translateX(3px);
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background-color: #f8f8f8;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Form Progress */
.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff 0%, #00c851 100%);
    border-radius: 4px;
    width: 0%;
    transition: all 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666666;
}

#progressPercent {
    font-weight: 600;
    color: #000000;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Placeholder styles - less visible */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
    opacity: 0.7;
    font-weight: 400;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
}

/* Select option styling for consistency */
.form-group select option:first-child {
    color: #999999;
    font-weight: 400;
}

.form-row:last-of-type {
    grid-template-columns: 1fr;
}

.form-privacy {
    margin: 16px 0;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}

.privacy-label input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.privacy-label a {
    color: #000000;
    text-decoration: underline;
}

.form-submit {
    margin-top: 16px;
}

.form-cta {
    position: relative;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    border: 2px solid transparent;
    text-decoration: none;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: all 0.6s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    width: 100%;
}

.form-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #333333 0%, #666666 50%, #333333 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    transition: all 0.6s ease;
    opacity: 0;
}

.form-cta .btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.form-cta:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.form-cta:hover::before {
    background-position: 100% 50%;
    opacity: 1;
}

.form-cta:hover .btn-arrow {
    transform: translateX(3px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
}

.info-detail {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    color: #666666;
}

.info-detail a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-detail a:hover {
    color: #000000;
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f3f1ea;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(243, 241, 234, 0.3);
}

.faq-question span {
    flex: 1;
    margin-right: 20px;
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f1ea;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
    background: #e0dcd1;
    transform: scale(1.05);
}

.faq-icon svg {
    transition: transform 0.3s ease;
    color: #666666;
}

.faq-question[aria-expanded="true"] .faq-icon svg {
    transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .faq-icon svg line:first-child {
    opacity: 0;
}

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

.faq-answer.active {
    max-height: 300px;
}

.faq-content {
    padding: 0 32px 32px 32px;
    border-top: 1px solid #f0f0f0;
}

.faq-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 20px 0 0 0;
}

/* FAQ Animation */
.faq-item.animate-appear {
    opacity: 0;
    transform: translateY(20px);
    animation: appear 0.6s ease forwards;
}

.delay-600 { animation-delay: 0.6s; }

/* Footer */
.footer-section {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-description {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #cccccc;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #333333;
    text-align: center;
}

.footer-copyright {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    color: #999999;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-component {
        padding-top: 70px;
    }
    
    .hero-eyebrow {
        font-size: 16px;
        letter-spacing: 0.3em;
        margin-top: 70px;
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 58px;
        padding: 0 8px;
    }
    
    .title-line {
        white-space: normal;
    }
    
    .title-mobile-break::after {
        content: '\A';
        white-space: pre;
    }
    
    .title-mobile-break-second::before {
        content: '\A';
        white-space: pre;
    }
    
    .hero-subtitle {
        font-size: 20px;
        margin: 20px 8px 36px;
        padding: 0;
    }
    
    .gradient-button {
        min-width: 120px;
        padding: 14px 28px;
        font-size: 16px;
        margin-bottom: 60px;
        gap: 6px;
    }
    
    .gradient-button .btn-arrow {
        width: 17px;
        height: 17px;
    }
    
    .pricing-cta {
        padding: 14px 20px;
        font-size: 15px;
        gap: 6px;
    }
    
    .pricing-cta .btn-arrow {
        width: 16px;
        height: 16px;
    }
    
    .form-cta {
        padding: 14px 20px;
        font-size: 16px;
        gap: 6px;
    }
    
    .form-cta .btn-arrow {
        width: 16px;
        height: 16px;
    }
    
    .hero-mockup {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .mockup-frame {
        padding: 8px;
    }
    
    .mockup-gradient {
        height: 150px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-number {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }
    
    .timeline-content {
        margin: 0;
        flex: 1;
    }
    
    .timeline-content::before {
        left: -12px !important;
        border-right-color: #ffffff !important;
        border-left-color: transparent !important;
    }
    
    /* Timeline arrows - visible on mobile */
    .timeline-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 20px auto;
        position: relative;
        z-index: 1;
    }
    
    .timeline-arrow svg {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    /* FAQ Mobile Styles */
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-container {
        margin-top: 40px;
        padding: 0 16px;
        gap: 12px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 20px 24px;
    }
    
    .faq-question span {
        margin-right: 16px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-content {
        padding: 0 24px 24px 24px;
    }
    
    .faq-content p {
        font-size: 15px;
        margin: 16px 0 0 0;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .hero-component {
        padding-top: 60px;
    }
    
    .hero-eyebrow {
        margin-top: 60px;
        margin-bottom: 20px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 52px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin: 16px 8px 32px;
    }
    
    .hero-mockup {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .mockup-gradient {
        height: 120px;
    }
    
        .features-section {
        padding: 60px 0;
    }
    
    /* Timeline arrows - smaller on small mobile */
    .timeline-arrow {
        width: 32px;
        height: 32px;
        margin: 16px auto;
    }
    
    .timeline-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .mobile-menu {
        width: 100%;
        padding: 20px;
    }
    
    .mobile-logo-text {
        font-size: 18px;
    }

    .gradient-button {
        padding: 12px 24px;
        font-size: 15px;
        gap: 5px;
    }
    
    .gradient-button .btn-arrow {
        width: 16px;
        height: 16px;
    }
    
    .pricing-cta {
        padding: 12px 18px;
        font-size: 14px;
        gap: 5px;
    }
    
    .pricing-cta .btn-arrow {
        width: 15px;
        height: 15px;
    }
    
    .form-cta {
        padding: 12px 18px;
        font-size: 15px;
        gap: 5px;
    }
    
    .form-cta .btn-arrow {
        width: 15px;
        height: 15px;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title {
        font-size: 64px;
        line-height: 78px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* High Resolution Desktop */
@media (min-width: 1024px) {
    .hero-component {
        padding: 0;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title,
    .hero-subtitle {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-appear {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 2px 0;
    }
    .logo-img {
        height: 32px;
    }
    .nav-brand {
        height: 40px;
    }
    .logo-text {
        font-size: 18px;
    }
}