/*
Theme Name: Servino Launch
Author: Servino Team
Description: Full theme styling for Servino landing page - Exact Design Match
Version: 3.9 - Final consolidated version. Includes: Distinct Darker Result Icon Colors, NO 'View Details' pop-up on hover (Feature & Result Cards), and up-to-date layout/color variables.
*/

/* --- 1. CSS Variables & Global Reset (Exact Figma Colors) --- */
:root {
    /* Exact Palette */
    --color-bg-purple: #3b2d5a;      /* Deep Purple Base */
    --color-bg-purple-light: #453A69; /* Lighter Purple for headers/devices */
    --color-accent-red: #FF6047;     /* Salmon/Orange Accent */
    --color-text-dark: #1F1F1F;      /* Blackish text on white background */
    --color-text-gray: #666666;      /* Gray text on white background */
    --color-text-white-sub: #B0A8C0; /* Light Gray for subtext on dark bg */
    --color-white: #ffffff;
    --color-light-bg: #F9F9FB;       /* Light gray background for Results section */
    --color-border: #EAEAEA;         /* Light border color */
    
    --container-width: 1200px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
h1 { font-size: 3.8rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--color-accent-red);
    color: var(--color-white) !important;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-white) !important;
}

.btn-dark {
    background-color: var(--color-bg-purple-light);
    color: var(--color-white) !important;
    padding: 12px 30px;
    border-radius: 10px;
}
.btn-dark:hover {
    background-color: var(--color-bg-purple);
}


/* Tags & Highlights */
.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}
.tag-light { 
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FF9B71; /* Specific light orange for the hero tag */
}
.tag-red { 
    background: #FFEBEB; 
    color: var(--color-accent-red); 
}
.highlight { 
    color: var(--color-accent-red); 
}

/* ---------------------------------------
   2. HEADER (Top Navigation)
----------------------------------------*/
header.site-header {
    background: var(--color-white);
    padding: 14px 0 !important;
    border-bottom: 1px solid #e8e6f3;
    position: sticky; /* Keep header visible */
    top: 0;
    z-index: 100;
}

header.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
header .brand {
    display: flex;
    align-items: center;
}
header .brand img {
    height: 38px !important;
    width: auto;
}

header .brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-bg-purple-light) !important;
    margin-left: 6px;
}

/* Menu layout */
header .main-nav,
header .header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

header .main-nav a {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-bg-purple-light) !important;
}

header .main-nav a:hover {
    color: var(--color-accent-red) !important;
}

/* Sign In Button */
.btn-header {
    background: var(--color-bg-purple-light) !important;
    color: white !important;
    padding: 10px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}
.btn-header:hover {
    background: var(--color-accent-red) !important;
}


/* ---------------------------------------
   3. HERO SECTION (Screenshot 259)
----------------------------------------*/

/* THE EXACT GRADIENT BACKGROUND FROM DESIGN */
.section-hero {
    position: relative;
    padding: 50px 0;
    overflow: hidden; 
    color: var(--color-white);
    background: radial-gradient(
        circle at top left, 
        #453a69 0%, 
        #3b2d5a 40%, 
        #2e2142 100% 
    );
}

/* Glow effects for alignment/color depth */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px); 
    z-index: 1; 
    pointer-events: none;
}
.hero-glow.orange {
    width: 650px; height: 650px;
    background: var(--color-accent-red); 
    opacity: 0.18;
    top: -50px; left: -150px;
}
.hero-glow.beige {
    width: 700px; height: 700px;
    background: #6a4c9c; /* Mid-Purple */
    opacity: 0.25;
    bottom: -100px; right: -200px;
}

.hero-content-flex {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 70px;
    position: relative;
    z-index: 2; 
}

.hero-text {
    flex: 1;
    max-width: 55%; 
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    color: var(--color-white);
}

.hero-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
        flex: 1;
        max-width: 55%;
        
        /* 1. Reset all transformations and perspective on the parent container */
        transform: none !important; 
        perspective: none !important;
        
        /* Align image perfectly to the right */
        display: flex; 
        justify-content: flex-end; 
        align-items: center; 
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 100%; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* 2. Crucial: Reset transformations on the image element itself */
    transform: none !important; 
}

/* Hero Stats Bar */
.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 2px;
    color: var(--color-accent-red);
}

.stat-item div {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------------------------------------
   4. CONTENT SECTIONS (Intro/Features/Results)
----------------------------------------*/
.section-padding { padding: 50px 0; }
.text-center { text-align: center; }
.bg-light { background-color: var(--color-light-bg); }

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-gray);
    max-width: 600px;
    margin: 0 auto 60px;
}


/* Intro Section (Why Servino?) */
.section-intro .intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-direction: row-reverse; 
}
.section-intro .intro-text {
    max-width: 45%;
}
.section-intro .intro-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.section-intro .intro-text p {
    font-size: 16px;
    color: var(--color-text-gray);
    margin-bottom: 20px;
}
.section-intro .intro-image {
    max-width: 55%;
}
.section-intro .intro-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Grid (Screenshots 260/261) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    text-align: left;
}

