/* ==========================================================================
   FMB Management - Premium Style System
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* Color Palette */
  --bg-cream: #FAF6F0;
  --primary-brown: #5C4033;
  --primary-brown-light: #7A5C4E;
  --accent-gold: #C5A880;
  --accent-gold-dark: #A88B64;
  --emerald: #0F5234;
  --emerald-light: #1A704B;
  
  /* Text Colors */
  --text-dark: #2C2520;
  --text-muted: #70655E;
  --text-light: #FAF6F0;
  
  /* UI Elements */
  --card-bg: #FFFFFF;
  --border-color: #F2ECE4;
  --shadow-sm: 0 4px 12px rgba(92, 64, 51, 0.04);
  --shadow-md: 0 12px 28px rgba(92, 64, 51, 0.08);
  --shadow-lg: 0 20px 48px rgba(92, 64, 51, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L45 15 L60 20 L45 25 L40 40 L35 25 L20 20 L35 15 Z M0 40 L5 55 L20 60 L5 65 L0 80 L-5 65 L-20 60 L-5 55 Z' fill='none' stroke='%235C4033' stroke-width='0.5' stroke-opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-brown);
}

p {
  color: var(--text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-brown), var(--accent-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 100px 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-brown);
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-brown);
}

.cta-group-nav {
  display: flex;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-brown), var(--primary-brown-light));
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(92, 64, 51, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 64, 51, 0.3);
}

.btn-secondary {
  background-color: var(--card-bg);
  color: var(--primary-brown);
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-cream);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-ios {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(15, 82, 52, 0.2);
}

.btn-ios:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 82, 52, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  background: 
    radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(15, 82, 52, 0.06) 0%, transparent 50%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L58.8 8.8 L71.2 8.8 L80 17.6 L80 30 L71.2 38.8 L71.2 51.2 L58.8 60 L50 60 L41.2 60 L28.8 51.2 L28.8 38.8 L20 30 L20 17.6 L28.8 8.8 L41.2 0 Z' fill='none' stroke='%23C5A880' stroke-width='0.8' stroke-opacity='0.1'/%3E%3C/svg%3E");
  filter: blur(1.5px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* App Mockup Rendering */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* App Mockup Rendering - Realistic iPhone 17 Pro Max */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.mockup-wrapper {
  position: relative;
  width: 320px;
  height: 660px;
  background-color: #0E0D0C; /* Dark metallic titanium */
  border-radius: 46px;
  padding: 8px; /* Ultra-thin bezel */
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 0 20px rgba(197, 168, 128, 0.1);
  border: 3.5px solid #23211F; /* Outer frame border */
}

/* Side Buttons (iPhone 17 Pro Max layout) */
.mockup-wrapper::before,
.mockup-wrapper::after {
  content: "";
  position: absolute;
  background-color: #23211F;
  border-radius: 3px;
}

/* Volume keys & Action Button (Left side) */
.mockup-wrapper::before {
  top: 100px;
  left: -6px;
  width: 3.5px;
  height: 50px;
  box-shadow: 
    0 12px 0 #23211F, /* Second volume button */
    0 -35px 0 #23211F; /* Action Button */
}

/* Power Button (Right side) */
.mockup-wrapper::after {
  top: 130px;
  right: -6px;
  width: 3.5px;
  height: 70px;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  border-radius: 38px; /* Perfectly curves around screen corner */
  overflow: hidden;
  background-color: var(--bg-cream);
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Glass Sheen Reflection Overlay */
.mockup-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 41%, transparent 100%);
  pointer-events: none;
  z-index: 5;
}

/* Dynamic Island Capsule */
.mockup-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background-color: #000000;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.1) inset;
}

/* Camera Lens Reflection inside Dynamic Island */
.mockup-notch::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 7px;
  width: 10px;
  height: 10px;
  background-color: #0c182b;
  border-radius: 50%;
  border: 1px solid #142c4a;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
}


/* Features Grid */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: 24px;
  padding: 40px 32px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--primary-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-brown), #3A251C);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: var(--text-light);
  font-size: 40px;
  margin-bottom: 20px;
}

.cta-banner p {
  color: #D3C7C0;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.cta-banner .hero-ctas {
  justify-content: center;
}

/* Footer styling */
footer {
  background-color: #241712;
  color: #D3C7C0;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(242, 236, 228, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 22px;
}

.footer-brand p {
  color: #A2938B;
  font-size: 14px;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #A2938B;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(242, 236, 228, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8A7A72;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-mockup {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 40px;
  }
  .section-header h2 {
    font-size: 30px;
  }
}

/* CTA Wrapper & Badges */
.cta-wrapper {
  position: relative;
  display: inline-block;
}

.btn-disabled {
  opacity: 0.55 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.badge-coming-soon {
  position: absolute;
  top: -10px;
  right: -5px;
  background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
  color: var(--primary-brown);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(92, 64, 51, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid var(--border-color);
  z-index: 10;
  pointer-events: none;
}

