/* Global Styles - Robofy.net */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8b5cf6;
    --dark-purple: #7c3aed;
    --light-purple: #a78bfa;
    --bg-dark: #000000;
    --bg-light: #ffffff;
    --text-primary: #000000;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --section-spacing: 120px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-purple);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

/* Sections */
section {
    padding: var(--section-spacing) 2rem;
    border-bottom: 1px solid var(--border-color);
}

.section-dark {
    background-color: var(--bg-dark);
    color: white;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-dark p {
    color: #d1d5db;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--section-spacing) + 60px);
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-purple);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* WhatsApp Mockup */
.whatsapp-mockup {
    max-width: 500px;
    margin: 3rem auto;
    background-color: #e5ddd5;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.whatsapp-header {
    background-color: #075e54;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.whatsapp-contact {
    flex: 1;
}

.whatsapp-name {
    font-weight: 600;
    font-size: 1rem;
}

.whatsapp-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.whatsapp-chat {
    padding: 2rem 1.5rem;
    min-height: 400px;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-bubble {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-received .message-bubble {
    background-color: white;
    margin-right: auto;
}

.message-sent .message-bubble {
    background-color: #dcf8c6;
    margin-left: auto;
}

.message-text {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: #667781;
    margin-top: 0.25rem;
    text-align: right;
}

/* Use Case Layout */
.use-case-hero {
    padding-top: calc(80px + 60px);
    text-align: center;
    margin-bottom: 4rem;
}

.use-case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin: 4rem 0;
}

.use-case-text h3 {
    margin-bottom: 1rem;
}

.use-case-text p {
    margin-bottom: 1.5rem;
}

.use-case-list {
    list-style: none;
    margin-top: 2rem;
}

.use-case-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: start;
    gap: 1rem;
}

.use-case-list li:before {
    content: "✓";
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Pie Chart */
.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.chart-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background-color: white;
}

.pie-chart {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.chart-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.chart-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Cal.com Embed */
.cal-section {
    text-align: center;
}

.cal-section h2 {
    margin-bottom: 1rem;
}

.cal-section p {
    margin-bottom: 3rem;
}

.cal-container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 1rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .use-case-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 1rem;
    }
}
