/* DF-LP build: 2025-09-20 v3 */
/* DreamFace AI - Soft & Elegant Style */

/* Font Configuration */
body {
    font-family: 'Noto Sans JP', sans-serif;
}

.font-serif {
    font-family: 'Noto Serif JP', serif;
}

/* Hero Section */
.hero-section {
    background: 
        radial-gradient(ellipse at top left, rgba(190, 24, 93, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(236, 72, 153, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(244, 114, 182, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(190, 24, 93, 0.7) 0%, transparent 50%),
        linear-gradient(135deg, 
            #f8fafc 0%,    /* very light */
            #fce7f3 20%,   /* light pink */
            #f8c8d8 40%,   /* soft pink */
            #f0abcc 60%,    /* medium pink */
            #e879b9 80%,    /* rose pink */
            #d946ef 100%    /* purple pink */
        );
    position: relative;
    min-height: 100vh;
}

.hero-background {
    background: 
        radial-gradient(ellipse 400px 300px at 20% 30%, rgba(244, 114, 182, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 500px 400px at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 300px 500px at 40% 80%, rgba(217, 70, 239, 0.1) 0%, transparent 80%),
        radial-gradient(ellipse 600px 200px at 60% 20%, rgba(248, 113, 113, 0.08) 0%, transparent 90%);
    animation: elegantFloat 25s ease-in-out infinite alternate;
}

@keyframes elegantFloat {
    0% {
        transform: scale(1) rotate(0deg) translateY(0px);
        opacity: 1;
    }
    25% {
        transform: scale(1.02) rotate(0.5deg) translateY(-5px);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.05) rotate(0deg) translateY(-10px);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.02) rotate(-0.5deg) translateY(-5px);
        opacity: 0.95;
    }
    100% {
        transform: scale(1) rotate(0deg) translateY(0px);
        opacity: 1;
    }
}

/* Hero Title */
.hero-title {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Steps Container */
.steps-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-top: 0.5rem;
}

@media (min-width: 1024px) {
    .steps-container {
        margin-top: 0;
    }
}

@media (max-width: 1023px) {
    .steps-container {
        padding: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }
}

.step-item {
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.step-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.25rem;
    line-height: 1;
}

.step-text {
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.step-arrow {
    margin-left: 20px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Main Image */
.main-image {
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.main-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-overlay {
    pointer-events: none;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.form-input {
    transition: all 0.3s ease;
    font-size: 1rem;
}

@media (max-width: 1023px) {
  .form-input {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .cta-button {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.2);
}

.form-input::placeholder {
    font-weight: 300;
}

/* CTA Buttons */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

/* Form bottom spacing */
.form-bottom-spacing {
    height: 3rem;
    margin-bottom: 2rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

/* Quick Contact Section */
.quick-contact-section {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #f9a8d4 100%);
}

.contact-form-btn, .email-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.contact-form-btn:hover, .email-btn:hover {
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 72, 153, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.15);
}

.feature-icon {
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

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

/* Modal Styling */
.modal {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    animation: modalSlideIn 0.4s ease-out;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(236, 72, 153, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close:hover {
    color: #ec4899;
    transform: scale(1.1);
}

/* Form Inputs in Modal */
.modal input, .modal textarea {
    transition: all 0.3s ease;
    border-color: #e5e7eb;
}

.modal input:focus, .modal textarea:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
    transform: translateY(-1px);
}

/* Success/Error Messages */
.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    animation: slideInUp 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.error-message {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    animation: shake 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 70%, 90% {
        transform: translateX(-10px);
    }
    40%, 60% {
        transform: translateX(10px);
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #ffffff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #db2777, #ec4899);
}

/* Soft Glow Effects */
.glow-pink {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

/* Floating Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

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

/* Subtle Pulse Animation */
.pulse-soft {
    animation: pulseGentle 4s ease-in-out infinite;
}

@keyframes pulseGentle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Focus States */
button:focus, input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.3);
}

/* Hover Transitions */
.smooth-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smooth-hover:hover {
    transform: translateY(-2px);
}

/* Text Gradients */
.text-gradient-pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border Gradients */
.border-gradient-pink {
    border: 2px solid;
    border-image: linear-gradient(135deg, #ec4899, #f472b6) 1;
    border-radius: 1rem;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        animation: none;
    }
    
    .floating, .pulse-soft {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .glass-card {
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid #ec4899;
    }
    
    .cta-button, .contact-form-btn, .email-btn {
        border: 2px solid #ffffff;
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .hero-background, .modal {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* === minimal two-column layout for desktop (non-invasive) === */
.lp-two-col { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) {
  .lp-two-col { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.lp-col-left > * + * { margin-top: 1rem; }
.lp-col-right > * + * { margin-top: 1.5rem; }
.lp-col-left img { max-width: 100%; height: auto; display: block; }


/* === LP 2-column layout fix (scoped, non-destructive) === */
.lp-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}
@media (min-width: 1024px) {
  .lp-two-col {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  }
}
.lp-col-left, .lp-col-right {
  min-width: 0;
  text-align: left !important; /* override any .text-center around */
}
.lp-col-left > * + * { margin-top: clamp(10px, 2vw, 20px); }
.lp-col-right > * + * { margin-top: clamp(12px, 2vw, 24px); }

/* Image safety */
.lp-col-left img, .lp-col-left picture img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Steps + form stacking in right column */
.lp-col-right .steps-container {
  margin-bottom: clamp(12px, 2vw, 20px);
  width: 100%;
}
.lp-col-right form {
  width: 100%;
  max-width: 100%;
}

/* Prevent unexpected floats or width anomalies inside columns */
.lp-col-left *, .lp-col-right * {
  float: none !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure headings spacing and form heading correctness */
.lp-col-right h2, .lp-col-right h3 {
  margin-top: 0;
}



/* === layout hardening v4 === */
.lp-two-col{
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1024px){
  .lp-two-col{ grid-template-columns: minmax(0,1fr) 520px; }
  .lp-col-right{ padding-left: 8px; }
}
/* keep text aligned left even if parent has text-center */
.hero-content, .lp-two-col, .lp-col-left, .lp-col-right{ text-align: left !important; }

/* Right column content should not overflow */
.lp-col-right .steps-container,
.lp-col-right form{ width: 100%; max-width: 100%; }

/* Prevent unexpected floats/inline-blocks from affecting grid */
.lp-col-left *, .lp-col-right *{
  float: none !important;
  display: revert-layer;
  max-width: 100%;
  box-sizing: border-box;
}

/* Form title spacing */
.form-title{ margin: 0 0 12px 0; font-size: 1.25rem; font-weight: 700; color: #fff; }


/* === LP layout hardening v5 (flex-based) === */
.lp-two-col{ 
  display:flex; 
  flex-direction:column; 
  gap:clamp(4px,0.75vw,8px); 
  align-items:flex-start; 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
@media (min-width:1024px){
  .lp-two-col{ 
    flex-direction:row; 
    align-items: flex-start;
    padding: 0;
  }
  .lp-col-left{ 
    flex:1 1 0; 
    min-width:0; 
    display: flex;
    flex-direction: column;
  }
  .lp-col-right{ 
    flex:0 0 520px; 
    max-width:520px; 
    width:100%; 
  }
}
.lp-col-left, .lp-col-right{ text-align:left !important; }
.lp-col-left img, .lp-col-left picture img{ max-width:100%; height:auto; display:block; }

/* Hero header section */
.hero-header {
  padding-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-header {
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Hero left content layout - image only */
.hero-left-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding-top: 0;
}

/* Tablet display - center alignment */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-left-content {
    align-items: center;
    text-align: center;
    padding-top: 0;
  }
  
  .image-container {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-left-content {
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
  }
}

/* Ensure proper spacing and alignment */
.lp-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Container adjustments for mobile */
@media (max-width: 1023px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Stop right column from overlapping */
.lp-two-col .steps-container,
.lp-two-col form{
  position:static !important;
  width:100% !important;
  max-width:100% !important;
  margin-inline:0 !important;
}

@media (max-width: 1023px) {
  .lp-two-col {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .lp-col-right {
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .lp-col-right .steps-container {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .lp-col-right form {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .lp-col-right h2 {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Neutralize floats/inline weirdness within the columns only */
.lp-two-col .lp-col-left *, .lp-two-col .lp-col-right *{
  float:none !important;
  max-width:100%;
  box-sizing:border-box;
}

/* Form title spacing */
.form-title{ margin:0 0 12px; font-size:1.2rem; font-weight:700; }
