/* Ka CmWY Studio Website Styles */
/* Main Styles - BYD-inspired with cute animals theme */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #0066FF;
    --secondary-color: #00D4AA;
    --accent-color: #FF6B35;
    --background-light: #F8FAFC;
    --background-dark: #0A1628;
    --text-dark: #1A1A2E;
    --text-light: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4AA 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-soft: 0 10px 40px rgba(0, 102, 255, 0.1);
    --shadow-medium: 0 20px 60px rgba(0, 102, 255, 0.15);
    --shadow-hard: 0 30px 80px rgba(0, 102, 255, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo svg {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 40px 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--text-light);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
}

/* ===== Cute Animal Animations ===== */
.cute-animal {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.cute-animal-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cute-animal-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.cute-animal-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.cute-animal-4 {
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-25px) rotate(-5deg);
    }
}

@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

.animal-eyes {
    animation: blink 4s ease-in-out infinite;
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about {
    background: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--background-light);
    border-radius: 20px;
    transition: var(--transition-bounce);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.about-image {
    width: 100%;
    height: 500px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Services Section ===== */
.services {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--text-light);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hard);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--text-light);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* ===== Apps Showcase ===== */
.apps-showcase {
    background: var(--text-light);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.app-item {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: var(--background-light);
    border-radius: 25px;
    transition: var(--transition-bounce);
}

.app-item:hover {
    transform: translateX(20px);
    box-shadow: var(--shadow-medium);
}

.app-icon-large {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon-large svg {
    width: 60px;
    height: 60px;
    fill: var(--text-light);
}

.app-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.app-info p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

.app-tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.app-tag {
    padding: 6px 16px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== Ad Types Section ===== */
.ad-types {
    background: var(--background-light);
}

.ad-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ad-type-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
}

.ad-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.ad-type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-type-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--text-light);
}

.ad-type-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.ad-type-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ===== Partners Section ===== */
.partners {
    background: var(--text-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.partner-item {
    padding: 30px;
    background: var(--background-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== Why Choose Us ===== */
.why-us {
    background: var(--gradient-hero);
    color: var(--text-light);
}

.why-us .section-title {
    color: var(--text-light);
}

.why-us .section-title::after {
    background: var(--text-light);
}

.why-us .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-us-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: var(--transition-bounce);
}

.why-us-item:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.2);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.why-us-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-us-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    padding: 60px;
    background: var(--gradient-hero);
    border-radius: 30px;
    color: var(--text-light);
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-detail svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
}

.contact-form {
    padding: 60px;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* ===== Footer ===== */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a {
    opacity: 0.7;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ===== Page Headers ===== */
.page-header {
    padding: 180px 0 100px;
    background: var(--gradient-hero);
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.breadcrumb {
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.breadcrumb a {
    opacity: 0.8;
    margin: 0 10px;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* ===== Legal Pages ===== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.legal-section {
    margin-bottom: 60px;
}

.legal-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.legal-section h3 {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: var(--text-dark);
}

.legal-section p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-section ul li {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.legal-section ul li::before {
    content: '🐾';
    position: absolute;
    left: 0;
    top: 0;
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.animate-scale-in {
    animation: scaleIn 1s ease-out;
}

.animate-slide-in-up {
    animation: slideInUp 1s ease-out;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ad-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .ad-types-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 40px 25px;
    }
    
    .contact-info,
    .contact-form {
        padding: 40px 30px;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }
}