.feature-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: transform 0.3s, border-color 0.3s, background-color 0.3s; 
    position: relative;
    overflow: hidden; 
}

/* -------------------------------------------
   FEATURE CARD STYLING 
------------------------------------------- */

/* 1. Highlighted Card Border and Shadow */
.highlighted-card {
    border: 1px solid var(--color-accent-red) !important; /* Highlight border in red */
    position: relative;
    box-shadow: 0 8px 20px rgba(255, 96, 71, 0.1); 
    background-color: var(--color-white); 
}

/* 2. General Hover Effect (Lift and Border) */
.feature-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    /* Subtle red border on hover for ALL cards */
    border: 1px solid rgba(255, 96, 71, 0.5);
}

/* Background Color Change on Hover (Tile Color Change) */
.feature-card:hover:not(.highlighted-card) {
    background-color: rgba(255, 96, 71, 0.05); /* Light red tint for stronger visual feedback */
}

/* Icon Box Styling (Color Box) */
.icon-box {
    width: 50px; 
    height: 50px; 
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; 
    margin-bottom: 20px;
    font-size: 20px; 
}

/* Feature Icon Box Colors (Solid background colors) */
.icon-quotation { background: #FF9B71; } 
.icon-invoicing { background: #5570FF; } 
.icon-expense { background: #FF5570; }    
.icon-workorder { background: #6A5ACD; }  /* UPDATED: Changed from #A0886A to a vibrant Indigo */
.icon-team { background: #7C45A3; }       
.icon-analytics { background: #FF3A3A; }  
.icon-secure { background: #5E527F; }     
.icon-mobile { background: var(--color-accent-red); }     


.feature-card h4 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--color-text-gray); }

/* CTA Banner (Screenshot 261 bottom) */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: #4A3C6B; /* Specific dark color for banner */
    padding: 25px 40px;
    border-radius: 12px;
    margin-top: 80px;
    box-shadow: 0 10px 30px rgba(74, 60, 107, 0.5);
}
.cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
}
.btn-cta-pricing {
    background-color: var(--color-accent-red);
    color: var(--color-white) !important;
    padding: 10px 30px;
    font-size: 16px;
}

/* Results Grid (Screenshot 263) */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.result-card { 
    background: var(--color-white); 
    padding: 40px 30px; 
    border-radius: 16px; 
    text-align: center; 
    position: relative; 
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}

.result-card:hover {
    transform: translateY(-5px); /* Lift card on hover */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.result-card h3 { 
    font-size: 2.5rem; 
    margin-bottom: 5px; 
}
.result-card .sub { 
    color: var(--color-accent-red); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 14px; 
    margin-bottom: 15px; 
    display: block; 
}
.result-card h4 { 
    font-size: 18px; 
    margin-bottom: 5px; 
    color: var(--color-text-dark); 
} 

/* 1. CRITICAL: Image Visibility - FORCE ICON TO WHITE */
.result-card .icon-box img {
    filter: brightness(0) invert(1); 
    max-width: 70%; 
    max-height: 70%;
    height: auto;
}

/* 2. Specific Result Icon Box Colors (DARKER, DISTINCT COLORS) */
.icon-results-time { 
    background: #FF9B71; /* Orange/Salmon */
    border: none;
}
.icon-results-accuracy { 
    background: #F6595F; /* Pink/Red */
    border: none;
}
.icon-results-growth { 
    background: #FF9B71; /* Orange/Salmon (Matching the first one) */
    border: none;
}
.icon-results-rating { 
    background: #E94F67; /* Dark Pink */
    border: none;
}


/* ---------------------------------------
   5. Devices Section (Screenshot 264)
----------------------------------------*/
.devices-section {
    background: var(--color-bg-purple-light); 
    color: var(--color-white);
    border-radius: 20px; 
    max-width: var(--container-width);
    margin: 0 auto; 
    padding: 40px 0;
}
.devices-section h2, .devices-section .tag-red {
    color: var(--color-white);
}
.devices-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.device-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0 50px;
}
.device-item {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    width: 100px;
    height: 100px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}
.device-item i {
    font-size: 30px;
    margin-bottom: 8px;
}
.btn-download {
    background-color: var(--color-accent-red);
    color: var(--color-white) !important;
    padding: 12px 40px;
    font-size: 18px;
    margin-bottom: 50px;
}
.pricing-cta-bottom {
    padding-top: 50px;
}

/* ---------------------------------------
   6. Free Trial CTA (Screenshot 267 top)
----------------------------------------*/
.free-trial-cta-section {
    padding-top: 40px;
    padding-bottom: 50px;
    background: var(--color-white);
}
.trial-box {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 1.1rem;
    font-weight: 500;
}
.compare-features-link {
    color: var(--color-accent-red);
    font-weight: 600;
}
.free-trial-cta-section p {
    margin-bottom: 10px;
    line-height: 1.4;
}
/* --- 7. FOOTER (Screenshot 267 bottom) --- */
footer {
    background-color: var(--color-bg-purple); 
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    /* Adjusted grid columns for better alignment based on content density */
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr; 
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col-info {
    max-width: 300px;
}
.footer-col h4 { 
    color: var(--color-white); 
    font-size: 18px; 
    margin-bottom: 25px; 
}

.footer-col a { 
    color: rgba(255,255,255,0.7); 
}
.footer-col a:hover { 
    color: var(--color-white); 
}

/* Social Links */
.social-links { 
    display: flex; 
    gap: 15px; 
    margin-top: 20px; 
}
.social-links a { 
    width: 38px; 
    height: 38px; 
    background: rgba(255,255,255,0.15); 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--color-white); 
    font-size: 16px; 
}

/* Contact Column Details (Precise alignment) */
.contact-col .contact-item {
    display: flex;
    align-items: flex-start; /* Align icon and text block to the top */
    margin-bottom: 20px;
    gap: 15px;
}
.contact-col .contact-item i {
    font-size: 18px;
    color: var(--color-accent-red); 
    padding-top: 3px;
}
.contact-col .contact-item div {
    display: flex;
    flex-direction: column;
}
.contact-col .contact-item a, .contact-col .contact-item span {
    color: var(--color-white); 
    font-weight: 500;
}
.contact-col .contact-item .sub-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6); 
    margin-top: 2px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensure vertical alignment */
    padding-top: 20px;
    font-size: 14px;
}
.footer-bottom .footer-legal a {
    margin-left: 25px;
    color: rgba(255,255,255,0.6); 
}


/* ---------------------------------------
   8. MOBILE RESPONSIVE FIXES
----------------------------------------*/
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-content-flex, .features-grid, .results-grid, .footer-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }
    .hero-text { max-width: 100%; text-align: center; }
    .hero-image { max-width: 90%; margin: 0 auto 40px; transform: none; }
    .hero-stats { justify-content: center; gap: 30px; }
    
    .intro-flex {
        flex-direction: column !important;
    }
    .intro-text, .intro-image {
        max-width: 100% !important;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-banner, .trial-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .devices-section {
        border-radius: 0;
        margin: 0;
    }
}
@media (max-width: 600px) {
    .features-grid, .results-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        border-top: none;
        padding-top: 0;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-bottom .footer-legal a {
        margin-left: 10px;
        margin-right: 10px;
          color: rgba(255,255,255,0.6); 
    }
}
.hero-section {
  padding: 50px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.2;
}

