/* Kinectico - Main Stylesheet */

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

:root {
    --primary-color: #00AEEF;
    --secondary-color: #8B5CF6;
    --neon-cyan: #00F5FF;
    --dark-bg: #0a0e27;
    --dark-bg-secondary: #1a1d3d;
    --dark-bg-tertiary: #0f172a;
    --text-dark: #E5E7EB;
    --text-light: #9CA3AF;
    --text-muted: #6B7280;
    --bg-light: #1a1d3d;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #00AEEF 0%, #00F5FF 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1a1d3d 50%, #0f172a 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 8px 30px rgba(0, 174, 239, 0.4);
    --glow-blue: 0 0 20px rgba(0, 174, 239, 0.5), 0 0 40px rgba(0, 174, 239, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-dark);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 174, 239, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    flex-shrink: 0;
}

.logo {
    height: 59px;
    width: auto;
    animation: logoRotate 10s ease-in-out infinite;
}

.logo:hover {
    animation-play-state: paused;
}

@keyframes logoRotate {
    0% {
        transform: rotateY(0deg);
    }
    20% {
        transform: rotateY(360deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.cta-link {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
    transition: all 0.3s ease;
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #2a2a2a;
    color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px rgba(0, 174, 239, 0.3);
    border-left: 1px solid rgba(0, 174, 239, 0.2);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 174, 239, 0.2);
}

.mobile-nav-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.mobile-nav-menu {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-menu li a:hover {
    background: rgba(0, 174, 239, 0.1);
    color: var(--white);
    border-left: 3px solid var(--primary-color);
    padding-left: calc(1.5rem - 3px);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-menu {
    list-style: none;
    background: rgba(0, 174, 239, 0.05);
    display: none;
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-menu li a {
    padding-left: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mobile-dropdown-menu li a:hover {
    color: var(--neon-cyan);
}

/* Mobile Action Buttons */
.mobile-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.mobile-action-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-action-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background: var(--primary-color);
}

.whatsapp-btn {
    background: #25D366;
}

.contact-btn {
    background: var(--secondary-color);
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--white);
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 174, 239, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 0%, #00F5FF 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4); }
    50% { box-shadow: var(--glow-blue); }
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(0, 174, 239, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(0, 174, 239, 0.1);
    border-color: var(--primary-color);
    box-shadow: var(--glow-blue);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

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

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

@media (min-width: 969px) {
    .cards-grid-3col {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cards-grid-4col {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 174, 239, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 32px 0 rgba(0, 174, 239, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
        var(--glow-blue);
    border-color: rgba(0, 174, 239, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    box-shadow: var(--glow-blue);
    transform: scale(1.05);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--glow-blue);
    background: rgba(255, 255, 255, 0.08);
}

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

.success-message,
.error-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border-left: 4px solid #4CAF50;
    backdrop-filter: blur(10px);
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border-left: 4px solid #F44336;
    backdrop-filter: blur(10px);
}

/* Footer */
.footer {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 174, 239, 0.2);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-col p {
    color: #CCC;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(0, 174, 239, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-col h3 {
        text-align: center;
    }
    
    .footer-col p {
        text-align: center;
    }
    
    .footer-col ul {
        text-align: center;
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-actions {
        bottom: 15px;
        right: 15px;
    }
    
    .mobile-action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (min-width: 969px) {
    .mobile-actions {
        display: none;
    }
}
