/* Pupyll Website Styles - Version 1.0.0 */
/* Last Updated: August 5, 2025 */

/* Import Carlito font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Carlito', 'Segoe UI', sans-serif;
    background: #0d1117;
    color: #f0f6fc;
    line-height: 1.6;
}

/* Header Styles */
.header {
    padding: 1rem 0;
    background: #161b22;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #30363d;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #7c3aed;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #f0f6fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #7c3aed;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0d1117 0%, #21262d 50%, #161b22 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Animated background particles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

/* Moving geometric shapes */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.04) 0%, transparent 30%);
    animation: moveShapes 25s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes moveShapes {
    0% { transform: translateX(-100px) translateY(0px) rotate(0deg); }
    25% { transform: translateX(50px) translateY(-30px) rotate(90deg); }
    50% { transform: translateX(100px) translateY(0px) rotate(180deg); }
    75% { transform: translateX(-50px) translateY(30px) rotate(270deg); }
    100% { transform: translateX(-100px) translateY(0px) rotate(360deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-container h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #7c3aed;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    animation: glow 3s ease-in-out infinite alternate, bounce 2s ease-in-out infinite;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 40px rgba(124, 58, 237, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-container p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #8b949e;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out 0.3s both, sway 4s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Button Styles */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    transform: translateY(0);
}

.btn-primary {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

.btn-primary:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    animation: none;
}

.btn-secondary {
    background: transparent;
    color: #7c3aed;
    border-color: #7c3aed;
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f0f6fc;
}

.section p {
    text-align: center;
    color: #8b949e;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #161b22;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #30363d;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.service-card h3 {
    color: #f0f6fc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #8b949e;
    margin-bottom: 1.5rem;
    text-align: left;
}

.feature-list {
    list-style: none;
    color: #8b949e;
}

.feature-list li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    color: #7c3aed;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Pricing Section */
.pricing-section {
    background: #161b22;
    border-radius: 12px;
    margin: 2rem auto;
    border: 1px solid #30363d;
}

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

.pricing-card {
    background: #0d1117;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #30363d;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: #7c3aed;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #7c3aed;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
    color: #f0f6fc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: #7c3aed;
    font-weight: bold;
    margin-bottom: 0.5rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.price span {
    font-size: 1rem;
    color: #8b949e;
}

.pricing-card > p {
    color: #8b949e;
    margin-bottom: 2rem;
}

.pricing-card .feature-list {
    text-align: left;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    background: #161b22;
    border-radius: 12px;
    border: 1px solid #30363d;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item h3 {
    color: #f0f6fc;
    margin-bottom: 0.5rem;
}

.contact-item a,
.contact-item p {
    color: #7c3aed;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.trial-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: #0d1117;
    border-radius: 8px;
    border: 1px solid #30363d;
}

.trial-cta h3 {
    color: #f0f6fc;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.trial-cta p {
    color: #8b949e;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #161b22;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #30363d;
    margin-top: 4rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #7c3aed;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer p {
    color: #8b949e;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

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