* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    opacity: 0.95;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2c3e50;
}

.btn-schedule {
    background: linear-gradient(135deg, #ba4270, #d63384);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(186, 66, 112, 0.3);
}

.btn-schedule:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 66, 112, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, rgba(186, 66, 112, 0.1), rgba(214, 51, 132, 0.1));
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-text p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-input {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: #ba4270;
}

.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
    width: 250px;
    height: 500px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone:hover {
    transform: rotate(0deg) scale(1.05);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.notification {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    border-left: 4px solid #ba4270;
}

/* Partners Section */
.partners {
    background: #2c3e50;
    color: white;
    padding: 80px 0;
}

.partners-content {
    text-align: center;
}

.partners h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.partners p {
    color: #b8c5d1;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.partner-logo {
    color: #b8c5d1;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    color: white;
    transform: scale(1.1);
}

.btn-about {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-about:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

/* Implementation Section */
.implementation {
    padding: 100px 0;
    background: white;
}

.impl-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.impl-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.impl-text p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* UI Section */
.ui-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
}

.ui-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.ui-phones {
    display: flex;
    justify-content: center;
}

.phone-content > img {
  width: 500px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #ba4270, #d63384);
    transform: scale(1.1) rotate(360deg);
}

.feature-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 6px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: #b8c5d1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background-color: #ba4270;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .impl-content,
    .ui-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-input {
        flex-direction: column;
    }

    .ui-phones {
        flex-direction: column;
        align-items: center;
    }

    .phone {
        width: 200px;
        height: 400px;
    }

    .ui-phone {
        width: 150px;
        height: 300px;
    }

    .code-editor {
        font-size: 12px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .partners h2,
    .impl-text h2,
    .cta h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .partners,
    .implementation,
    .ui-section,
    .features {
        padding: 60px 0;
    }

    .feature-card {
        padding: 30px 15px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .partner-logo {
        font-size: 1rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animation Classes */
.hero-text {
    animation: slideInLeft 1s ease;
}

.phone-mockup {
    animation: slideInRight 1s ease 0.3s both;
}

.impl-text {
    animation: fadeInUp 1s ease;
}

.code-editor {
    animation: slideInLeft 1s ease 0.2s both;
}

.ui-phones {
    animation: fadeInUp 1s ease 0.3s both;
}

.feature-card {
    animation: fadeInUp 1s ease;
}

.feature-card:nth-child(2) { 
    animation-delay: 0.2s; 
}

.feature-card:nth-child(3) { 
    animation-delay: 0.4s; 
}

.partners-grid .partner-logo {
    animation: fadeInUp 0.8s ease;
}

.partners-grid .partner-logo:nth-child(2) { animation-delay: 0.1s; }
.partners-grid .partner-logo:nth-child(3) { animation-delay: 0.2s; }
.partners-grid .partner-logo:nth-child(4) { animation-delay: 0.3s; }
.partners-grid .partner-logo:nth-child(5) { animation-delay: 0.4s; }
.partners-grid .partner-logo:nth-child(6) { animation-delay: 0.5s; }

/* Additional Hover Effects */
.notification:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.code-editor:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: linear-gradient(45deg, rgba(186, 66, 112, 0.05), rgba(214, 51, 132, 0.05));
    border-radius: 50%;
    z-index: 1;
}

/* Loading Animation for Demo */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(186, 66, 112, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(186, 66, 112, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(186, 66, 112, 0);
    }
}

.btn-schedule:active {
    animation: pulse 0.6s;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn-schedule:focus,
.email-input:focus,
.nav-links a:focus,
.footer-nav a:focus {
    outline: 2px solid #ba4270;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-text p,
    .partners p,
    .impl-text p,
    .feature-card p {
        color: #333;
    }
    
    .partner-logo {
        color: #ccc;
    }
    
    .footer-nav a {
        color: #ddd;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}