.hero-content .highlight {
  color: #ff5a3c;
}

.badge {
  background: #ffe8e2;
  color: #ff5a3c;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 15px;
  display: inline-block;
}

.hero-text {
  font-size: 18px;
  margin-bottom: 15px;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
}

.features-section {
  background: #f8f9fd;
  padding: 50px 0;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.cta-section {
  background: #2f2359;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.pricing-section {
    padding: 50px 0;
    background: var(--color-light-bg);
}

.pricing-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

/* KEY: This forces the cards to stay horizontal */
.pricing-row {
   display: flex !important;      /* Force flexbox */
    flex-direction: row !important; /* Side-by-side */
    justify-content: center;
    align-items: stretch;          /* Keeps all cards the same height */
    gap: 30px;
    margin-top: 50px;
    flex-wrap: nowrap;             /* Prevents wrapping on large screens */
    width: 100%;
}


.price-card {
    background: var(--color-white);
    flex: 1;                       /* Allows cards to grow/shrink equally */
    min-width: 300px;              /* Minimum width before it looks squished */
    max-width: 380px;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;       /* Content inside card stays vertical */
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--color-accent-red);
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}
.price-container {
    margin-top: 15px; /* Creates a clear gap from the description text */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price-amount {
    font-size: 54px;
    font-weight: 800;
    margin: 20px 0;
}

.price-amount span {
    font-size: 18px;
    color: var(--color-text-gray);
    font-weight: 400;
}

.price-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    display: block;
}

.price-features {
    text-align: left;
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
    margin-top: auto; /* Pushes list to the bottom of the card */
}

.price-features li {
    font-size: 14px;
    color: var(--color-text-gray);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.price-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent-red);
}
@media (min-width: 992px) {
    .pricing-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: stretch !important; /* Makes all cards same height */
        gap: 30px !important;
        flex-wrap: nowrap !important; /* Prevents wrapping to next line */
        width: 100%;
    }

    .price-card {
        flex: 1; /* Each card takes equal width */
        max-width: 350px; /* Optional: prevents cards from getting too wide */
        margin: 0 !important; /* Remove any vertical margins that cause stacking */
    }
}
/* Maintain Vertical Stack for Mobile */
@media (max-width: 991px) {
    .pricing-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .price-card {
        width: 100%;
        max-width: 400px;
    }

    .hero-content-flex {
        flex-direction: column;
        text-align: center;
    }
}

