/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-bg: #0f0f23;
    --light-bg: #ffffff;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a:hover svg {
    transform: scale(1.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.language-selector {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.lang-btn.active {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.phone-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* Custom Select */
.custom-select {
    position: relative;
    width: 150px;
    user-select: none;
}

.select-selected {
    background: white;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.select-selected:hover {
    border-color: var(--primary-color);
}

.select-selected::after {
    content: '▼';
    position: absolute;
    right: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.select-selected.select-arrow-active::after {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background: white;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-height: 250px;
    overflow-y: auto;
    border: 2px solid #e5e7eb;
}

.select-items div {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-items div:hover {
    background: rgba(102, 126, 234, 0.1);
}

.select-items div.same-as-selected {
    background: rgba(102, 126, 234, 0.2);
    font-weight: 600;
}

.select-hide {
    display: none;
}

.flag-emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.phone-input-group input {
    flex: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 50%, #f093fb15 100%);
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floating-card {
    position: absolute;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 50px;
    left: 50px;
}

.card-2 {
    top: 200px;
    right: 100px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 100px;
    left: 100px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Tech Network Animation */
.tech-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.network-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.connect-line {
    animation: lineConnect 3s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 0.3s; }
.line-3 { animation-delay: 0.6s; }
.line-4 { animation-delay: 0.9s; }
.line-5 { animation-delay: 1.2s; }
.line-6 { animation-delay: 1.5s; }
.line-7 { animation-delay: 1.8s; }
.line-8 { animation-delay: 2.1s; }

@keyframes lineConnect {
    0%, 100% { 
        opacity: 0;
        stroke-dasharray: 0 1000;
    }
    50% { 
        opacity: 0.6;
        stroke-dasharray: 1000 0;
    }
}

.network-node {
    position: absolute;
    width: 60px;
    height: 60px;
}

.node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.node-top-left {
    top: 16%;
    left: 16%;
    transform: translate(-50%, -50%);
}

.node-top-right {
    top: 25%;
    right: 0%;
    transform: translate(-50%, -50%);
}

.node-bottom-right {
    bottom: 13%;
    right: 8%;
    transform: translate(-50%, -50%);
}

.node-bottom-left {
    bottom: 8%;
    left: 25%;
    transform: translate(-50%, -50%);
}

.node-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    animation: nodeGlow 2s ease-in-out infinite;
}

.node-center .node-core {
    width: 30px;
    height: 30px;
}

.node-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.node-center .node-ring {
    width: 60px;
    height: 60px;
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    animation: pulseExpand 2s ease-out infinite;
}

@keyframes nodeGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.9);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes ringPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes pulseExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Data Particles */
.data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #f093fb);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation: particleMove1 8s linear infinite;
}

.particle-2 {
    top: 30%;
    right: 15%;
    animation: particleMove2 10s linear infinite;
}

.particle-3 {
    bottom: 20%;
    right: 20%;
    animation: particleMove3 12s linear infinite;
}

.particle-4 {
    bottom: 30%;
    left: 15%;
    animation: particleMove4 9s linear infinite;
}

@keyframes particleMove1 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(300px, 200px); opacity: 0; }
}

@keyframes particleMove2 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(-200px, 250px); opacity: 0; }
}

@keyframes particleMove3 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(-250px, -200px); opacity: 0; }
}

@keyframes particleMove4 {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(200px, -220px); opacity: 0; }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

