/* Down Allocation Tool - Professional Website Styles */
/* ================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'San Francisco', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== */
/* NAVIGATION */
/* ==================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2em;
    color: #2c3e50;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link.download-btn {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white !important;
    font-weight: 600;
    margin-left: 10px;
    border-radius: 20px;
    padding: 10px 20px;
}

.nav-link.download-btn:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* ==================== */
/* HERO SECTION */
/* ==================== */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-logo {
    margin-bottom: 20px;
}

.hero-app-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap; /* Prevents line break */
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-slogan {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.8;
    font-style: italic;
    color: #e3f2fd;
    font-weight: 500;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1em;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    font-size: 1.3em;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-primary {
    background: #ffffff;
    color: #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
    text-align: center;
}

.hero-preview {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

/* ==================== */
/* SECTION STYLES */
/* ==================== */

section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* ==================== */
/* PROBLEM SECTION */
/* ==================== */

.problem-section {
    background: #f8f9fa;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.stat-description {
    color: #666;
    font-size: 0.9em;
}

.problem-comparison {
    margin-top: 60px;
}

.problem-comparison h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.comparison-table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.time-saved {
    color: #28a745;
    font-weight: 600;
}

/* ==================== */
/* FEATURES SECTION */
/* ==================== */

.features-section {
    background: white;
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.features-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: #2c3e50;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: white;
}

.features-image {
    position: relative;
    text-align: center;
}

.features-screenshot {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.screenshot-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.features-image:hover .screenshot-overlay {
    opacity: 1;
}

.features-image:hover .features-screenshot {
    filter: brightness(0.7);
}

.image-zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.advanced-features {
    margin-top: 80px;
}

.advanced-features h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.advanced-item {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advanced-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advanced-image {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.advanced-content h4 {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: #2c3e50;
}

.feature-list {
    list-style: none;
    margin: 15px 0;
}

.feature-list li {
    padding: 3px 0;
    font-size: 0.9em;
}

.view-details-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 10px;
}

.advanced-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.mini-stat {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mini-number {
    font-size: 1.5em;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.mini-label {
    font-size: 0.8em;
    color: #666;
}

/* ==================== */
/* DEMO SECTION */
/* ==================== */

.demo-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.demo-video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.demo-video-wrapper:hover .video-overlay {
    opacity: 1;
}

.demo-video-wrapper:hover .demo-video {
    filter: brightness(0.7);
}

.play-fullscreen-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.demo-info h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.demo-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.step-text {
    font-weight: 500;
    color: #2c3e50;
}

.demo-gallery {
    margin-top: 80px;
}

.demo-gallery h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.demo-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.demo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.demo-mini-video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.demo-item h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.demo-item p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.demo-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
}

/* ==================== */
/* BENEFITS SECTION */
/* ==================== */

.benefits-section {
    background: white;
}

.roi-section {
    margin-bottom: 80px;
}

.roi-section h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.roi-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.roi-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.roi-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.roi-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.roi-number {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 10px;
    color: #667eea;
}

.roi-card.highlight .roi-number {
    color: white;
}

.roi-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.roi-card.highlight .roi-label,
.roi-card.highlight .roi-description {
    color: white;
}

.roi-description {
    color: #666;
    font-size: 0.9em;
}

.timeline-section {
    margin-bottom: 80px;
}

.timeline-section h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    position: relative;
    z-index: 2;
}

.timeline-icon {
    font-size: 2em;
    background: white;
    padding: 10px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.timeline-content h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.time-comparison {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.time-before {
    color: #e74c3c;
    font-size: 0.9em;
}

.time-after {
    color: #3498db;
    font-size: 0.9em;
}

.time-saved {
    color: #28a745;
    font-weight: 600;
    font-size: 1em;
}

.total-savings {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.total-number {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 10px;
}

.total-label {
    font-size: 1.2em;
    opacity: 0.9;
}

.metrics-section {
    margin-bottom: 80px;
}

.metrics-section h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.metric-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.metric-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.metric-number {
    font-size: 2.5em;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 500;
}

.integration-section h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.integration-card {
    padding: 30px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.integration-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.integration-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.integration-card h4 {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: #2c3e50;
}

.integration-card:hover h4,
.integration-card:hover p {
    color: white;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.status-badge.ready {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.coming {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* ==================== */
/* PRICING SECTION */
/* ==================== */

.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.pricing-header h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.pricing-price {
    margin-bottom: 15px;
}

.currency {
    font-size: 1.5em;
    color: #667eea;
    vertical-align: top;
}

.amount {
    font-size: 4em;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

.pricing-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.renewal-badge {
    background: #d4edda;
    color: #28a745;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
    border: 1px solid #c3e6cb;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 1em;
    line-height: 1.4;
}

.pricing-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.pricing-cta.featured {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.volume-discounts {
    margin-bottom: 60px;
}

.volume-discounts h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.discount-table-container {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.discount-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.discount-table th,
.discount-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.discount-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.discount-table tr:hover {
    background: #f8f9fa;
}

.discount-amount {
    color: #28a745;
    font-weight: 600;
}

.pricing-cta-section {
    text-align: center;
}

.cta-primary.large {
    padding: 18px 40px;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.pricing-note {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
}

/* ==================== */
/* FOOTER */
/* ==================== */

.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-title {
    font-size: 1.2em;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-cta h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.footer-btn.primary {
    background: #667eea;
    color: white;
}

.footer-btn.primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.footer-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.85em;
}

.footer-tagline {
    color: #667eea !important;
    font-weight: 500;
}

/* ==================== */
/* DOWNLOAD MODAL */
/* ==================== */

.download-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.download-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

.download-icon {
    font-size: 3em;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

.download-modal-content h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.download-modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.download-progress {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.download-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    width: 0%;
    animation: downloadProgress 1s ease-in-out;
    border-radius: 3px;
}

@keyframes downloadProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* ==================== */
/* MODALS */
/* ==================== */

.image-modal,
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content,
.video-modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 85%;
    max-height: 85%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

.video-modal-content {
    padding: 20px;
}

.modal-close,
.video-modal-close {
    position: absolute;
    top: -50px;
    right: 10px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover,
.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-image,
.modal-video {
    max-width: 100%;
    max-height: calc(85vh - 100px);
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.modal-video {
    min-height: 300px;
    width: auto;
    height: auto;
}

.modal-caption {
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.2em;
    margin-top: 10px;
}

.video-instructions {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    margin-top: 10px;
    font-style: italic;
}

/* ==================== */
/* SCROLL TO TOP */
/* ==================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */

@media (max-width: 1024px) {
    .hero-container,
    .features-showcase,
    .demo-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    
    .advanced-grid,
    .integration-grid,
    .pricing-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-content {
        grid-template-columns: 1fr;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-horizontal {
        flex-direction: column;
        gap: 30px;
    }
    
    .timeline-horizontal::before {
        display: none;
    }
    
    .timeline-item {
        width: 100%;
    }
    
    .hero-title {
        font-size: 3em;
        white-space: normal; /* Allow wrapping on medium screens */
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.nav-menu-active {
        left: 0;
    }
    
    .nav-link.download-btn {
        margin: 10px auto;
        max-width: 200px;
    }

    .nav-toggle {
        display: flex;
    }

    .toggle-active .bar:nth-child(2) {
        opacity: 0;
    }

    .toggle-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .toggle-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5em;
        white-space: normal; /* Allow wrapping on mobile */
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .problem-stats,
    .roi-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .advanced-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advanced-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2em;
        white-space: normal; /* Ensure wrapping on small screens */
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .stat-number,
    .roi-number,
    .metric-number {
        font-size: 2em;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .amount {
        font-size: 3em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .footer-contact-item {
        font-size: 0.85em;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8em;
        line-height: 1.4;
    }
}