/* Bob AI - Main Stylesheet */

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

:root {
    --primary: #5B21B6;
    --secondary: #F59E0B;
    --dark: #1F2937;
    --light: #F9FAFB;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 60px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* Bob Logo Animation */
.bob-logo {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: bounce-in 1s ease-out;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes bounce-in {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.tagline {
    font-size: 1.8rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fade-in 1s ease-out 0.5s forwards;
    font-weight: 300;
}

@keyframes fade-in {
    to { opacity: 1; }
}

/* Demo Box */
.demo-box {
    background: rgba(255,255,255,0.95);
    color: var(--dark);
    border-radius: 30px;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: float-up 1s ease-out 0.8s both;
    position: relative;
}

@keyframes float-up {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.phone-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 20px 0;
    letter-spacing: 2px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.phone-number:hover {
    transform: scale(1.05);
}

.phone-number:active {
    transform: scale(0.95);
}

/* Alternative phone number styling */
.phone-number-alt {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.phone-number-alt:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Copy tooltip */
.copy-tooltip {
    position: absolute;
    background: var(--dark);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Accuracy Badge */
.accuracy-badge {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Industries Section */
.industries {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

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

.industry-card {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.industry-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.industry-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.use-cases {
    text-align: left;
    color: #6B7280;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    background: var(--light);
    padding: 80px 20px;
}

.step-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

/* Examples Section */
.examples {
    background: white;
    padding: 80px 20px;
}

.example-showcase {
    max-width: 800px;
    margin: 50px auto;
}

.conversation {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    opacity: 0;
    animation: slide-in 0.6s ease-out forwards;
}

.conversation:nth-child(2) { animation-delay: 0.2s; }
.conversation:nth-child(3) { animation-delay: 0.4s; }
.conversation:nth-child(4) { animation-delay: 0.6s; }
.conversation:nth-child(5) { animation-delay: 0.8s; }

@keyframes slide-in {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.caller-says {
    background: #E0E7FF;
    color: var(--primary);
    padding: 15px 25px;
    border-radius: 30px 30px 30px 5px;
    flex: 1;
    font-size: 1rem;
}

.bob-routes {
    background: var(--gradient);
    color: white;
    padding: 15px 25px;
    border-radius: 30px 30px 5px 30px;
    margin-left: 15px;
    font-weight: 600;
    white-space: nowrap;
}

/* Pricing Section */
.pricing {
    background: var(--dark);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.price-card {
    background: white;
    color: var(--dark);
    padding: 50px;
    border-radius: 30px;
    max-width: 500px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: 'LAUNCH SPECIAL';
    position: absolute;
    top: 30px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.price-value {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* CTA Buttons */
.cta {
    background: var(--gradient);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta:hover::before {
    width: 300px;
    height: 300px;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bob-logo { font-size: 4rem; }
    .tagline { font-size: 1.3rem; }
    .phone-number { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
    .price { font-size: 3rem; }
    .conversation {
        flex-direction: column;
        align-items: stretch;
    }
    .bob-routes {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Fun Animations */
.wiggle:hover {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation for future use */
.loader {
    border: 3px solid var(--light);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}