/* =========================================
   PropFlow - Premium Theme Config
   ========================================= */
:root {
    --primary-blue: #1e3a8a;
    --accent-blue: #3b82f6;
    --cyan-blue: #0ea5e9;
    --indigo-blue: #6366f1;
    --royal-blue: #1d4ed8;
    --light-blue: #eff6ff;
    
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --font-main: 'Outfit', sans-serif;
    
    --card-dark: #1e293b;
    --card-border: rgba(255,255,255,0.1);
}

/* =========================================
   Resets & Basics
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-dark); background-color: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* =========================================
   Utilities
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--text-white); }
.text-gray { color: var(--text-gray); }
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary-blue); }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.mb-60 { margin-bottom: 60px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }
.pb-120 { padding-bottom: 120px; }
.pt-120 { padding-top: 120px; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.fw-500 { font-weight: 500; }

.section-title { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-sub { font-size: 18px; color: var(--text-light); max-width: 600px; margin: 0 auto 40px; }
.text-left.section-sub { margin-left: 0; }

/* =========================================
   Buttons
   ========================================= */
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 12px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; font-family: inherit; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, #3b82f6, #0ea5e9); color: var(--white); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }
.btn-primary:hover { background: linear-gradient(135deg, #1e3a8a, #3b82f6); transform: translateY(-2px); box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); padding: 10px 24px; cursor: pointer;}
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary-blue); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.inline-btn { align-self: flex-start; }

/* =========================================
   Navigation
   ========================================= */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 15px 0; background: rgba(255,255,255,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); transition: 0.3s; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary-blue); display: flex; gap: 10px; align-items: center; }
.nav-links { display: flex; gap: 32px; font-weight: 500; }
.nav-links a { transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-blue); }
.nav-actions { display: flex; gap: 16px; }

/* =========================================
   Hero Section
   ========================================= */
.hero { position: relative; padding: 160px 0 100px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.gradient-bg { position: absolute; top: 0; left: 0; width: 100vw; height: 100%; z-index: -1; background-color: #f8fafc; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.8; }
.orb-1 { width: 600px; height: 600px; background: #60a5fa; top: -100px; left: -100px; animation: move1 15s infinite alternate ease-in-out; }
.orb-2 { width: 500px; height: 500px; background: #1e3a8a; bottom: -50px; right: -100px; animation: move2 18s infinite alternate-reverse ease-in-out; }
.orb-3 { width: 400px; height: 400px; background: #0ea5e9; top: 30%; right: 20%; animation: move3 12s infinite alternate ease-in-out; }
@keyframes move1 { 0% { transform: translate(0, 0); } 100% { transform: translate(150px, 100px); } }
@keyframes move2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-150px, -100px); } }
@keyframes move3 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(100px, -150px) scale(1.2); } }

