/* Custom Styles for SolveMint */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #34D399 0%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #34D399 0%, #22D3EE 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(52, 211, 153, 0.3);
}

.btn-secondary {
    background: white;
    color: #0F172A;
    border: 2px solid #34D399;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #34D399;
    color: white;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Header Scrolled */
.header-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Card Icons from beta1 */
.card-icon-wrapper {
    display: flex;
    justify-content: flex-start;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s;
}

.card-icon:hover {
    transform: scale(1.1);
}

.mint-cyan { background: linear-gradient(135deg, #34D399, #22D3EE); }
.orange-mint { background: linear-gradient(135deg, #FB923C, #34D399); }
.cyan-mint { background: linear-gradient(135deg, #22D3EE, #34D399); }
.mint-orange { background: linear-gradient(135deg, #34D399, #FB923C); }
.cyan-orange { background: linear-gradient(135deg, #22D3EE, #FB923C); }
.orange-cyan { background: linear-gradient(135deg, #FB923C, #22D3EE); }

/* Service Icons from beta1 */
.service-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34D399, #22D3EE);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(90deg) scale(1.2);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes rotateReverse {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-90deg) scale(1.3);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Apply animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.hero-card {
    animation: float 4s ease-in-out infinite;
}

.animated-circle-1 {
    animation: rotate 20s linear infinite;
}

.animated-circle-2 {
    animation: rotateReverse 15s linear infinite;
}

/* Problem Cards - Staggered Animation */
.problem-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }
.problem-card:nth-child(5) { animation-delay: 0.5s; }
.problem-card:nth-child(6) { animation-delay: 0.6s; }

/* Service Cards - Staggered Animation */
.service-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.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; }

/* Project Card */
.project-card {
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

/* Loading Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.form-message.success {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid #34D399;
    color: #10B981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #EF4444;
    color: #DC2626;
}

/* Smooth Transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease;
}

button, a {
    cursor: pointer;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease;
    display: block;
}

#mobile-menu.hidden {
    display: none !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #34D399 0%, #22D3EE 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #10B981 0%, #06B6D4 100%);
}

/* Contact Methods from beta1 */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--slate-dark);
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateX(5px);
}

.contact-method.whatsapp:hover {
    border-color: var(--mint);
    background: rgba(52, 211, 153, 0.05);
}

.contact-method.telegram:hover {
    border-color: var(--cyan-brand);
    background: rgba(34, 211, 238, 0.05);
}

.contact-method.instagram:hover {
    border-color: var(--orange-accent);
    background: rgba(251, 146, 60, 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-card {
        animation: none;
        max-width: 220px !important;
        margin: 0 auto 1.5rem auto !important;
        padding: 0.75rem !important;
    }
    
    .hero-card .bg-white\/90 {
        padding: 0.75rem !important;
    }
    
    .hero-card .grid {
        gap: 0.5rem !important;
    }
    
    .animated-circle-1,
    .animated-circle-2 {
        display: none;
    }

    .card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

