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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #e1e5e9;
}

.btn-outline:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 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: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #764ba2;
    text-decoration: none;
}

.nav-logo i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calendar Mockup */
.calendar-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.calendar-header {
    background: #667eea;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.calendar-events {
    padding: 1rem;
}

.event {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.event:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.event i {
    width: 20px;
    text-align: center;
}

.event-start i { color: #28a745; }
.event-end i { color: #dc3545; }
.event-switch i { color: #ffc107; }
.event-low i { color: #fd7e14; }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #f8f9fa;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: white;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.demo-text h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.demo-text p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Notion Mockup */
.notion-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.notion-header {
    background: #000;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.notion-content {
    padding: 1rem;
}

.notion-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.notion-row:last-child {
    border-bottom: none;
}

.medication {
    font-weight: 500;
    color: #2d3748;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status.active {
    background: #d4edda;
    color: #155724;
}

.status.ending {
    background: #fff3cd;
    color: #856404;
}

.status.low {
    background: #f8d7da;
    color: #721c24;
}

.days {
    color: #666;
    font-size: 0.875rem;
}

/* Screenshot Link */
.screenshot-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.screenshot-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Calendar Screenshot */
.calendar-screenshot {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 600px;
    max-height: 500px;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.screenshot-link:hover .calendar-screenshot {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.screenshot-header {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.screenshot-content {
    position: relative;
    padding: 0;
}

.calendar-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 0 0 12px 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.alert-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.screenshot-link:hover .alert-badge {
    background: rgba(102, 126, 234, 0.95);
    color: white;
    transform: scale(1.05);
}

.alert-badge i {
    color: #667eea;
    transition: color 0.3s ease;
}

.screenshot-link:hover .alert-badge i {
    color: white;
}

/* Responsive adjustments for demo section */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calendar-screenshot {
        max-width: 100%;
        max-height: 400px;
    }

    .calendar-image {
        max-height: 300px;
    }
}

/* n8n Workflow Section */
.workflow-demo {
    padding: 80px 0;
    background: #f8f9fa;
}

.workflow-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.workflow-text h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.workflow-text p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Workflow Screenshot Link */
.workflow-screenshot-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.workflow-screenshot-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Workflow Screenshot */
.workflow-screenshot {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    max-height: 600px;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-screenshot-link:hover .workflow-screenshot {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.workflow-header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.workflow-content-image {
    position: relative;
    padding: 0;
}

.workflow-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 0 0 12px 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.workflow-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.workflow-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.workflow-screenshot-link:hover .workflow-badge {
    background: rgba(255, 107, 53, 0.95);
    color: white;
    transform: scale(1.05);
}

.workflow-badge i {
    color: #ff6b35;
    transition: color 0.3s ease;
}

.workflow-screenshot-link:hover .workflow-badge i {
    color: white;
}

/* Responsive adjustments for workflow section */
@media (max-width: 768px) {
    .workflow-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .workflow-screenshot {
        max-width: 100%;
        max-height: 400px;
    }

    .workflow-img {
        max-height: 300px;
    }
}

/* Page Hero (for learn-more) */
.page-hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-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="hero-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/><circle cx="10" cy="10" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="50" r="1.5" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.6;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.page-hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Overview Section */
.overview {
    padding: 80px 0;
    background: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.tech-item span {
    font-weight: 500;
    color: #2d3748;
}

/* Methodology Section */
.methodology {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.methodology::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="method-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23667eea" opacity="0.05"/><circle cx="60" cy="60" r="0.5" fill="%23764ba2" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23method-pattern)"/></svg>');
    opacity: 0.4;
}

.methodology .container {
    position: relative;
    z-index: 1;
}

.methodology h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: #2d3748;
    position: relative;
}

.methodology h2::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;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.method-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.method-card:hover .method-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.method-icon i {
    font-size: 1.75rem;
    color: white;
}

.method-card h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.method-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Impact Section */
.impact {
    padding: 80px 0;
    background: white;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.stat-card p {
    color: #666;
    line-height: 1.6;
}

.impact-testimonial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.impact-testimonial blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.impact-testimonial cite {
    font-size: 1rem;
    opacity: 0.9;
}

/* Workflows Section */
.workflows {
    padding: 100px 0;
    background: white;
    position: relative;
}

.workflows::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="workflow-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.03"/><circle cx="75" cy="75" r="0.5" fill="%23764ba2" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23workflow-pattern)"/></svg>');
    opacity: 0.5;
}

.workflows .container {
    position: relative;
    z-index: 1;
}

.workflows h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: #2d3748;
    position: relative;
}

.workflows h2::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;
}

.workflows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.workflow-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.workflow-card:hover::before {
    transform: scaleX(1);
}

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.workflow-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.workflow-card:hover .workflow-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.4);
}

.workflow-icon i {
    font-size: 1.5rem;
    color: white;
}

.workflow-card h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.workflow-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Requirements Section */
.requirements {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.requirements::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="%23667eea" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23764ba2" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23667eea" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23764ba2" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.requirements-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.requirement-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.requirement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.requirement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.requirement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.requirement-item:hover .requirement-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.requirement-icon i {
    font-size: 1.75rem;
    color: white;
}

.requirement-text h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.requirement-text p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
}

.requirement-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.requirement-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.requirement-text a:hover::after {
    width: 100%;
}

.requirement-text a:hover {
    color: #764ba2;
}

/* Technical Setup Section */
.technical-setup {
    padding: 80px 0;
    background: white;
}

.setup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.setup-prerequisites h3,
.setup-steps h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.setup-prerequisites ul {
    list-style: none;
    padding: 0;
}

.setup-prerequisites li {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.setup-steps ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.setup-steps li {
    counter-increment: step-counter;
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    position: relative;
    padding-left: 3rem;
}

.setup-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.setup-steps a {
    color: #667eea;
    text-decoration: none;
}

.setup-steps a:hover {
    text-decoration: underline;
}

/* Tech Stack Detailed */
.tech-stack-detailed {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.tech-stack-detailed::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="tech-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="%23667eea" opacity="0.04"/><circle cx="60" cy="60" r="0.5" fill="%23764ba2" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-pattern)"/></svg>');
    opacity: 0.6;
}

.tech-stack-detailed .container {
    position: relative;
    z-index: 1;
}

.tech-stack-detailed h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: #2d3748;
    position: relative;
}

.tech-stack-detailed h2::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;
}

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

.tech-item-detailed {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-item-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-item-detailed:hover::before {
    transform: scaleX(1);
}

.tech-item-detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.tech-item-detailed i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.tech-item-detailed:hover i {
    transform: scale(1.1);
    color: #764ba2;
}

.tech-item-detailed h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.tech-item-detailed p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Explore More Projects Section */
.explore-projects {
    padding: 40px 0;
    background: #f8f9fa;
    position: relative;
}

.explore-projects::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="explore-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.05"/><circle cx="75" cy="75" r="0.5" fill="%23764ba2" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23explore-pattern)"/></svg>');
    opacity: 0.4;
}

