:root {
    /* Color Palette */
    --bg-white: #ffffff;
    --bg-gray: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-blue: #0071e3;
    --accent-blue-hover: #0077ed;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --border-color: rgba(0, 0, 0, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Typography Utility */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-blue {
    color: var(--accent-blue);
}

.tagline {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

/* Buttons */
.btn-pill {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: scale(1.02);
}

.btn-secondary {
    background-color: var(--bg-gray);
    color: var(--text-primary);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: #e8e8ed;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-vor {
    display: inline-block;
    transform: translateY(-2px);
}

.logo-divider {
    color: var(--text-secondary);
    opacity: 0.5;
    font-weight: 300;
}

.logo-tech {
    display: inline-block;
    color: var(--accent-blue);
    transform: translateY(2px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-nav) {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.hero-visual {
    margin-top: 3rem;
    position: relative;
    max-width: 850px; /* Reduced from 1000px */
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.hero-img {
    width: 100%;
    max-height: 480px; /* Adjusted slightly for the new vortex composition */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
    animation: vortexPulse 8s ease-in-out infinite;
}

@keyframes vortexPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.95; }
}

.hero-img:hover {
    transform: translateY(-10px);
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 113, 227, 0.1);
}

.service-card .icon {
    width: 48px;
    height: 48px;
    background: #f0f7ff;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.metrics {
    display: flex;
    gap: 3rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-item .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background-color: var(--bg-gray);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
    background: #fbfbfd;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.2s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h4, 
.footer-contact h4 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.fade-in-up {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .contact-box { padding: 2rem; }
}