.hero-title { font-size: 72px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: #0f172a; letter-spacing: -2px; }
.hero-sub { font-size: 20px; color: #334155; margin: 0 auto 40px; max-width: 600px; }
.hero-actions { display: flex; gap: 20px; }

.btn-app { display: flex; align-items: center; gap: 12px; background: #0f172a; color: white; padding: 12px 28px; border-radius: 12px; transition: transform 0.3s, box-shadow 0.3s; }
.btn-app:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(15,23,42,0.3); color: white; }
.btn-app i { font-size: 28px; }
.btn-text { display: flex; flex-direction: column; text-align: left; }
.btn-text span { font-size: 10px; opacity: 0.8; }
.btn-text strong { font-size: 18px; font-weight: 600; line-height: 1.1; }

.hero-mockups { position: relative; margin-top: 80px; transform: perspective(1000px) rotateX(10deg); transition: transform 0.5s; }
.main-mockup { width: 80%; margin: 0 auto; border-radius: 20px; box-shadow: 0 40px 80px rgba(0,0,0,0.15); border: 1px solid var(--glass-border); background: white; }
.hero-mockups:hover { transform: perspective(1000px) rotateX(0deg); }

.floating-mockup { position: absolute; top: -40px; }
.floating-mockup.left { left: 5%; animation: float 6s infinite ease-in-out alternate; }
.floating-mockup.right { right: 5%; animation: float 7s infinite ease-in-out alternate-reverse; }
.mobile-app { width: 220px; height: 440px; background: white; border-radius: 30px; border: 8px solid #1e293b; box-shadow: 0 20px 40px rgba(0,0,0,0.2); overflow: hidden; }
.app-header { padding: 40px 20px 20px; color: white; font-weight: 600; text-align: center; }
.bg-tenant { background: linear-gradient(135deg, #3b82f6, #1e3a8a); }
.bg-contractor { background: linear-gradient(135deg, #0284c7, #0369a1); }
.app-body { padding: 20px; }
.skeleton-line { height: 10px; background: #e2e8f0; border-radius: 4px; margin-bottom: 12px; width: 100%; }
.skeleton-line.short { width: 60%; }
.skeleton-box { height: 60px; border-radius: 8px; margin-bottom: 12px; width: 100%; }
.bg-blue-light { background: #eff6ff; border: 1px dashed #3b82f6; }
.bg-cyan-light { background: #e0f2fe; border-left: 4px solid #0ea5e9; }
.bg-blue-deep-light { background: #f0f9ff; border-left: 4px solid #0284c7; }

@keyframes float { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }

/* =========================================
   Banner Event Section
   ========================================= */
.banner-section { padding: 80px 0; }
.banner-image { width: 100%; height: 400px; border-radius: 24px; background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&q=80&w=2000'); background-size: cover; background-position: center; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15,23,42,0.95), rgba(15,23,42,0.2)); display: flex; flex-direction: column; justify-content: center; padding: 0 60px; color: white; }
.banner-overlay h2 { font-size: 48px; font-weight: 800; max-width: 600px; margin-bottom: 16px; line-height: 1.1; }
.banner-overlay p { font-size: 20px; color: #cbd5e1; margin-bottom: 20px;}

/* =========================================
   Pills & Abstract Graphic
   ========================================= */
.pills-section { padding: 80px 0 40px; background: white; }
.pill-tabs { display: inline-flex; background: #f1f5f9; padding: 8px; border-radius: 50px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); }
.pill { border: none; background: transparent; padding: 12px 24px; font-size: 16px; font-weight: 600; font-family: inherit; color: var(--text-light); border-radius: 40px; cursor: pointer; transition: 0.3s; }
.pill.active, .pill:hover { background: var(--white); color: var(--primary-blue); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.abstract-graphic { margin-top: 60px; height: 300px; position: relative; display: flex; justify-content: center; align-items: center; }
.g-burst { width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,130,246,0.05), transparent 70%); border-radius: 50%; border: 1px dashed rgba(59,130,246,0.5); animation: spin 20s linear infinite; position: absolute; }
.g-dot { width: 20px; height: 20px; border-radius: 50%; position: absolute; }
.dot-1 { background: #3b82f6; left: 30%; top: 40%; box-shadow: 0 0 20px #3b82f6; animation: float 3s infinite alternate; }
.dot-2 { background: #0ea5e9; right: 30%; top: 30%; box-shadow: 0 0 20px #0ea5e9; animation: float 4s infinite alternate-reverse; }
.dot-3 { background: #1e3a8a; right: 45%; bottom: 20%; box-shadow: 0 0 20px #1e3a8a; animation: float 5s infinite alternate; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* =========================================
   Accelerating Dev (Accordion)
   ========================================= */
.accelerate-section { padding: 80px 0 120px; }
.grid-2-gap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.accordion { display: flex; flex-direction: column; gap: 16px; }
.acc-item { border-bottom: 1px solid #e2e8f0; padding-bottom: 16px; transition: 0.3s; }
.acc-title { font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: color 0.3s; }
.acc-title:hover { color: var(--accent-blue); }
.acc-content { display: none; padding-top: 12px; color: var(--text-light); font-size: 15px; padding-left: 28px; }
.acc-item.active .acc-content { display: block; animation: fadeDown 0.3s ease; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.acc-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* =========================================
   Integrations
   ========================================= */
.integrations-section { padding: 120px 0; background: var(--bg-darker); border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
.integration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dark-card { background: var(--card-dark); border: 1px solid var(--card-border); padding: 30px; border-radius: 16px; transition: transform 0.3s, border-color 0.3s; color: white; }
.dark-card:hover { transform: translateY(-5px); border-color: var(--cyan-blue); box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1); }
.dark-card i { font-size: 32px; color: var(--cyan-blue); margin-bottom: 20px; }
.dark-card h4 { font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.dark-card p { color: var(--text-gray); font-size: 15px; }

.gradient-banner { background: linear-gradient(135deg, #1e3a8a, #0ea5e9); border-radius: 20px; padding: 40px; text-align: center; color: white; box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2); }
.gradient-banner h3 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.gradient-banner p { font-size: 18px; opacity: 0.9; }

/* =========================================
   Detailed UI
   ========================================= */
.detailed-ui-section { padding: 120px 0; background: white; }
.check-list { margin-bottom: 40px; font-size: 16px; }
.check-list li { margin-bottom: 16px; font-weight: 500; display: flex; gap: 12px; align-items: center; color: var(--text-dark); }
.check-list i { color: var(--accent-blue); background: var(--light-blue); width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 12px; }

.testimonial { display: flex; gap: 20px; align-items: center; background: #f8fafc; padding: 24px; border-radius: 16px; border-left: 4px solid var(--accent-blue); box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.testimonial img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid white; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.quote { font-style: italic; font-weight: 500; margin-bottom: 8px; font-size: 15px; color: var(--text-dark); line-height: 1.4; }
.author { font-size: 14px; font-weight: 700; color: var(--text-light); }

.glass-panel.shadow-large { box-shadow: 0 30px 60px rgba(0,0,0,0.15); border-radius: 16px; padding: 0; overflow: hidden; border: 1px solid #e2e8f0; }
.ui-header { background: #f1f5f9; padding: 12px 20px; display: flex; gap: 8px; border-bottom: 1px solid #e2e8f0; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.yellow { background: #f59e0b; } .dot.green { background: #10b981; }
.rounded-img { width: 100%; display: block; }

/* =========================================
   Flow Architecture
   ========================================= */
.dark-bg { background: var(--bg-dark); padding: 120px 0; overflow: hidden; }
.flow-diagram { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.node { padding: 20px 40px; border-radius: 12px; font-weight: 600; color: white; font-size: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 200px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.main-node { font-size: 24px; padding: 40px 60px; box-shadow: 0 0 40px rgba(59,130,246,0.4); border: 2px solid #93c5fd; }
.main-node i { font-size: 40px; margin-bottom: 12px; color: #93c5fd; }
.arrow { color: #475569; font-size: 24px; }

/* Helpers for boxes/icons */
.bg-indigo-c { background: var(--indigo-blue); }
.bg-blue-c { background: var(--accent-blue); }
.bg-cyan-c { background: var(--cyan-blue); }
.bg-royal-c { background: var(--royal-blue); }

/* =========================================
   Stats Background Light Wave
   ========================================= */
.stats-wave-section { padding: 80px 0 140px; position: relative; overflow: hidden; background: white; border-top: 1px solid #f1f5f9; }
.wave-graphic-light { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #ffffff; background-image: radial-gradient(at 10% 90%, rgba(14, 165, 233, 0.25) 0px, transparent 60%), radial-gradient(at 90% 10%, rgba(29, 78, 216, 0.15) 0px, transparent 60%), radial-gradient(at 50% 100%, rgba(56, 189, 248, 0.35) 0px, transparent 80%); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.text-gradient { font-size: 80px; font-weight: 800; background: linear-gradient(90deg, #38bdf8, #1d4ed8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; line-height: 1; letter-spacing: -2px; }

/* =========================================
   App Cards (Use Cases) Light Theme
   ========================================= */
.use-cases-section { border-top: 1px solid #f1f5f9; padding-top: 120px; background: #f8fafc; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.light-app-card { background: white; border: 1px solid #e2e8f0; padding: 40px 30px; border-radius: 16px; transition: transform 0.3s, box-shadow 0.3s; text-align: center; }
.light-app-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-color: #cbd5e1; }
.light-app-card h4 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.icon-c { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; margin: 0 auto 24px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.text-sm { font-size: 15px; }

/* =========================================
   Bento Grid & Newsletter
   ========================================= */
.bento-section { padding: 100px 0 120px; background: #ffffff; }
.bento-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: 24px; margin-bottom: 30px; }
.bento-item { border-radius: 20px; padding: 40px; overflow: hidden; position: relative; }

/* Large Blue Card */
.bento-large { background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); color: white; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15); border: none; }
.bento-large h3 { font-size: 38px; font-weight: 800; margin-bottom: 12px; letter-spacing: -1px; }
.bento-large p { font-size: 16px; opacity: 0.95; line-height: 1.5; padding-right: 40px; margin-bottom: 30px; }
.bento-large .btn-white { background: white; color: #1d4ed8; font-weight: 700; border-radius: 50px; padding: 14px 30px; border: none; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.bento-large .btn-white:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); color: #1e3a8a; }

/* Image Card */
.bento-img { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=800'); background-size: cover; background-position: center; padding: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.bento-overlay { background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; color: white; }
.bento-overlay h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.bento-overlay p { font-size: 13px; opacity: 0.9; }

/* API Card */
.bg-gray { background: #f8fafc; border: 1px solid #e2e8f0; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.bg-gray h4 { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.bg-gray p { color: #64748b; font-size: 15px; }
.icon-large { font-size: 42px; display: block; text-align: right; color: #1e3a8a; align-self: flex-end; }

/* Newsletter Block */
.newsletter-block { display: flex; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; min-height: 380px; }
.nl-text { flex: 1.1; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.nl-text h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; color: #0f172a; }
.nl-text p { color: #64748b; font-size: 16px; line-height: 1.6; margin-bottom: 30px; max-width: 90%; }

/* Form Group overrides */
.form-group { display: flex; gap: 16px; align-items: center; }
.form-group input { flex: 1; padding: 14px 24px; border-radius: 50px; border: 1px solid #cbd5e1; outline: none; font-family: inherit; font-size: 15px; transition: 0.3s; color: #0f172a; }
.form-group input::placeholder { color: #94a3b8; }
.form-group input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.form-group .btn-primary { padding: 14px 30px; border-radius: 50px; background: #0ea5e9; box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); border: none; font-size: 15px; font-weight: 600; color: white; cursor: pointer; transition: 0.3s; }
.form-group .btn-primary:hover { background: #0284c7; transform: translateY(-2px); box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4); }

.nl-image { flex: 1; background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&q=80&w=1000'); background-size: cover; background-position: center; }

/* =========================================
   Footer
   ========================================= */
footer { background: var(--bg-darker); color: white; padding: 80px 0 30px; border-top: 1px solid #1e293b; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-col h4 { font-size: 18px; font-weight: 600; margin-bottom: 24px; color: white; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-gray); transition: color 0.3s; }
.footer-col a:hover { color: var(--cyan-blue); }
.social-icons a { margin-right: 16px; font-size: 20px; color: var(--text-gray); transition: 0.3s; }
.social-icons a:hover { color: white; }

.footer-bottom { padding-top: 30px; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; color: var(--text-gray); font-size: 14px; }
.bottom-links a { margin-left: 20px; transition: color 0.3s; }
.bottom-links a:hover { color: white; }

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .hero-title { font-size: 56px; }
    .grid-2-gap { grid-template-columns: 1fr; gap: 40px; }
    .integration-grid, .cards-grid-4 { grid-template-columns: 1fr 1fr; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-item { min-height: 250px; }
    .newsletter-block { flex-direction: column; }
    .nl-image { height: 250px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-container { padding-top: 40px; }
    .hero-mockups { transform: none; margin-top: 40px; }
    .floating-mockup { display: none; } /* Hide floating elements on mobile for simplicity */
    
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .integration-grid, .cards-grid-4, .footer-grid { grid-template-columns: 1fr; }
    
    .flow-diagram { flex-direction: column; }
    .arrow { transform: rotate(90deg); margin: 10px 0; }
    
    .banner-overlay { padding: 0 30px; }
    .banner-overlay h2 { font-size: 36px; }
    
    .nl-text { padding: 30px; }
    .form-group { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