.explore-projects .container {
    position: relative;
    z-index: 1;
}

.projects-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.project-icon i {
    font-size: 1.5rem;
    color: white;
}

.project-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.project-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.project-card .btn {
    margin-top: 1rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    color: white;
    border-color: white;
}

.cta .btn-outline:hover {
    background: white;
    color: #667eea;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: #667eea;
    text-decoration: none;
}

.footer-logo i {
    font-size: 1.75rem;
    color: #667eea;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-stack {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p {
        font-size: 1.2rem;
    }

    .requirements {
        padding: 60px 0;
    }

    .requirement-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .requirement-icon {
        margin: 0 auto;
    }

    .methodology,
    .workflows,
    .tech-stack-detailed {
        padding: 60px 0;
    }

    .methodology h2,
    .workflows h2,
    .tech-stack-detailed h2 {
        font-size: 2.2rem;
    }

    .method-card,
    .workflow-card,
    .tech-item-detailed {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .feature-card,
    .method-card,
    .workflow-card,
    .tech-item-detailed {
        padding: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .project-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .project-icon {
        width: 70px;
        height: 70px;
    }

    .project-icon i {
        font-size: 1.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.feature-card,
.method-card,
.workflow-card,
.tech-item-detailed,
.requirement-item {
    animation: fadeInUp 0.6s ease-out;
}

.requirement-item:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out;
}

.requirement-item:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

.method-card:nth-child(1) { animation-delay: 0.1s; }
.method-card:nth-child(2) { animation-delay: 0.2s; }
.method-card:nth-child(3) { animation-delay: 0.3s; }
.method-card:nth-child(4) { animation-delay: 0.4s; }
.method-card:nth-child(5) { animation-delay: 0.5s; }

.workflow-card:nth-child(1) { animation-delay: 0.1s; }
.workflow-card:nth-child(2) { animation-delay: 0.2s; }
.workflow-card:nth-child(3) { animation-delay: 0.3s; }
.workflow-card:nth-child(4) { animation-delay: 0.4s; }

.requirement-item:nth-child(1) { animation-delay: 0.1s; }
.requirement-item:nth-child(2) { animation-delay: 0.2s; }
.requirement-item:nth-child(3) { animation-delay: 0.3s; }

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    .navbar,
    .cta,
    .footer {
        display: none;
    }

    .hero {
        padding: 20px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }
}
