:root {
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --accent-glow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* --- ROBO SHADOW STYLE HERO --- */
.hero-robo {
  position: relative;
  background-color: #4a65d6;
  background: linear-gradient(160deg, #5a7ae8 0%, #3d56b8 40%, #2d449c 100%);
  padding-top: 140px;
    padding-bottom: 300px; /* More space for the curve + devices */
  overflow: hidden;
  color: #fff;
  min-height: 100vh;
  border-bottom-left-radius: 120% 45vw;
  border-bottom-right-radius: 0;
}

.robo-bg-curve {
    display: none;
}

/* Ensure Pricing Card relative positioning */
.plan-card {
    position: relative !important;
    z-index: 1;
}

.strategic-tag {
    z-index: 2;
}
  
.hero-grid-robo {
    display: grid;
    grid-template-columns: 1fr 1.55fr; /* More space for devices */
    align-items: start; /* Align top like RoboShadow */
    gap: 16px;
    position: relative;
    z-index: 10;
    padding-top: 30px;
}
  
.hero-copy-robo {
    position: relative;
    z-index: 20;
    padding-top: 70px; /* Push text down from nav */
}

/* --- CONTACT PAGE STYLES --- */
.contact-hero {
    min-height: 40vh; /* Shorter hero for contact page */
    padding-bottom: 100px;
}

.contact-hero .hero-grid-robo {
    display: block;
    text-align: left;
}

.contact-hero .hero-copy-robo {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    transform: translateX(60px);
}

.contact-hero .hero-copy-robo p {
    margin-left: 0;
    margin-right: 0;
}

.contact-section {
    padding: 80px 0;
    margin-top: -60px; /* Pull up into the hero curve */
    position: relative;
    z-index: 20;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.contact-info h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.contact-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* --- TOOL CHAIN LOGOS --- */
.tool-logos {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align texts at bottom approximately */
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.tool-logo-item {
    width: 100px; /* Base size */
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tool-logo-item svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.tool-logo-item:hover {
    transform: translateY(-8px) scale(1.05); /* Enhanced hover */
}

/* Optimize for larger desktops */
@media (min-width: 1200px) {
    .tool-logo-item {
        width: 120px;
    }
    .tool-logos {
        gap: 45px;
    }
}

/* Optimize for mobile */
@media (max-width: 768px) {
    .tool-logos {
        gap: 15px;
    }
    .tool-logo-item {
        width: 85px; /* Smaller but readable */
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: white;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
}

.form-status.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.hero-copy-robo h1 {
    font-size: 3.1rem; /* Slightly smaller to fit */
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    /* white-space: nowrap; REMOVED to prevent overlap */
    max-width: 100%;
}
  
.hero-copy-robo p {
    font-size: 1.05rem;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 16px;
    max-width: 480px; /* Fixed width like RoboShadow */
}

.robo-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 4px; /* Boxy but soft */
    margin: 24px 0 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 1.1rem;
}
  
.robo-badge .crown {
    margin: 0 8px;
    font-size: 1.2rem;
}

.hero-actions-robo {
    margin-bottom: 20px;
}
  
.btn-robo-primary {
    background: #77bdfb; /* Lighter blue button */
    color: #fff;
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-robo-primary:hover {
    transform: translateY(-2px);
    background: #8dc9ff;
}

/* Make header transparent for this design */
.site-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    position: fixed !important; /* Always visible */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Ensure Nav text is white on the blue background */
.main-nav a { 
    color: #fff !important; 
    font-weight: 600; 
    font-size: 0.95rem; /* Match RoboShadow font size */
    text-transform: uppercase;
}
.main-nav a:hover { color: #dbeafe !important; }

/* NAVBAR BUTTON STYLE LIKE ROBOSHADOW */
.btn-nav {
    background: #628ccf !important; /* Muted blue like screenshot */
    border-radius: 4px !important; /* Slightly rounded */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    padding: 10px 24px !important;
    min-height: 44px !important;
    min-width: auto !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}
.btn-nav:hover {
    background: #7ca1e0 !important;
    transform: translateY(-1px);
}

/* Adjust devices for better fit - match RoboShadow layout */
.hero-devices-robo {
  position: relative;
    height: 700px; 
  width: 100%;
    transform: translateX(40px) translateY(10px);
}

.device-wrapper {
  position: absolute;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  background: #0d1117;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.device-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  background: #1e293b;
}

/* Laptop - Top right, large, slightly rotated, bleeding off screen */
.device-laptop {
    top: -70px;
    right: -240px; /* Bleeds significantly off the right edge */
    width: 930px;
  z-index: 2;
    transform: rotate(-10deg);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}

/* Tablet - Overlapping laptop, lower-left of it */
.device-tablet {
    top: 300px;
    right: 40px;
    width: 560px;
  z-index: 3;
    transform: rotate(-7deg);
    border: 10px solid #1a1a2e;
    border-radius: 18px;
}

/* Phone - Bottom left of device group, smallest */
.device-phone {
    top: 350px;
    right: 360px;
    width: 220px; 
  z-index: 4;
    transform: rotate(-12deg);
    border: 6px solid #1a1a2e;
    border-radius: 28px;
}

/* --- Quality/Vantaggio Section Wave Effect --- */
.quality {
    border-top-left-radius: 260% 12vw;
    border-top-right-radius: 0;
    margin-top: -4vw;
    padding-top: 140px !important;
    position: relative;
    z-index: 10;
}

/* --- OVERRIDES FOR RESPONSIVE --- */
@media (max-width: 1280px) {
    .hero-copy-robo h1 {
        font-size: 2.6rem;
    }
    .device-laptop {
        width: 760px;
        right: -170px;
        top: -50px;
    }
    .device-tablet {
        width: 460px;
        right: -10px;
        top: 280px;
    }
    .device-phone {
        right: 300px;
        top: 420px;
    }
}

@media (max-width: 1024px) {
    .hero-robo {
        padding-bottom: 200px;
        min-height: auto;
    }
    .hero-grid-robo {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 0;
    }
    .hero-copy-robo {
        padding-top: 20px;
    }
    .hero-copy-robo h1 {
        font-size: 2.4rem;
        white-space: normal;
    }
    .hero-copy-robo p { 
        margin: 0 auto 16px;
        max-width: 100%;
    }
    .hero-devices-robo {
        height: 350px;
        width: 100%;
        margin-top: 40px;
        display: flex;
        justify-content: center;
    }
    .device-laptop { 
        position: relative;
        width: 90%; 
        right: auto;
        top: auto;
        transform: none; 
        margin: 0 auto;
    }
    .device-tablet { display: none; }
    .device-phone { display: none; }
}

@media (max-width: 640px) {
    .hero-robo {
        padding-top: 110px;
        padding-bottom: 140px;
    }
    .hero-copy-robo h1 {
        font-size: 1.8rem;
    }
    .hero-copy-robo p {
        font-size: 0.95rem;
    }
    .robo-badge {
        font-size: 0.95rem;
    }
    .hero-devices-robo {
        height: 280px;
    }
}

/* --- TEXT & TYPOGRAPHY --- */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* --- COMPONENTS --- */
.trust-badge-row {
  display: flex;
  gap: 12px;
  margin: 24px 0 36px;
  flex-wrap: wrap;
}

.trust-badge {
  font-size: 0.8rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 4px 12px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.trust-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* --- HERO ANIMATIONS --- */
.radar-scan {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4));
    transform-origin: left center;
    animation: radar-spin 4s linear infinite;
}

.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px #fff;
    animation: radar-ping 4s infinite;
}
.radar-dot:nth-child(2) { animation-delay: 1s; }
.radar-dot:nth-child(3) { animation-delay: 2.5s; }
.radar-dot:nth-child(4) { animation-delay: 3.2s; }

@keyframes radar-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes radar-ping {
    0% { opacity: 0; transform: scale(0); }
    10% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(0); }
}

/* --- DASHBOARD MOCKUP --- */
.glass-mockup {
    position: relative;
    z-index: 1; 
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.glass-mockup:hover { transform: translateY(-5px) rotateX(2deg); }

.mockup-header { display: flex; gap: 8px; margin-bottom: 20px; }
.mockup-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-body { display: flex; flex-direction: column; gap: 12px; }
.mockup-row { height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; }
.mockup-row.short { width: 40%; }
.mockup-row.long { width: 90%; }
.mockup-row.medium { width: 70%; }

.mockup-chart { display: flex; gap: 8px; height: 60px; align-items: flex-end; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.1); }
.mockup-chart .bar { flex: 1; background: rgba(255,255,255,0.3); border-radius: 4px; transition: height 0.5s ease; }
.mockup-chart .bar.alert { background: rgba(239, 68, 68, 0.8); }

/* --- REPORT SHOWCASE --- */
.report-showcase { padding: 100px 0; background: var(--surface); position: relative; overflow: hidden; }
.report-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; }
@media (max-width: 900px) { .report-split { grid-template-columns: 1fr; text-align: center; } .check-list { text-align: left; } }

.document-stack { position: relative; width: 320px; height: 440px; margin: 0 auto; perspective: 1000px; }
.doc-page { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--white); border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.4s ease; }
.doc-back { transform: rotateZ(-5deg) translate(-10px, -10px); background: #f1f5f9; }
.doc-front { transform: rotateZ(2deg); padding: 30px; display: flex; flex-direction: column; border: 1px solid #e2e8f0; }
.document-stack:hover .doc-front { transform: rotateZ(0deg) scale(1.02); }
.document-stack:hover .doc-back { transform: rotateZ(-8deg) translate(-20px, -15px); }

.doc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 2px solid #0f172a; padding-bottom: 10px; }
.doc-logo { width: 30px; height: 30px; background: #0f172a; border-radius: 50%; }
.doc-title { font-size: 0.7rem; font-weight: bold; color: #64748b; letter-spacing: 1px; }

.doc-content h3 { font-size: 1.2rem; margin: 0 0 15px 0; color: #0f172a; }

.doc-line { height: 6px; background: #e2e8f0; margin-bottom: 10px; width: 100%; }
.doc-line.short { width: 60%; }

.risk-meter { margin-top: auto; background: #fef2f2; border: 1px solid #fee2e2; padding: 15px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.risk-label { font-weight: 600; color: #991b1b; }
.risk-value { background: #ef4444; color: white; padding: 4px 12px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 30px 0; }
.check-list li { margin-bottom: 24px; padding-left: 0; }
.check-list strong { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.check-list p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

.report-showcase .btn-secondary {
    background: #2563eb;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
}

.report-showcase .btn-secondary:hover {
    background: #1d4ed8;
}

.btn-text { background: none; color: white; box-shadow: none; font-weight: 600; padding: 0 12px; }
.btn-text:hover { color: rgba(255,255,255,0.8); background: none; transform: translateX(5px); }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap;}

/* Override/Enhancement */
.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 10;
}
@media (max-width: 900px) { 
    .hero-grid { grid-template-columns: 1fr; } 
    .hero-visual { order: -1; margin-bottom: 40px; }
}

/* Strategic Pricing */
.strategic-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 4px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- COMPLIANCE SECTION --- */
.compliance-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #fdfdff);
    position: relative;
    overflow: hidden;
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.compliance-content h2 {
    font-size: 2.4rem;
    color: #1e293b;
    line-height: 1.15;
    margin: 0 0 15px 0;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.compliance-subtitle {
    display: inline-block;
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
}

.compliance-content p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 10px;
}

.compliance-list li {
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.compliance-list li::before {
    content: "✓";
    color: #3b82f6;
    font-weight: 800;
}

.compliance-image {
    position: relative;
    border-radius: 20px;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.compliance-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
    transition: transform 0.5s ease-out;
}

.compliance-image:hover img {
    transform: translateY(-10px) scale(1.02);
}

@media (max-width: 900px) {
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .compliance-list {
        display: inline-block;
        text-align: left;
    }

    .compliance-content h2 {
        font-size: 2rem;
    }
}
