*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;letter-spacing:.01em;transition:background-color .3s ease,color .3s ease,border-color .3s ease}:root{--primary: #4361EE;--secondary: #3A0CA3;--accent: #F72585;--dark: #1A1A2E;--light: #FFFFFF;--bg-light: #F8F9FA;--text-light: #2D3748;--text-muted-light: #718096;--glass-light: rgba(255, 255, 255, .15);--glass-border-light: rgba(255, 255, 255, .25);--shadow-light: 0 8px 32px 0 rgba(31, 38, 135, .15);--bg-dark: #0F0F1B;--text-dark: #E2E8F0;--text-muted-dark: #A0AEC0;--glass-dark: rgba(255, 255, 255, .05);--glass-border-dark: rgba(255, 255, 255, .1);--shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, .5)}.theme-light{--bg: var(--bg-light);--text: var(--text-light);--text-muted: var(--text-muted-light);--glass: var(--glass-light);--glass-border: var(--glass-border-light);--shadow: var(--shadow-light)}.theme-dark{--bg: var(--bg-dark);--text: var(--text-dark);--text-muted: var(--text-muted-dark);--glass: var(--glass-dark);--glass-border: var(--glass-border-dark);--shadow: var(--shadow-dark)}html,body,#root{min-height:100%;height:auto;overflow-y:auto}#root{width:100%}body{min-height:100vh;width:100%;position:relative;overflow-x:hidden!important;color:var(--text);background-color:var(--bg);background-image:var(--bg-pattern);background-size:cover;background-attachment:fixed;transition:background-color .6s ease,color .6s ease,background-image .6s ease}body.theme-light{--bg-gradient: linear-gradient(135deg, rgba(246, 247, 251, .96), rgba(233, 234, 243, .94));--bg-overlay: radial-gradient(ellipse at top right, rgba(67, 97, 238, .12), transparent 55%);--bg-noise: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><defs><radialGradient id="g" cx="0" cy="0" r="1"><stop offset="0" stop-color="%23ffffff" stop-opacity="0.22"/><stop offset="1" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="160" height="160" fill="url(%23g)"/></svg>');--bg-pattern: linear-gradient(135deg, rgba(246, 247, 251, .96), rgba(233, 234, 243, .94)), radial-gradient(ellipse at top right, rgba(67, 97, 238, .12), transparent 55%), radial-gradient(ellipse at bottom left, rgba(76, 201, 240, .08), transparent 55%), var(--bg-noise);color:#232323}body.theme-dark{--bg-gradient: radial-gradient(circle at 60% 20%, rgba(53, 58, 69, .92), rgba(23, 24, 34, .94));--bg-overlay: linear-gradient(160deg, rgba(67, 97, 238, .12), transparent 55%);--bg-noise: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><defs><radialGradient id="g" cx="0" cy="0" r="1"><stop offset="0" stop-color="%23ffffff" stop-opacity="0.09"/><stop offset="1" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="160" height="160" fill="url(%23g)"/></svg>');--bg-pattern: radial-gradient(circle at 60% 20%, rgba(53, 58, 69, .92), rgba(23, 24, 34, .94)), linear-gradient(160deg, rgba(67, 97, 238, .12), transparent 55%), radial-gradient(circle at bottom right, rgba(247, 37, 133, .08), transparent 55%), var(--bg-noise);color:#f1f1f1}.glass{background:var(--glass);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border:1px solid var(--glass-border);box-shadow:var(--shadow)}.glass-dark{background:var(--glass);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border:1px solid var(--glass-border)}body.theme-light .glass,header.glass-dark,footer.glass-dark{background:#ffffffb3;backdrop-filter:blur(8px)}body.theme-dark .glass,body.theme-dark header.glass-dark,body.theme-dark footer.glass-dark{background:#282c34d9}@keyframes fadeIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.animate-fadeIn{animation:fadeIn 1s ease-out}.animate-float{animation:float 3s ease-in-out infinite}.animate-pulse{animation:pulse 2s ease-in-out infinite}.flex{display:flex}.flex-center{display:flex;align-items:center;justify-content:center}.flex-column{flex-direction:column}.grid{display:grid}.grid-auto{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}section{padding:6rem 2rem 5rem;scroll-margin-top:80px;overflow:visible}main{overflow:visible}.container{max-width:1200px;margin:0 auto;width:100%;padding:0 1rem;overflow-x:hidden}.text-center{text-align:center}.btn{display:inline-block;padding:12px 30px;border-radius:50px;text-decoration:none;font-weight:600;transition:all .3s ease;border:none;cursor:pointer;text-align:center}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 4px 15px #4361ee66}.btn-primary:hover{background:var(--secondary);transform:translateY(-3px);box-shadow:0 6px 20px #4361ee99}.btn-outline{background:transparent;color:var(--text);border:2px solid var(--glass-border)}.btn-outline:hover{background:var(--glass);transform:translateY(-3px)}body.theme-light .nav-links a:after{background:var(--primary);opacity:.7}body.theme-light .btn-outline{border:2px solid var(--primary);color:var(--primary)}body.theme-light .btn-outline:hover{background:#4361ee14;color:var(--primary);border-color:var(--secondary)}header{padding:1rem;position:fixed;width:100%;z-index:1000;backdrop-filter:blur(10px);height:70px}.navbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;max-width:100%}.logo{font-size:1.8rem;font-weight:700;background:linear-gradient(45deg,var(--primary),var(--accent));background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;white-space:nowrap;overflow:visible;text-overflow:unset;max-width:none;flex-shrink:0}.logo.handwrite{font-family:Rock Salt,cursive;font-size:1.6rem;letter-spacing:.04em;color:var(--primary, #4361ee);text-shadow:0 2px 8px rgba(67,97,238,.08);font-weight:400;user-select:none;transition:color .2s;max-width:none;overflow:visible}header .logo.handwrite,footer .logo.handwrite{margin-bottom:.2em}.nav-links{display:flex;gap:2rem;list-style:none;flex-wrap:wrap}.nav-links a{color:var(--text);text-decoration:none;font-weight:500;transition:color .3s ease;position:relative;white-space:nowrap}.nav-links a:hover{color:var(--primary)}.nav-links a:after{content:"";position:absolute;bottom:-5px;left:0;width:0;height:2px;background:var(--primary);transition:width .3s ease}.nav-links a:hover:after{width:100%}.header-controls{display:flex;gap:12px;align-items:center;flex-shrink:0}.theme-btn,.lang-btn{width:45px;height:45px;border-radius:50%;background:var(--glass);backdrop-filter:blur(10px);border:1px solid var(--glass-border);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;color:var(--text);flex-shrink:0}.theme-btn:hover,.lang-btn:hover{transform:scale(1.1);background:var(--primary);color:#fff}.theme-btn svg,.lang-btn svg{width:22px;height:22px;fill:currentColor;transition:fill .3s ease}.lang-btn__text{font-size:.78rem;font-weight:600;letter-spacing:.04em;margin-left:6px}.modal{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:1.5rem;background:#0000008c;backdrop-filter:blur(6px)}.modal.active{display:flex}.modal-content{width:min(420px,100%);border-radius:16px;padding:2.5rem 2rem;position:relative;text-align:center;box-shadow:0 25px 45px #00000040;max-height:90vh;overflow-y:auto}.modal .btn{margin-top:1.5rem}.close{position:absolute;top:1rem;right:1rem;font-size:1.5rem;border:0;background:transparent;color:var(--text);cursor:pointer;transition:color .3s ease,transform .3s ease}.close:hover,.close:focus{color:var(--primary);transform:scale(1.1);outline:none}.fade-text{opacity:0;transform:translateY(6px);animation:fadeTextIn .35s ease forwards}.fade-text--inline{display:inline-block}.fade-text--block{display:block}@keyframes fadeTextIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.hero{min-height:100vh;display:flex;align-items:center;position:relative;overflow:hidden;padding:0 2rem;margin-top:70px}.hero:before{content:"";position:absolute;top:-30%;right:-15%;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,#4361ee26,#4361ee00 70%);z-index:-1}.hero-content{max-width:600px;z-index:1;width:100%}.hero h1{font-size:3.5rem;margin-bottom:1.5rem;line-height:1.2;word-wrap:break-word}.hero p{font-size:1.2rem;margin-bottom:2rem;opacity:.9;line-height:1.6;color:var(--text-muted)}.hero-btns{display:flex;gap:1rem;margin-top:2rem;flex-wrap:wrap}.hero-image{position:absolute;right:10%;top:50%;transform:translateY(-50%);width:350px;height:350px;border-radius:30% 70% 70% 30%/30% 30% 70% 70%;background:linear-gradient(45deg,var(--primary),var(--accent));opacity:.7;animation:float 5s ease-in-out infinite}.services{position:relative}.services:before{content:"";position:absolute;bottom:-10%;left:-10%;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,#f7258526,#f7258500 70%);z-index:-1}.section-title{font-size:2.5rem;margin-bottom:1rem;text-align:center;line-height:1.2}.section-subtitle{font-size:1.1rem;margin-bottom:3rem;text-align:center;opacity:.8;max-width:600px;margin-left:auto;margin-right:auto;color:var(--text-muted);line-height:1.6}.service-card{padding:2.5rem 2rem;border-radius:20px;transition:all .3s ease;height:100%;display:flex;flex-direction:column}.service-card:hover{transform:translateY(-10px);box-shadow:0 15px 30px #0003}.service-icon{font-size:3rem;margin-bottom:1.5rem;color:var(--primary)}.service-title{font-size:1.5rem;margin-bottom:1rem;line-height:1.3}.service-desc{opacity:.8;line-height:1.6;color:var(--text-muted);flex-grow:1}.portfolio{position:relative}.portfolio:after{content:"";position:absolute;top:-10%;right:-10%;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,#4361ee26,#4361ee00 70%);z-index:-1}.portfolio-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.portfolio-item{border-radius:20px;overflow:hidden;transition:all .3s ease;position:relative;height:300px}.portfolio-item:hover{transform:translateY(-10px);box-shadow:0 15px 30px #0000004d}.portfolio-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.portfolio-item:hover img{transform:scale(1.1)}.portfolio-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,#000000d9,#000000b3,#0006);padding:2rem;transform:translateY(100%);transition:transform .3s ease;color:#fff;backdrop-filter:blur(5px)}.portfolio-item:hover .portfolio-overlay{transform:translateY(0)}.portfolio-overlay h3{color:#fff;font-size:1.4rem;margin-bottom:.8rem;font-weight:600;text-shadow:0 2px 4px rgba(0,0,0,.5);line-height:1.3}.portfolio-overlay p{color:#ffffffe6;font-size:.95rem;line-height:1.5;margin-bottom:1rem;text-shadow:0 1px 2px rgba(0,0,0,.5)}.portfolio-iframe-wrapper{width:100%;max-width:600px;margin:0 auto 16px;border-radius:12px;overflow:hidden;box-shadow:0 2px 16px #00000014}.portfolio-preview{display:block;width:calc(100% + 24px);height:400px;border:0;border-radius:12px;box-shadow:0 2px 16px #00000014;transform:translate(-12px);pointer-events:none;opacity:0;transition:opacity .3s ease;scrollbar-width:none}.portfolio-preview.is-visible{opacity:1}.portfolio-preview::-webkit-scrollbar{width:0;height:0}.portfolio-item .btn-open-site{display:inline-block;padding:.7em 1.6em;font-size:1rem;font-weight:500;border-radius:8px;border:none;background:linear-gradient(90deg,#4361ee,#4cc9f0);color:#fff;box-shadow:0 2px 8px #4361ee1a;transition:background .2s,box-shadow .2s,transform .15s;text-decoration:none;margin-top:1em;cursor:pointer;text-align:center}.portfolio-item .btn-open-site:hover,.portfolio-item .btn-open-site:focus{background:linear-gradient(90deg,#4cc9f0,#4361ee);box-shadow:0 4px 16px #4361ee2e;transform:translateY(-2px) scale(1.03);color:#fff}body.theme-dark .portfolio-item .btn-open-site{background:linear-gradient(90deg,#4cc9f0,#4361ee);color:#232323}body.theme-dark .portfolio-item .btn-open-site:hover,body.theme-dark .portfolio-item .btn-open-site:focus{background:linear-gradient(90deg,#4361ee,#4cc9f0);color:#232323}.skills-container{max-width:800px;margin:0 auto;width:100%}.skill-item{margin-bottom:2rem}.skill-header{display:flex;justify-content:space-between;margin-bottom:.8rem;align-items:center;flex-wrap:wrap;gap:.5rem}.skill-header span:first-child{font-weight:600;color:var(--text)}.skill-header span:last-child{font-weight:500;color:var(--primary)}.skill-bar{height:12px;background:var(--glass);border-radius:10px;overflow:hidden;position:relative;width:100%}.skill-progress{height:100%;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:10px;transition:width 1.5s ease,opacity .5s ease;width:0%;opacity:0;position:relative;overflow:hidden}.skill-progress:after{content:"";position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:shine 2s ease-in-out infinite}@keyframes shine{0%{left:-100%}to{left:200%}}.contact{position:relative;padding-top:4rem}.contact:before{content:"";position:absolute;bottom:-10%;left:20%;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,#f7258526,#f7258500 70%);z-index:-1}.contact-container{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}.contact-form{display:flex;flex-direction:column;gap:1.5rem;width:100%}.form-group{display:flex;flex-direction:column;width:100%}.form-group label{margin-bottom:.5rem;font-weight:500;color:var(--text)}.form-control{padding:15px 20px;border-radius:10px;background:var(--glass);border:2px solid var(--glass-border);color:var(--text);font-size:1rem;transition:all .3s ease;width:100%;-moz-appearance:none;appearance:none;-webkit-appearance:none}body.theme-light .form-control{background:#fffffffa;border:2px solid #cbd5e0;box-shadow:0 2px 8px #4361ee14;color:#2d3748}body.theme-light .form-control:focus{border-color:var(--primary);box-shadow:0 0 0 3px #4361ee33;background:#fff}body.theme-dark .form-control{background:#1e222bf2;border:2px solid #4a5568;color:#f7fafc}body.theme-dark .form-control:focus{border-color:var(--primary);box-shadow:0 0 0 3px #4361ee4d;background:#1a202cf2}.form-control:focus{outline:none}textarea.form-control{min-height:120px;resize:vertical;font-family:inherit}.contact-info{display:flex;flex-direction:column;gap:2rem;width:100%}.contact-item{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.contact-icon{width:50px;height:50px;border-radius:50%;background:var(--glass);display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:var(--primary);flex-shrink:0}.form-message{padding:12px;border-radius:10px;text-align:center;font-weight:500;margin-top:1rem;display:none;width:100%}.form-message.success{background:#22c55e1a;color:#22c55e;border:1px solid rgba(34,197,94,.3);display:block}.form-message.error{background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3);display:block}footer{padding:3rem 2rem;text-align:center}.social-links{display:flex;justify-content:center;gap:1.5rem;margin:2rem 0;flex-wrap:wrap}.social-link{width:50px;height:50px;border-radius:50%;background:var(--glass);display:flex;align-items:center;justify-content:center;color:var(--text);text-decoration:none;font-size:1.2rem;transition:all .3s ease;flex-shrink:0}.social-link:hover{background:var(--primary);transform:translateY(-5px);color:#fff}@media(min-width:1440px){.container{max-width:1400px}.hero h1{font-size:4rem}.section-title{font-size:2.8rem}section{padding:7rem 2rem 6rem}}@media(max-width:1200px){.hero h1{font-size:3.2rem}.hero-image{width:300px;height:300px;right:5%}.portfolio-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media(max-width:992px){.hero h1{font-size:2.8rem}.hero-image{width:250px;height:250px}.contact-container{grid-template-columns:1fr;gap:3rem}.section-title{font-size:2.2rem}.portfolio-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media(max-width:768px){.nav-links{display:none}.hero{flex-direction:column;text-align:center;padding-top:100px;padding-bottom:3rem}.hero-image{position:relative;right:auto;top:auto;transform:none;margin:2rem auto;width:200px;height:200px}.hero h1{font-size:2.2rem}.hero p{font-size:1rem}.section-title{font-size:2rem}.section-subtitle{font-size:1rem}.service-card{padding:1.5rem}.portfolio-grid{grid-template-columns:1fr}.portfolio-preview{width:100%;transform:none}.contact-container{grid-template-columns:1fr;gap:2rem}.header-controls{gap:8px}.theme-btn,.lang-btn{width:40px;height:40px;font-size:.9rem}.hero:before,.services:before,.portfolio:after,.contact:before,.skills:before{display:none}}@media(max-width:576px){.hero{padding-top:80px}.hero h1{font-size:1.8rem}.hero-btns{flex-direction:column;align-items:center}.hero-btns .btn{width:100%;max-width:250px}.section-title{font-size:1.8rem}.service-card{padding:1rem}.header-controls{gap:6px}.theme-btn,.lang-btn{width:38px;height:38px;font-size:.85rem}.logo.handwrite{font-size:1.4rem}section{padding:5rem 1rem 4rem}}@media(max-width:480px){section{padding:4rem 1rem 3rem}.hero{padding:80px 1rem 2rem}.hero h1{font-size:1.6rem}.hero p{font-size:.9rem}.section-title{font-size:1.6rem}.section-subtitle{font-size:.9rem}.header-controls{gap:5px}.theme-btn,.lang-btn{width:36px;height:36px;font-size:.8rem}.logo.handwrite{font-size:1.3rem}}@media(max-width:360px){.hero h1{font-size:1.4rem}.header-controls{gap:4px}.theme-btn,.lang-btn{width:32px;height:32px;font-size:.75rem}.logo.handwrite{font-size:1.2rem}}@media(max-width:800px)and (max-height:500px)and (orientation:landscape){header{padding:.5rem 1rem}.hero{padding-top:70px;min-height:auto}.header-controls{gap:10px}.theme-btn,.lang-btn{width:36px;height:36px}}@media(hover:none)and (pointer:coarse){.service-card:hover,.portfolio-item:hover,.portfolio-item:hover img{transform:none}.portfolio-overlay{transform:translateY(0);background:linear-gradient(to top,#000000e6,#000000b3,#00000080)}.btn:hover,.social-link:hover{transform:none}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6,.section-title{font-family:Inter,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:600;letter-spacing:.01em;line-height:1.15}body,p,.section-subtitle,.form-control,.btn,.portfolio-overlay,.service-desc{font-family:Inter,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;line-height:1.7;color:var(--text)}.btn,.btn-primary,.btn-open-site{font-family:Inter,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:500;letter-spacing:.02em;font-size:1.08rem}.skills-section-visible .skill-progress{opacity:1}.skills{position:relative;overflow:hidden}.skills:before{content:"";position:absolute;top:-10%;right:-10%;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,#3a0ca31a,#3a0ca300 70%);z-index:-1}
