:root {
    --bg-color: #F7F9FA;
    --text-primary: #0F1A24;
    --text-secondary: #4A5568;
    --accent-gold: #C5A059;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar & Logo */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo {
    max-height: 65px; /* Fits comfortably within the 100px navbar */
    width: auto;
    object-fit: contain;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 0; /* Sharp corporate look */
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--white) !important;
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(15, 26, 36, 0.05);
}

/* Hero Section */
.hero {
    padding: 220px 0 120px;
    text-align: center;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Trust / Reviews Section */
.section-trust {
    padding: 60px 0;
    background-color: var(--bg-color);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.trust-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stars {
    color: #00B67A; /* Trustpilot Green */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.trust-badge p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-dark {
    background-color: var(--text-primary);
    color: var(--white);
}

.section-dark h2 {
    color: var(--white);
}

.section-dark p {
    color: #A0AEC0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 0 auto 24px;
}

/* Grid & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    padding: 40px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-icon {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
    font-style: italic;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Flex Row Section */
.flex-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.flex-text, .flex-visual {
    flex: 1;
}

.flex-text h2 {
    font-size: 2.8rem;
    margin-bottom: 32px;
    line-height: 1.2;
}

.flex-text p {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 16px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li span {
    color: var(--accent-gold);
    font-weight: bold;
}

.stat-panel {
    padding: 60px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-row {
    margin-bottom: 40px;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-disclaimer {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    margin-bottom: 32px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: justify;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .flex-row { flex-direction: column; }
    .trust-grid { gap: 40px; flex-direction: column; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-links { display: none; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 40px; }
    .stat-number { font-size: 3rem; }
}

/* =========================================
   SaaS Mockup Dashboard Styles
   ========================================= */
.platform-mockup {
    display: flex;
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    margin: 40px auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: var(--text-primary);
    max-width: 900px;
}

.mockup-sidebar {
    width: 250px;
    background: #FFFFFF;
    border-right: 1px solid var(--border-color);
    padding: 30px 0;
}

.mockup-sidebar ul {
    list-style: none;
}

.mockup-sidebar li {
    padding: 15px 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid transparent;
}

.mockup-sidebar li.active {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

.mockup-sidebar li span {
    font-size: 1.2rem;
}

.mockup-content {
    flex: 1;
    padding: 30px;
    background: #FAFAFA;
}

.mockup-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.mockup-topbar h3 {
    font-size: 1.2rem;
    margin: 0;
}

.mockup-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4A5568;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #E2E8F0;
    padding: 6px 12px;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00B67A;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #00B67A;
}

.mockup-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.mockup-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.mockup-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.mockup-value {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.mockup-value.alert {
    color: #E53E3E;
}

.mockup-value.success {
    color: #00B67A;
}

.mockup-chart-area {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    height: 80px;
}

.mockup-bar {
    height: 12px;
    border-radius: 6px;
}

/* =========================================
   Team Section Styles
   ========================================= */
.team-grid {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.profile-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    /* Use box-shadow for the ring to prevent border-radius bleeding */
    box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--accent-gold);
    /* Remove contrast optimization which can sometimes add grain/noise */
}

.profile-title {
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0A66C2;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.linkedin-link:hover {
    opacity: 0.8;
}

/* =========================================
   Login Modal Styles
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 26, 36, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 4px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-content h2 {
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.login-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    font-family: inherit;
    font-size: 0.95rem;
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* =========================================
   Browser Frame Styles
   ========================================= */
.browser-frame {
    background: #e0e0e0;
    border-radius: 12px;
    padding-top: 10px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.browser-header {
    display: flex;
    gap: 8px;
    padding: 0 15px 10px 15px;
}

.browser-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-header .dot.red { background: #ff5f56; }
.browser-header .dot.yellow { background: #ffbd2e; }
.browser-header .dot.green { background: #27c93f; }

.browser-frame .platform-mockup {
    margin: 0;
    box-shadow: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: none;
    border-top: 1px solid var(--border-color);
}
