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

body {
/*    font-family: 'Inter', sans-serif; */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Heading Styles */
h1 {
    font-size: 3.5rem; /* 56px */
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
/*    color: #0f172a; */ /* slate-900 */
  }
  
  h2 {
    font-size: 2.25rem; /* 36px */
    font-weight: 300;
    margin-bottom: 2rem;
    color: #0f172a; /* slate-900 */
  }
  
  h3 {
    font-size: 1.5rem;
    font-weight: 400;
 /*    letter-spacing: 0.05em; */
    margin-bottom: 1rem;
    color: #64748b; /* slate-500 */
  }

/* Paragraph */
p {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75; /* 28px */
 /*   color: #475569; */ /* slate-700 */
    margin-bottom: 2rem;
    max-width: 53rem;
  }
  
/* Blockquote / Quote */
blockquote {
    border-left: 4px solid #e2e8f0; /* slate-200 */
    padding-left: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 2rem 0;
  }
  
  blockquote p {
    font-size: 1.125rem; /* 18px */
    color: #475569; /* slate-700 */
    font-style: italic;
    margin-bottom: 1rem;
  }
  
  blockquote footer {
    font-size: 0.875rem; /* 14px */
    color: #64748b; /* slate-500 */
  }

/* Callout Section */
.callout {
    background-color: #f8fafc; /* slate-50 */
    border-left: 4px solid #0f172a; /* slate-900 */
    padding: 1rem 2rem;
    margin: 1rem 0 0;
  }
  .callout:first-child {
    margin-top: 0;
  }
  
  .callout h3 {
    font-size: 0.875rem; /* 14px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #64748b; /* slate-500 */
  }
  
  .callout ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .callout li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
   margin-bottom: 0rem; 
    color: #475569; /* slate-700 */
    font-size: 1rem;
  }
  
  .callout li::before {
    content: '→';
    color: #0f172a; /* slate-900 */
    font-weight: 700;
    flex-shrink: 0;
  }
  
  /* Stats Section */
  .stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
  }
  
  .stat {
    text-align: center;
  }
  
  .stat-number {
    font-size: 3rem; /* 48px */
    font-weight: 300;
    color: #0f172a; /* slate-900 */
    margin-bottom: 0.5rem;
    line-height: 1;
  }
  
  .stat-label {
    font-size: 0.875rem; /* 14px */
    color: #475569; /* slate-600 */
    margin-bottom: 0.25rem;
  }
  
  .stat-sublabel {
    font-size: 0.75rem; /* 12px */
    color: #64748b; /* slate-500 */
    margin-top: 0.25rem;
  }

  /* Bulleted List */
ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    max-width: 53rem;
  }
  
  ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569; /* slate-700 */
    font-size: 1.125rem; /* 18px - matches paragraph */
    line-height: 1.75; /* 28px - matches paragraph */
  }
  
  ul li::before {
    content: '•';
    color: #0f172a; /* slate-900 */
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  ul.arrows li::before {
    content: '→';
    color: #0f172a; /* slate-900 */
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.25rem;
  }

  a {
    color: #00A1AD;
    text-decoration: none;
    transition: color 0.3s ease;
  }




/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: linear-gradient(30deg, #000100 0%, #203661 100%);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

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

/* Sign In Button */
.sign-in-btn {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-left: auto;
}

.sign-in-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.sign-in-btn .lock-icon {
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    margin-right: 8px;
}

.sign-in-btn .lock-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(30deg, #000100 0%, #203661 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    max-width: 53rem;
    opacity: 0.95;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: #fff;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

/* Project Cards */
.project-card {
    margin-bottom: 80px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.project-content {
    display: flex;
    min-height: 500px;
}

.project-content.reverse {
    flex-direction: row-reverse;
}

.project-text {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-image {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    background: #f0f0f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-overview {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.4;
}

.project-outcome {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.4;
}
/*
.project-link {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}*/

.project-link:hover {
/*    background: #e0e0e0;
    transform: translateY(-2px);
*/
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Arrow transition for regular project link */
.project-link {
    display: inline-flex;
    align-items: center;
/*    background: #f0f0f0;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */

    background: linear-gradient(30deg, #000100 0%, #203661 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.project-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: translateX(3px);
}

/* Locked Project Button Styles */
.project-link-locked {
    display: inline-flex;
    align-items: center;
/*    background: #f0f0f0;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */

    background: linear-gradient(30deg, #000100 0%, #203661 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.3s ease;
    align-self: flex-start;
    position: relative;
    cursor: pointer;
/*    border: 1px solid #e0e0e0;*/
}

.project-link-locked:hover {
/*    background: #e0e0e0;
*/
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Arrow transition for locked project link */
.project-link-locked::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.project-link-locked:hover::after {
    transform: translateX(3px);
}

/* SVG lock icon styling */
.lock-icon {
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: baseline;
}

.lock-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
    display: block;
}

.project-link-locked:hover .lock-icon svg {
    stroke: #ffffff;
}

/* Hover text to the right of button */
.project-link-locked .hover-text {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.project-link-locked .hover-text::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-right-color: #333;
}

.project-link-locked:hover .hover-text {
    opacity: 1;
    visibility: visible;
}

/* Spacing between buttons */
.project-text .project-link + .project-link-locked {
    margin-top: 12px;
}

/* Screenshot Placeholders */
.screenshot-placeholder {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Dashboard Preview Styles */
.dashboard-preview {
    display: flex;
    min-height: 400px;
}

.sidebar {
    width: 150px;
    background: #f8f9fa;
    padding: 20px 0;
    border-right: 1px solid #e0e0e0;
}

.sidebar-item {
    padding: 12px 20px;
    color: #666;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-item.active {
    color: #667eea;
    border-left-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.main-content {
    flex: 1;
    padding: 20px;
    background: #fff;
}

.alert-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.alert-section h4 {
    color: #856404;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.alert-item {
    color: #856404;
    font-size: 0.9rem;
}

.chart-section {
    margin-bottom: 20px;
}

.chart-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
}

.bar-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 100px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.pie-chart-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
}

.pie-chart {
    display: flex;
    gap: 15px;
}

.pie-slice {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pie-slice.processed {
    background: #d4edda;
    color: #155724;
}

.pie-slice.pending {
    background: #f8d7da;
    color: #721c24;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.metric-card h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
}

.large-chart {
    height: 120px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 100%;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.donut-chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.donut-slice {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.donut-slice.paid {
    background: #d4edda;
    color: #155724;
}

.donut-slice.promised {
    background: #fff3cd;
    color: #856404;
}

.donut-slice.overdue {
    background: #f8d7da;
    color: #721c24;
}

.prediction-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.prediction-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.prediction-card h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.prediction-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
}

/* Prediction Interface */
.prediction-interface {
    padding: 20px;
    background: #fff;
}

.prediction-header {
    text-align: center;
    margin-bottom: 30px;
}

.prediction-header h4 {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.prediction-date {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.confidence-section {
    margin-bottom: 30px;
}

.confidence-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
}

.confidence-chart {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.confidence-bell {
    text-align: center;
}

.confidence-range {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.confidence-days {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.day {
    background: #667eea;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-question {
    text-align: center;
}

.trust-question p {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
}

.trust-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.trust-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trust-btn.yes:hover {
    border-color: #28a745;
    color: #28a745;
}

.trust-btn.no:hover {
    border-color: #dc3545;
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .project-content {
        flex-direction: column;
    }
    
    .project-content.reverse {
        flex-direction: column;
    }
    
    .project-text {
        padding: 30px 20px;
    }
    
    .project-image {
        padding: 20px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .prediction-cards {
        grid-template-columns: 1fr;
    }
    
    .trust-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .portfolio-title {
        font-size: 2rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 0 15px;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .sign-in-btn {
        padding: 6px 12px;
        font-size: 14px;
        margin-left: 0;
    }
    
    .sign-in-btn .lock-icon {
        width: 12px;
        height: 12px;
        margin-right: 6px;
    }
}

/* Project Screenshot Styles */
.project-screenshot {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-screenshot-large {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-screenshot-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
