/* CSS Variables */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffd166;
    --text-color: #333;
    --light-text: #f8f9fa;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark mode variables */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f8f9fa;
        --light-text: #333;
        --bg-color: #121212;
        --card-bg: #1e1e1e;
        --border-color: #333;
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(18, 18, 18, 0.95);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 107, 0.1), transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(78, 205, 196, 0.1), transparent 50%),
                radial-gradient(circle at 0% 100%, rgba(255, 209, 102, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--text-color);
    color: var(--light-text);
    border-color: var(--text-color);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn.large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-illustration {
    width: 400px;
    height: 400px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.cat-silhouette {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 107, 0.3), transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(78, 205, 196, 0.3), transparent 60%),
                radial-gradient(circle at 50% 70%, rgba(255, 209, 102, 0.3), transparent 60%);
    border-radius: 50%;
    position: relative;
    filter: blur(20px);
}

.cat-eyes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    animation: blink 8s infinite;
}

.cat-whiskers {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
}

.cat-whiskers::before,
.cat-whiskers::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.3);
}

.cat-whiskers::before {
    transform: translateY(-50%) rotate(-5deg);
}

.cat-whiskers::after {
    transform: translateY(-50%) rotate(5deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes blink {
    0%, 95%, 100% { opacity: 1; }
    96%, 99% { opacity: 0; }
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.05), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Join Section */
.join {
    background: linear-gradient(180deg, transparent, rgba(78, 205, 196, 0.05));
}

.join-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.join-text h2 {
    margin-bottom: 1rem;
}

.join-benefits {
    list-style: none;
    margin: 2rem 0;
}

.join-benefits li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
}

.join-benefits li:last-child {
    border-bottom: none;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.chat-preview {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.message-content {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    flex: 1;
    position: relative;
}

.message-text {
    margin-bottom: 0.5rem;
}

.message-time {
    font-size: 0.8rem;
    color: #666;
    text-align: right;
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 15px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo {
        gap: 0.75rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .nav {
        display: none;
    }
    
    .hero-content,
    .join-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn.large {
        padding: 1.25rem 2.5rem;
        font-size: 1rem;
    }
    
    .cat-illustration {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .join-benefits {
        margin: 1.5rem 0;
    }
    
    .join-benefits li {
        font-size: 1rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
        padding: 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links {
        gap: 1rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 440px;
        padding: 0 10px;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-icon {
        font-size: 1.25rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .btn.large {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .cat-illustration {
        width: 250px;
        height: 250px;
    }
    
    .about-card {
        padding: 1.25rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .join-text h2 {
        font-size: 1.75rem;
    }
    
    .join-benefits li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
        padding: 12px;
    }
    
    .message-avatar {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .message-content {
        padding: 0.75rem;
    }
    
    .footer-logo {
        gap: 0.5rem;
    }
    
    .footer-logo h3 {
        font-size: 1.25rem;
    }
    
    .footer-links {
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social {
        gap: 0.75rem;
    }
    
    .social-icon {
        font-size: 1.25rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

/* Mobile menu toggle styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--border-color);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
    
    .nav a:hover {
        background: var(--border-color);
    }
}

/* Keyboard navigation styles */
.keyboard-navigation a:focus,
.keyboard-navigation button:focus,
.keyboard-navigation input:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animation */
body {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}