/* Code Snippet */
.code-snippet {
    background: #1e1e3f;
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    background: #2d2d4a;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.code-content {
    padding: 30px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.code-keyword { color: #c792ea; }
.code-var { color: #82aaff; }
.code-function { color: #ffcb6b; }
.code-string { color: #c3e88d; }

.visual-card {
    position: relative;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a1e 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.contact .section-title,
.contact .section-subtitle {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* AI Assistant */
.ai-assistant {
    position: relative;
    padding: 40px;
}

.ai-avatar-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
}

.ai-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 140px;
    height: 140px;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 220px;
    height: 220px;
    animation-duration: 25s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ai-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.ai-message {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.ai-message h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-greeting {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.network-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: flow 3s ease-in-out infinite;
}

.line-1 {
    top: 20%;
    width: 40%;
    left: 10%;
}

.line-2 {
    top: 50%;
    width: 50%;
    right: 10%;
    animation-delay: 1s;
}

.line-3 {
    top: 80%;
    width: 35%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes flow {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

.network-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #667eea;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    animation: glow 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 10%; }
.node-2 { top: 50%; right: 10%; animation-delay: 0.5s; }
.node-3 { top: 80%; left: 15%; animation-delay: 1s; }
.node-4 { top: 35%; right: 20%; animation-delay: 1.5s; }

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 25px rgba(102, 126, 234, 1); }
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(5px);
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.info-value {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
}

.status-online {
    color: #43e97b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #43e97b;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Modern Form */
.modern-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-group input:focus + .input-accent,
.form-group textarea:focus + .input-accent {
    opacity: 1;
    transform: scaleX(1);
}

.input-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.btn-futuristic {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 18px 40px;
    border: none;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-futuristic:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-futuristic:hover .btn-icon {
    transform: translateX(5px);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.security-badge {
    font-size: 1.1rem;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 50px 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.5s ease;
    overflow: hidden;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.rocket-launch {
    position: relative;
    height: 200px;
    margin-bottom: 30px;
}

.rocket {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    animation: rocketLaunch 3s ease-in-out;
}

@keyframes rocketLaunch {
    0% {
        bottom: -100px;
        opacity: 0;
    }
    20% {
        bottom: 0;
        opacity: 1;
    }
    80% {
        bottom: 0;
        opacity: 1;
    }
    100% {
        bottom: 300px;
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
}

.rocket-body {
    width: 40px;
    height: 80px;
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 20px 20px 5px 5px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.rocket-body::before,
.rocket-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.rocket-body::before {
    left: -15px;
    border-width: 0 0 25px 15px;
    border-color: transparent transparent #ff6b6b transparent;
}

.rocket-body::after {
    right: -15px;
    border-width: 0 15px 25px 0;
    border-color: transparent transparent #ff6b6b transparent;
}

.rocket-window {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #4facfe;
    border-radius: 50%;
    border: 2px solid #333;
}

.rocket-flame {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.flame {
    width: 8px;
    height: 25px;
    background: linear-gradient(180deg, #ff9500 0%, #ff5e00 50%, transparent 100%);
    border-radius: 50% 50% 0 0;
    animation: flameFlicker 0.2s ease-in-out infinite alternate;
}

.flame:nth-child(2) {
    animation-delay: 0.1s;
    height: 30px;
}

.flame:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes flameFlicker {
    from { transform: scaleY(1); opacity: 1; }
    to { transform: scaleY(0.8); opacity: 0.7; }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: starTwinkle 1.5s ease-in-out infinite;
}

.star:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 40%; right: 25%; animation-delay: 0.3s; }
.star:nth-child(3) { top: 60%; left: 30%; animation-delay: 0.6s; }
.star:nth-child(4) { top: 30%; right: 15%; animation-delay: 0.9s; }
.star:nth-child(5) { top: 70%; right: 35%; animation-delay: 1.2s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.modal-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-message {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.modal-btn {
    background: white;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.modal-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .tech-network {
        width: 350px;
        height: 350px;
    }

    .network-node {
        width: 40px;
        height: 40px;
    }

    .node-center {
        width: 60px;
        height: 60px;
    }

    .node-core {
        width: 15px;
        height: 15px;
    }

    .node-center .node-core {
        width: 22px;
        height: 22px;
    }

    .data-particle {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .contact-form {
        padding: 25px;
    }

    .tech-network {
        width: 280px;
        height: 280px;
    }

    .floating-card {
        display: none;
    }
}

/* Smooth Animations */
.service-card,
.info-card,
.feature-item {
    animation: fadeInUp 0.6s ease both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
